5 ms·
js-sequence-diagrams - Turns text into UML sequence diagrams
- Inviz 13y agoNice. Doesnt let you use "Object" name though, errors out
- k__ 13y agoI hoped it would turn my JavaScript code into UML sequence diagrams :(
- honzzz 13y agoYes, I would love to have something that would generate diagrams out of the code and hopefully could be 'live' so I could tweak it and for example provide initial value of some variable and observe where and how it changes things. I struggle every time when I am building something a bit more complex - visualisation like this would help me handle the mental model which is too big/complicated for my brain-RAM.
- philbarr 13y agoUpvoted for judicious use of the phrase "brain-RAM". Me likey :).
- junto 13y agoThis is really cool. I hate drawing these diagrams but customers just love to them in their specifications!
- skore 13y agoPrevious discussion: https://news.ycombinator.com/item?id=5432110 https://news.ycombinator.com/item?id=5432110 Including this alternative, built in AngularJS: http://sullerandras.github.io/SVG-Sequence-Diagram/ http://sullerandras.github.io/SVG-Sequence-Diagram/
- exceptione 13y agothe angularjs seems to be broken, at least in FF 22.0
- _ZeD_ 13y agohow is it different from http://www.websequencediagrams.com/ http://www.websequencediagrams.com/ ?
- exceptione 13y agoThe difference is between server-side vs client-side afaik. From the article: Heavily inspired by websequencediagrams.com, who offer a serverside solution. We use Jison to parse the text, and Raphaël to draw the image.
- Heliosmaster 13y agoThe first thing that comes to my mind is how this can be used to easily convey cryptographic protocols :)