I just got this working with doxia:
http://bramp.github.io/js-sequence-diagrams/
Sequence diagrams are great for documenting protocol interaction.
I use them very often but one of the problems is updating the document when
the protocol changes.
With text sequence diagrams you can do that easily…
Here’s an example:
Andrew->China: Says Hello
Note right of China: China thinks\nabout it
China-->Andrew: How are you?
Andrew->>China: I am good thanks!
… and that can be rendered into an image for every page load.
I have it working in my doxia by just updating <head> and then using a <div
class=‘diagram’>
and then:
$( document ).ready(function() {
$(".diagram").sequenceDiagram({theme: 'hand'});
} );
Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>
http://bramp.github.io/js-sequence-diagrams/
Sequence diagrams are great for documenting protocol interaction.
I use them very often but one of the problems is updating the document when
the protocol changes.
With text sequence diagrams you can do that easily…
Here’s an example:
Andrew->China: Says Hello
Note right of China: China thinks\nabout it
China-->Andrew: How are you?
Andrew->>China: I am good thanks!
… and that can be rendered into an image for every page load.
I have it working in my doxia by just updating <head> and then using a <div
class=‘diagram’>
and then:
$( document ).ready(function() {
$(".diagram").sequenceDiagram({theme: 'hand'});
} );
Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>