For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | frank13's commentsregister

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


You can also embed a diagram. See https://jsfiddle.net/y6Lqpfcw/


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.


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`.


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.


Hi. I made this. Its mostly plain JS, all of the diagram, except the arrow heads, are simple div element


Hi! Thanks for replying. Is there any storage layer? Or is everything encoded in the URL?


Yes. There is a simple storage if you sign in with google/github


I mean what's the storage from a technical standpoint? If you're saving every version of every swimlane that anonymous users create, it seems like that would add up in your database.


If you dont sign in nothing is stored. Your diagram data does not leave the browser, unless you generate an image. The diagram data is in the url


Thank you for making this. Are you making the code available?


Hi. Im Frank, creator of swimlanes.io, would love to get some feedback!


I’d like to use it to create dynamic/procedurally generated swimlane diagrams on my website but I can’t find any github repos or CSS/JS license files or anything else. I couldn’t even find your name as the author, which made the whole thing feel weirdly sketchy in ways I’m not accustomed to with developer tooling.


And by procedurally generated, I mean I’d like the swim lane diagrams to update dynamically in the DOM as the user is working on the site rather than needing to have your server render them as bitmaps each time the user changes something.


Looks useful, i think i'll use it. Any chance of SVG export?


Happy to hear. No plans for SVG export. Have not found any good HTML to SVG tool. Any suggestions?


Great tool, I use it often.


I like that it is online. Often, when you need a quick sketch for your presentation or colleges, you don't want to open a desktop tool (you might not even have).

I would appreciate drag-able interface on the right (I know it is hard but it would definitely be a plus).

Connect a git repo or gist would be also nice.

I've also seen integrations to Google Drive where you can store it as a document.

Do you have any further plans with this tool? Cover more UML diagrams and so.


Thanks for the feedback! Diagram is not drag-able but support inline editing with double click. Google Drive integration is in the works. Gitbook plugin available: https://plugins.gitbook.com/plugin/swimlanes-io. Had the initial ambition to support flowcharts but want to ace sequence diagrams first


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You