GraphML charts embedding extension for Sphinx
A GraphML charts embedding extension for Sphinx.
This extensions simply uses the GraphMLViewer tool provided by yWorks. Admittedly, it is based on Flash and will no longer be supported from the end of 2020, but this is still the easiest and best option to display a .graphml chart created with yEd in a browser. Hopefully by the end of 2020 there will be adequate svg-based solutions.
As simple as it can be with pip:
pip install sphinx-graphml
Add the extension name to your conf.py:
extensions = [ ... 'sphinx_graphml', ... ]
In your documentation:
.. graphml:: rel/path/to/my_graph.graphml :height: 500px
(the default height is 300px)
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.