Hacker News new | ask | show | jobs
by 3abiton 238 days ago
I know this is a big request, but lately I've been using LLMs to quickly draft and showcase architecture decision. I mainly fallback to mermaid, but I am curious if d2 would be more flexible? I usually endup visualizing anyway with drawio. I am curious if there are plans on creating a more user friendly interface (mcp, or tool calling feature) with llms.
2 comments

There’s also PlantUML, which is much more featureful than Mermaid but can’t use JS to render text to a diagram in-browser. There is a server that you could use JS to load images from.

I haven’t used prompts to generate diagrams, but Cursors autocomplete seems to recognize the syntax at least.

I would be interested in this as well, but would love it to be more like openapi protocol, with an agents.md.