js-sequence-diagrams
js-sequence-diagrams copied to clipboard
Draws simple SVG sequence diagrams from textual representation of the diagram
This is the code, only flowchart displayed, sequence diagram not displayed ``` var flowchart_diagram = flowchart.parse('st=>start: Start:>http://www.google.com[blank]e=>end:>http://www.google.com\n' + 'op1=>operation: My Operation\n' + 'sub1=>subroutine: My Subroutine\n' + 'cond=>condition: Yes\n' + 'or...
```js chart.drawSVG(div_tmp_id, { theme: theme }) // copy chart to new div div_new.innerHTML = div_tmp.innerHTML ``` after `drawSVG` the container is still blank. after a while, the container is rendered....
This is an awesome tool, but I'd like to be able to use it on the server without a DOM. I don't see anything stopping this from working outside the...
Example ``` user->ip.bramp.net: GET / ip.bramp.net->user: 200 OK\n user->ip4.bramp.net: GET /json ip4.bramp.net->user: 200 OK\n {address: 1.2.3.4} user->ip6.bramp.net: GET /json ip6.bramp.net->user: 200 OK\n {address: 2001:db8::1} ``` There is too much of...
Added to example test.html (only works in chrome :-(): - Visualy track elements - Click in element selects correct line in editor - SVG shows current editor line in SVG...
It would be great if support would be added for execution specifications, which are the thin grey rectangles which identify the beginning and end of an action being executed. Ideally...

Right now each new element (arrow or note) is drawn at a new 'line'. It might be neat to also allow multiple elements on one line - though it'll probably...
``` Title: Issue: duplicate ActorA for participant without alias in windows chrome demo app Participant ActorA ActorA->ActorB: # this fails with https://bramp.github.io/js-sequence-diagrams/ on chrome (windows) # but works with url...