Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_graphml-0.1b5.tar.gz (1.1 MB view details)

Uploaded Source

File details

Details for the file sphinx_graphml-0.1b5.tar.gz.

File metadata

  • Download URL: sphinx_graphml-0.1b5.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for sphinx_graphml-0.1b5.tar.gz
Algorithm Hash digest
SHA256 f3e29e13b251ed4be339c3da972c16c34437aa0e78a7c1989ab18bf6ef96312a
MD5 4b3acd844d984b9dbc98b312b5129968
BLAKE2b-256 2f91a5a2fb0442a1a1af12582366fd1b8abd542e2d6d08c8411ed4a0d82bc189

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page