davidje13 / SequenceDiagram

Javascript tool for generating sequence diagrams from code
https://sequence.davidje13.com/
GNU Lesser General Public License v3.0
123 stars 39 forks source link

Dividers #39

Closed davidje13 closed 6 years ago

davidje13 commented 6 years ago

Seen on http://plantuml.com/sequence-diagram,

Add support for full-width horizontal dividers with optional messages;

A -> B
---
A -> B
--- divide message
B -> A

The same component could also be used for delays (represented by dotted agent lines):

A -> B
...
A -> B
... delay message
B -> A

And gaps of arbitrary size:

A -> B
gap 10
A -> B
gap 15: gap message
B -> A
davidje13 commented 6 years ago

Consider how ... will interact with proposed syntax in #41 - which should change?

davidje13 commented 6 years ago

This has been implemented with a new divider keyword to keep the --- and ... syntax options available for other features. Lines, gaps, delays and tears are all supported, as well as configurable heights.