/adia

ASCII diagram language & generator for UML sequence diagram.

Primary LanguagePythonMIT LicenseMIT

PyPI Build Coverage Status Python Documentation

ADia

diagram: Foo
sequence:
foo -> bar: Hello World!

Output:

 DIAGRAM: Foo                             

 +-----+             +-----+
 | foo |             | bar |
 +-----+             +-----+
    |                   |
    |~~~Hello World!~~~>|
    |                   |
    |<------------------|
    |                   |
 +-----+             +-----+
 | foo |             | bar |
 +-----+             +-----+

ADia is a language specially designed to render ASCII diagrams.

Currently, only sequence diagrams are supported, but the roadmap is to support two more types of diagrams: fork #42 and class #41).

Get Closer!

The ADia can also run flawlessly inside the browsers using the awesome project: Brython.

The https://github.com/pylover/adia-live is a good example of how to use it inside the Javascript. In addition, please read the Javascript API section of the documentation.