ToposInstitute / CatColab

A collaborative environment for formal, interoperable, conceptual modeling
https://catcolab.org
MIT License
11 stars 4 forks source link

Visualize stock-flow diagrams #97

Closed epatters closed 1 month ago

epatters commented 1 month ago

This will require a custom visualization. A possible plan is:

  1. Layout the graph of stocks and flows using Graphviz and render using SVG, as usual
  2. Calculate the mid-points of the flows using getPointAtLength and related functions
  3. Add the links from stocks to flow midpoints as additional, custom SVG