sphinx-contrib / gravizo

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%