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

Replace pygraphviz with graphviz #325

Closed
aleneum opened this issue Nov 15, 2018 · 1 comment
Closed

Replace pygraphviz with graphviz #325

aleneum opened this issue Nov 15, 2018 · 1 comment

Comments

@aleneum
Copy link
Member

aleneum commented Nov 15, 2018

Since there are some issues with pygraphviz which makes the graph feature more or less unusable on Windows, I implemented an alternative based on graphviz. graphviz requires a Graphviz installation available in PATH. Currently, it is part of the dev-graphviz branch and I consider merging it into next-release for 0.7.0. Feel free to comment whether you consider that a valid option or not.

@aleneum
Copy link
Member Author

aleneum commented Aug 16, 2019

In 0.7.0 we will test the parallel support of graphviz AND pygraphviz. As both libraries work differently, GraphMachine will not support editing Graph objects directly any longer. The Graph interface should be equivalent but is also kept simple. More sophisticated customization has to be done on AGraph or DiGraph objects directly (Graph.fsm_graph). However, the look and feel of graphs can be altered via GraphMachine.(hierarchical)_machine_attributes and GraphMachine.style_attributes and does not require fiddling with Graph attributes.

@aleneum aleneum closed this as completed Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant