Skip to content

Conversation

@AlkisPlas
Copy link

This provides a first approach to the declarative specification and drawing of UML state diagrams.

@dspinellis
Copy link
Owner

Interesting. Please add examples and documentation (under doc).

@dspinellis
Copy link
Owner

  • Regarding the interface please make it as follows

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

  • Use getopt to parse the arguments
  • The customary dot extension is .dot, but you shouldn't be using it in the code as an implicit extension. Use whatever the user provides.

@AlkisPlas
Copy link
Author

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.

@dspinellis
Copy link
Owner

argparse is fine.

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.

2 participants