/gravizo

Embed PlantUML, DOT, etc. diagrams in your documentation using Gravizo.

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

sphinxcontrib-gravizo

https://travis-ci.org/sphinx-contrib/gravizo.svg?branch=master

Embed PlantUML, DOT, etc. diagrams in your documentation using Gravizo.

Examples

Inline graph, show as png:

.. gravizo:: png
    @startuml
    Alice -> Bob: Authentication Request
    Bob --> Alice: Authentication Response

    Alice -> Bob: Another authentication Request
    Alice <-- Bob: Another authentication Response
    @enduml

Load from a file, show as svg:

.. gravizo:: ./path/to/graph.puml svg

Links