[WIP] Add a generated model graph #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A model graph generated from code with graphviz. View it at:
https://github.com/uablrek/MyWorld3/tree/graphviz
Bring up the image in a new tab in
Chrome. Scale and move around as instructed. Hoover over some nodes to see thedetailsfield 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:
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!