Re:Swimlanes.io – generated editable sequence diagrams
by frank13 on Tuesday April 27, 2021 @02:50PM
(#26959902)
Hi. I created this years ago and have not been able to give it much attention lately. There is a very basic API, https://swimlanes.io/docs/api
[ Parent
| on HN ]
Re:Swimlanes.io – generated editable sequence diagrams
by frank13 on Tuesday April 27, 2021 @02:53PM
(#26959924)
You can also embed a diagram. See https://jsfiddle.net/y6Lqpfcw/
Re:Swimlanes.io – generated editable sequence diagrams
by imiric on Tuesday April 27, 2021 @03:46PM
(#26960582)
Much appreciated. That still does network requests and I wasn't able to make it work fully offline after downloading all the assets, but pretty nice nonetheless.
Re:Swimlanes.io – generated editable sequence diagrams
by rockostrich on Tuesday April 27, 2021 @05:12PM
(#26961628)
Really? I downloaded the js file linked and set up an index.html with that snippet. The only requests being made were for FontAwesome stuff which you could also download and change the references to in that `embed.js`.
Re:Swimlanes.io – generated editable sequence diagrams
by imiric on Tuesday April 27, 2021 @07:41PM
(#26963533)
Yeah, I gave up at changing the minified JavaScript, and would still prefer a saner and official offline solution from the author.
But it's not a request, I doubt I'll ever use this because of my initial points. If it was a CLI tool that converted plain text input to image I'd consider trying it out.