Top
Best
New

Posted by mlysk 13 hours ago

I use Excalidraw to manage my diagrams for my blog(blog.lysk.tech)
232 points | 98 commentspage 2
regus 5 hours ago|
And I'm over here using Graphviz like some caveman.
shrivats25 7 hours ago||
I have noticed diagrams are most useful early in thinking, but once things get complex they either become outdated or too hard to maintain. Curious how people here deal with that, do you keep diagrams in sync with code, or treat them as disposable?
relation_al 2 hours ago||
I treat them as sketches, the way Martin Fowler used to describe a UML diagram. They have to be either disposable or treated as a notepad. I reconstruct the full picture only when it's necessary from "sketches". E.g., since Lucid has an infinite canvas, I'll put all my different diagrams on a single canvas, along with little diagrammatic "ideas", "notes", "brain-f$rts", etc.

For a presentation or project documentation artifacts, I can then go thru my sketches and pull bigger pictures together easily. I applied Fowler's "sketch" principle in my own tool ormle.com

al_borland 7 hours ago|||
I find I end up needing to walk the code to make diagrams of the current state anytime management wants to know what’s going on. It’s the only way my managers seem to understand or accept anything.

It’s a lot of work, as starting over is often easier than reviews and edits. Usually the diagrams are slightly out of date, but good enough to satisfy whoever is looking at it.

I wish I had a better solution. Now I’m wondering I could write something that walks the code for me.

rafterydj 6 hours ago||
Hey look, someone else has the exact same problem I do! I even use Excalidraw for diagramming as well, and have been wondering about how best to generate them according to some kind of binary format.
beAbU 6 hours ago|||
I have reverted to using mermaid where we are beyond the ideation phase. Then the mermaid code can live next to the document source, and I need not search for the original diagram file to edit and export. Confluence has a nice mermaid plugin.

That way, the diagram source and

Normal_gaussian 7 hours ago||
My approach:

Do use diagrams to explain an abstraction, and attach a word to it. Don't use diagrams to represent the exact state of a system.

dewey 11 hours ago||
Everyone does that these days and they are becoming AI tells like the em-dash or the blue-glow of the early AI generated images that everyone added to their blog posts.
hhh 11 hours ago|
AI can generate mermaid diagrams, not excalidraw. If you use the mermaid to excalidraw, i guess it can be, but it just looks like a mermaid diagram then and not an excalidraw.
mtsolitary 9 hours ago|||
PlantUML is a better ask for LLMs, you have a lot more control over the output
functional_dev 9 hours ago||
100% agree
dewey 10 hours ago||||
https://claude.com/connectors/excalidraw-app-demo
count 7 hours ago|||
we have an excalidraw MCP for claude, it can easily do both :) (Excalidraw is basically just fancy SVG)
hhh 2 hours ago||
oh wow, cool
darshanmakwana 12 hours ago||
I simply just draw in excalidraw and take a ss and past it in my obsidian note, I have a setup that automatically parses posts from my vault and then pushes them to my site
elric 11 hours ago||
I use the Obsidian Excalidraw plugin, means I can add diagrams to notes without leaving Obsidian.
darshanmakwana 11 hours ago||
Yeah I use that plugin too. I was just referencing it in relation to how I setup my blog[1]

[1]: https://darshanmakwana412.github.io/2026/03/a-system-of-jour...

count 7 hours ago||
Protip: select the items in the canvas you want in your SS and 'copy to clipboard as PNG' instead of a screen shot and you can get transparent PNGs of diagrams or of detailed subsets of a larger diagram easily.
Surac 6 hours ago||
Obsidian also offers a full excalidraw integration
mlysk 6 hours ago|
Not what I needed - my concepts life in one excalidraw, containing multiple frames of interest like https://github.com/martin-lysk/martin-lysk/blob/main/blog/26.... The blogposts reference some of them like here: https://blog.lysk.tech/nfs3-event-side-channel
palijer 9 hours ago||
Great article, should make sure to attribute xkcd comics though.

https://xkcd.com/about/

mlysk 8 hours ago|
Thanks for the hint - just updated the post and adde the attribution
gethly 12 hours ago||
Same. I started using it for Gethly blog. It's not perfect, some things make me crazy but overall it is better than draw.io that I used to use before. Excalidraw also has these great styles that just feel right :)
emil-lp 12 hours ago||
Should be Show HN.

Now it reads like an ad for some extension to a program I've never heard about.

emil-lp 12 hours ago||
Apparently Excalidraw is An open source virtual hand-drawn style whiteboard. Collaborative and end-to-end encrypted.

https://github.com/excalidraw/excalidraw

petepete 12 hours ago|||
I use Excalidraw extensively at work. For me, it's really close to perfection.

It has an excellent UI, selections work way better than Lucid or Figma etc, the sketchy look makes it clear designs are rough and not blueprints, it's private and loads instantly.

The one negative is that it's a pain to get the multiplayer self-hosted version running.

macintux 7 hours ago|||
The company where I'm contracted retired Excalidraw in favor of Lucid and, while I understand that big companies are going to go with big, enterprise-y solutions, what went from a weekly "sketch something out to help with communicating my ideas" turned into "once every few months I begrudgingly document something".

Excalidraw is excellent for low-friction sketches.

foobarian 5 hours ago||||
My favorite aspect of it is the keyboard shortcuts. It makes things so much faster.
fabbbbb 11 hours ago||||
I was surprised about that, too. Tried a bit but found very few sources online.

A self-hosted version with storage (multiplayer) plus any Claude access would be a killer setup for team planning etc and let us drop Miro.

ndezt 11 hours ago|||
[dead]
bryanhogan 12 hours ago||||
Both Excalidraw and TLDraw are the two most popular apps of their kind, simplistic whiteboard tools, so I don't think it's that surprising and I don't see any reason why this post should be a "Show HN".

TLDraw: https://www.tldraw.com/

Excalidraw: https://excalidraw.com/

jruohonen 12 hours ago||
For me, draw.io is still the winner, and especially now that it runs locally also on Linux. As for works in progress, I hope this one succeeds (and would also run locally at some point):

TikzMaker: https://tikzmaker.com/

postatic 12 hours ago|||
I love excalidraw, but don't need the excalidraw+. But Excalidraw open source is the frontend only, which means I have to delete my drawings each time. So I built the backend so I can create many canvases.

https://drawx.ossy.dev

jstanley 12 hours ago|||
Your site makes me make an account before I can use it, whereas excalidraw.com doesn't, and also excalidraw.com seems to save my drawing just fine? I closed a tab and reopened it and my drawing was still there, presumably from localStorage.

The three-lines-menu also has a "Save to..." option that lets you create a sharable link or save to your local disk.

blahlabs 11 hours ago||
You can also embed the excalidraw drawing in the exported image. So you can drag/drop the exorted image back into excalidraw and edit it later.
iCutMoon 9 hours ago|||
I actually created a completely free chrome extension exactly for that reason helps you to save and open the files at excalidraw

https://github.com/AykutSarac/excalihub

mlysk 9 hours ago||
Pretty new to hn, thanks for the hint
agnishom 8 hours ago||
I want to write a blog whose posts will be all about the technical details of how the blog works.
mlysk 8 hours ago|
Author here: Haha - yeah that is kind of meta - i know. Other content will be more about the acutual problems i solve. Check out https://blog.lysk.tech/sqlite-on-git-prologue ;-)
quanta-rs 7 hours ago||
Hey, I found that interesting and went looking for an RSS feed link on your site but couldn't find any. Assuming you don't have it already, do you plan to add it?
mlysk 2 hours ago||
on it
mlysk 2 hours ago||
https://blog.lysk.tech/rss.xml
subhobroto 9 hours ago|
Documentation often rots away because it's often decoupled from the code it describes.

I'm a huge fan of anything related to code that can I check into git, track its evolution and the thinking that went behind it. Why was Kubernetes chosen? Why was NATs chosen? Why are the topics named the way they are?

I am a huge fan of mermaid diagrams because it lets me check in my diagrams into git. I am a huge fan of mermaid diagrams because my code can generate diagrams that I (or they) can check into git - and this was before AI.

Now that AI can generate mermaid diagrams, people look at my Git repos and go "oh, you use AI a lot!" - then I point to my git history and they see it's from 2018.

I'm really happy that mermaid and related tools like Excalidraw are taking off - we have another chance at documentation being automated, uptodate and "fresh".

More comments...