1/** js sequence diagrams 2 * https://bramp.github.io/js-sequence-diagrams/ 3 * (c) 2012-2017 Andrew Brampton (bramp.net) 4 * Simplified BSD license. 5 * 6 * EBNF version of the grammar for diagraming purposes only 7 * Paste this into http://www.bottlecaps.de/rr/ui to generate the diagram 8 */ 9document ::= statement* 10 11statement ::= 12 ( 'title' ':' message 13 | 'participant' actor ('as' alias)? 14 | 'note' ( 15 ( 'left of' | 'right of') actor 16 | 'over' (actor | actor ',' actor) 17 ) ':' message 18 | actor ( '-' | '--' ) ( '>' | '>>' )? actor ':' message 19 ) 20 21/* 22message ::= [^\n]+ 23 24actor ::= [^\->:\n,]+ 25*/ 26