This repository was archived by the owner on Oct 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Object oriented model #18
Copy link
Copy link
Open
Labels
Description
We should probably move to an OO model soon - There are too many parameters which are just relayed by mian() to other functions. Here's a braindump model, just modify (or restart, if you really don't like it) in subsequent comments:
- Analysis
showfunction to display the GUI__str__function which just prints the data (perhaps as JSON for better portability)savefunction to save the graph as a file
- Blocks
lookupfunction which corresponds tolookup_block_type()__str__function which corresponds to--listoption/print_block_types()- Reads a configuration file instead of blocks.py. The configuration file should have a group per hex code, a canonical name (from the wiki), a list of synonyms (i.e., obsolete names) for lookup, and links to the wiki for reference.
Reactions are currently unavailable