Skip to main content

JSON Schema renderer 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:

.. graph:: 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.1b1.tar.gz (4.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: sphinx_graphml-0.1b1.tar.gz
  • Upload date:
  • Size: 4.1 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

Hashes for sphinx_graphml-0.1b1.tar.gz
Algorithm Hash digest
SHA256 69d59f5ad776881e571e3ee96d21abe4235cf833f1811a2a2bdeaf9a74f49410
MD5 3b2d8fc9e01befbdb4bb49aeb29fdf6b
BLAKE2b-256 9543ba7d52976762b8bde779c71f510570c1d813e3557afe69b3c4605c626c5a

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