pygraphiz appears to be deprecated?
See original GitHub issuepygraphviz
looks to be no longer maintained. Would it be worth migrating eralchemy
to use graphviz
?
#Rendering from dot file using graphviz
from graphviz import Source
Source.from_file(dotfilename)
The format
parameter to Source
defines the output format and the engine
parameter the layout engine (dot, neato etc).
The only place pygraphviz
appears to be used is in eralchemy/eralchemy/main.py in the function:
def intermediary_to_schema(tables, relationships, output):
""" Transforms and save the intermediary representation to the file chosen. """
dot_file = _intermediary_to_dot(tables, relationships)
graph = AGraph()
graph = graph.from_string(dot_file)
extension = output.split('.')[-1]
graph.draw(path=output, prog='dot', format=extension)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Is gvedit depreciated? - Help - Graphviz
gvedit is not deprecated, but it's not present in any modern Windows release, only in version 2.38 avaiable at https://www2.graphviz.org/Archive ...
Read more >CHANGELOG.md · main · graphviz / graphviz - GitLab
This was a regression in Graphviz 7.0.2, that intentionally removed these but did not account ... svg output displays TITLE of %3 if...
Read more >Graphviz's executables are not found (Python 3.4)
Fixed by running sudo apt-get install graphviz in addition to the pip install I ... because they all seem to be the same...
Read more >2.8. Interpreting the Graphviz output - ClusterLabs
An example transition graph as represented by Graphviz. In the above example, it appears that a new node, pcmk-2 , has come online...
Read more >media-gfx/graphviz-2.40.1-r1 depends on deprecated Qt4 (was
Hmm, indeed. It looks I was wrong, sorry. It seems to be downstream patch. Comment 3 Andreas Sturmlechner gentoo-dev ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same problem here, cannot install eralchemy due to the pygraphviz package
If someone is willing to migrate it, I’m not against 😃