davidje13 / SequenceDiagram

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

Tear does not mask out asynchronous connections #44

Closed davidje13 closed 6 years ago

davidje13 commented 6 years ago

The divider tear command is supposed to separate the entire diagram into 2 parts, with void space in between (except for an optional message), but currently only masks out agent lines.

The divider should also mask out asynchronous connection lines & labels, and blocks/groups (if/repeat/ref)

davidje13 commented 6 years ago

The problematic elements:

begin A, B

if
begin reference over A: C as C
B -> ...self
A -> ...lin

divider tear

...lin -> B: linear
...self -> B: self
end C
end

demonstration