Support horizontal line

Author: jkopczynCreated Jul 26, 2020Updated Jul 26, 2020

Use case where this came up: I have a process which has mainly synchronous tasks but some asynchronous ones which outlive the parent task. I would like a large, clear marker of where the parent task ends. This could also be done by making the vertical line for that task end higher on the page, but I believe that would be harder to specify cleanly, less clear, and less broadly applicable.

Suggested syntax:

note across page: [optional message]

Or in terms of the grammar:

note_statement
  ...
  | 'note' 'across_page' message    { <???> }
  ;

I'm not sure what the easiest way to implement this on the drawing side is, nor am I opinionated on it; it could be a line with ARRROWTYPE.NONE but given that the line also wouldn't inherently be from or to any actor I'm not sure sharing code there makes sense.

Source: bramp/js-sequence-diagrams