bdunogier / ez-js-sequence-diagram
Custom XML text tag to draw simple UML sequence diagrams
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 1
Open Issues: 0
Type:ezpublish-legacy-extension
This package is auto-updated.
Last update: 2024-10-19 10:56:24 UTC
README
This extension offers a custom XML text tag, sequence_diagram, that converts simple text to an UML sequence diagram in SVG.
It is based on bramp/js-sequence-diagrams.
Installation
Run composer require bdunogier/js-sequence-diagram
.
Enable extension in `settings/override/site.ini.append.php:
ActiveExtensions[]=ezjssequencediagram
Usage
In an XML text block, add a custom tag of type "sequence_diagram". The theme attribute can be set to either "hand" (for a hand drawn diagram) or "simple".
Syntax
Andrew->China: Says Hello
Note right of China: China thinks\nabout it
China-->Andrew: How are you?
Andrew->>China: I am good thanks!
See http://bramp.github.io/js-sequence-diagrams for more details.