bdunogier/ez-js-sequence-diagram

Custom XML text tag to draw simple UML sequence diagrams

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 1

Open Issues: 0

Type:ezpublish-legacy-extension

v0.1.2 2014-11-23 19:53 UTC

This package is auto-updated.

Last update: 2024-03-19 09:50:55 UTC


README

This extension offers a custom XML text tag, sequence_diagram, that converts simple text to an UML sequence diagram in SVG.

Sequence diagram in custom tag

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.