Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation for automat-visualize #42

Open
glyph opened this issue Jan 24, 2017 · 2 comments
Open

documentation for automat-visualize #42

glyph opened this issue Jan 24, 2017 · 2 comments

Comments

@glyph
Copy link
Owner

glyph commented Jan 24, 2017

automat-visualize really needs documentation to explain how to use it.

@D3f0
Copy link

D3f0 commented Jul 10, 2017

Just hear about the library in https://www.podcastinit.com/automat-state-machines-with-glyph-lefkowitz-episode-116/ and was expecting to get the visual output, I guess I'll have to take a look at the source code for the time being.

@glyph
Copy link
Owner Author

glyph commented Jul 13, 2017

For a quick test, install http://graphviz.org (on macOS, brew install graphviz, on Ubuntu, apt install graphviz, on Windows, no idea), pip install automat[visualize], then, automat-visualize your.python.module.name. your.python.module.name is not a filename; it must be a name that import can find. Finally, open up the file .automat_visualize/your.python.module.name.YourClass.machine.dot.png .

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

No branches or pull requests

2 participants