MCPcopy Index your code
hub / github.com/UofS-CEPHIL/modelcollab

github.com/UofS-CEPHIL/modelcollab @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,324 symbols 2,740 edges 158 files 10 documented · 1% updated 20mo ago★ 383 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ModelCollab

About

ModelCollab is a web-based collaborative modelling application with the front end in Typescript, React, and Firebase, and modelling logic handled in Julia through StockFlow.jl.

ModelCollab is written by Eric Redekopp and Long Pham of the University of Saskatchewan CEPHIL lab with support from Dr. Nathaniel Osgood. StockFlow.jl is written by Xiaoyan Li and Nicholas Meadows of CEPHIL who have also worked closely with this project.

Design documentation and build instructions are available in the wiki of this Github repository.

Screenshot from 2022-11-27 16-55-36

Extension points exported contracts — how you extend this code

Props (Interface)
(no doc)
webui/src/main/ts/App.tsx
State (Interface)
(no doc)
webui/src/main/ts/App.tsx
ButtonPropsSizeOverrides (Interface)
(no doc)
webui/src/main/ts/Themes.ts
HandleTheme (Interface)
(no doc)
webui/src/main/ts/Themes.ts
HandleThemes (Interface)
(no doc)
webui/src/main/ts/Themes.ts

Core symbols most depended-on inside this repo

getDb
called by 49
webui/src/main/ts/data/FirebaseManager.ts
getType
called by 41
webui/src/main/ts/data/components/FirebaseFlow.ts
createNew
called by 34
webui/src/main/ts/data/components/FirebaseFlow.ts
withData
called by 33
webui/src/main/ts/data/components/FirebaseFlow.ts
canWriteNewUser
called by 26
webui/src/test/ts/database/rtdbWriteSuccesses.ts
updateComponent
called by 21
webui/src/main/ts/view/maxgraph/presentation/ComponentPresentation.ts
makeModelPath
called by 20
webui/src/main/ts/data/RTDBSchema.ts
getModelListForType
called by 20
webui/src/main/ts/data/FirebaseModelsList.ts

Shape

Method 611
Function 402
Class 228
Interface 75
Enum 8

Languages

TypeScript100%
Python1%

Modules by API surface

webui/src/main/ts/data/FirebaseDataModel.ts55 symbols
webui/src/main/ts/data/RTDBSchema.ts50 symbols
webui/src/test/ts/database/rtdbWriteFailures.ts49 symbols
webui/src/main/ts/view/maxgraph/MCGraph.ts45 symbols
webui/src/test/ts/database/rtdbReadFailures.ts31 symbols
webui/src/test/ts/database/rtdbWriteSuccesses.ts30 symbols
webui/src/test/ts/database/rtdbReadSuccesses.ts28 symbols
webui/src/main/ts/view/screens/canvas/stockflow/toolbar/EditScenariosSidebarContent.tsx28 symbols
webui/src/main/ts/view/screens/canvas/stockflow/StockFlowScreen.tsx27 symbols
webui/src/main/ts/view/screens/canvas/toolbar/CanvasToolbar.tsx24 symbols
webui/src/main/ts/view/screens/canvas/causalloop/graph/behaviour/CausalLoopHotkeyBehaviour.ts21 symbols
webui/src/main/ts/view/modalbox/ModelPermissionsBox.tsx19 symbols

For agents

$ claude mcp add modelcollab \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact