Skip to content

Conversation

@uablrek
Copy link

@uablrek uablrek commented Sep 17, 2024

A model graph generated from code with graphviz. View it at:

https://github.com/uablrek/MyWorld3

Bring up the image in a new tab in Chrome. Scale and move around as instructed. Hoover over some nodes to see the details field as a tooltip.

This is a Work In Progress, more a proof-of-concept actually. The layout is quite horrible, but I think that an improved graph can be very instructive. Some ideas for improvements:

  • Better tooltip's
  • Use graphviz sub-graphs for the different categories (population, etc.)
  • Dash negative edges (perhaps labels and/or tooltip's for edges)
  • Use graph attributes to improve the layout

A reason for this early PR is that I would appreciate some help. Ideas and/or contributions are welcome. To copy text from the pdf to "details" is a daunting task (and dead boring), and I am no graphviz expert. The initial code for generation is ~40loc, so at least to get started is simple.

@Juji29 I have tried a few world3 models, and IMO yours is the best. To implement this complex model in ~2000loc, basically without dependencies, is impressive! I really feel I can understand all of it. Thanks so much!

@uablrek
Copy link
Author

uablrek commented Sep 19, 2024

Switch branch and moved to #3

@uablrek uablrek closed this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant