Draw UML Sequence Diagrams with new Javascript library
Intro
A simple javascript library to turn text into vector UML sequence diagrams.
Heavily inspired by websequencediagrams.com, who offer a serverside solution. We use Jison to parse the text, and Raphaël to draw the image.
Examples
Syntax
The following diagram shows the syntax for the diagrams. The exact grammar can be found here in bison format.
Usage
js-sequence-diagrams depends on Raphaël and Underscore.js (we are lodash compatible). To use include the following:
and now you have two options. You can manually parse the text:
or use jQuery to do all the work:
A->B: Message