Open AlkisPlas opened 8 years ago
Interesting. Please add examples and documentation (under doc).
stategraph [-o output_file] [-v] [input file]
If no files are given, it acts as a filter from stdin to stdout -v is used for view
.dot
, but you shouldn't be using it in the code as an implicit extension. Use whatever the user provides.I have already changed the interface that way but I did it using the argparse module. Would you like me to use getopt instead? The result will be the same.
argparse is fine.
This provides a first approach to the declarative specification and drawing of UML state diagrams.