GraphML charts embedding extension for Sphinx
Project description
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.
Installation
As simple as it can be with pip:
pip install sphinx-graphml
Usage
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)
Issues
If you load your documentation from a file (and not from a web server) using a flash player version higher than 23, you won’t see the charts. See this article and this other one for workarounds.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sphinx_graphml-0.1b4.tar.gz
.
File metadata
- Download URL: sphinx_graphml-0.1b4.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59c5a11cb4311db03e02e6604eac3850c1f78d36dc91dfa467cc420e508649a8 |
|
MD5 | 8cd2b97246c4e0c5d9701de914fd933b |
|
BLAKE2b-256 | 8f68c11bcead46ca7176c651e15b570babdf8684c284261a227ee62d445c2072 |