Earlier quoted context omitted.
> I’ve found that Claude can make decent mermaid diagrams pretty reliably. When doing this, do you give it a codebase and ask for a diagram, or is it more of an iterative back-and-forth where you describe the system to it.
Claude tends to default to and do best with first making ASCII diagrams in markdown files, which you can then ask it to translate into Mermaid if appropriate. Prompts like, "Please write a comprehensive report on _____ to work with _____. Include a holistic report on architecture and meaning and purpose of all involved systems. Describe the why and how of the changes in depth and include a full glossary of terms and…
Zindex – Diagram Infrastructure for Agents
11–20 of 20 posts
Re: Zindex – Diagram Infrastructure for Agents
#12Earlier quoted context omitted.
Claude tends to default to and do best with first making ASCII diagrams in markdown files, which you can then ask it to translate into Mermaid if appropriate. Prompts like, "Please write a comprehensive report on _____ to work with _____. Include a holistic report on architecture and meaning and purpose of all involved systems. Describe the why and how of the changes in depth and include a full glossary of terms and…
Gotcha. So this is more for diagrams of new systems than existing ones. Our maybe a blend of new and old.
Re: Zindex – Diagram Infrastructure for Agents
#13Re: Zindex – Diagram Infrastructure for Agents
#14but why not just use https://github.com/jsongraph?
Re: Zindex – Diagram Infrastructure for Agents
#15I’ve found that Claude can make decent mermaid diagrams pretty reliably. Not sure I quite understand what problem Zindex solves
> I’ve found that Claude can make decent mermaid diagrams pretty reliably. When doing this, do you give it a codebase and ask for a diagram, or is it more of an iterative back-and-forth where you describe the system to it.
Claude was able to determine the project, analyze the code, and infer the infrastructure. It worked through the projects as it went drawing a higher level diagram first. Then I iteratively asked for more detail around the sections I thought needed more detail.
This was just an experiment that I spent a few hours on. Months later I misplaced the mermaid markdown file so I asked Claude to reproduce the mermaid markdown from the png image so I could have it add more detail around another section that looked incorrect because it encapsulated the database and worker for one of the systems in a single box. The detail made the diagram in that area much more clear.
To me it is very good at writing/reading/reverse engineering mermaid diagrams.
Re: Zindex – Diagram Infrastructure for Agents
#16Man where in the LLM training data did the “production ready “ come from? That whole list screams AI. Humans want social proof, not a list.
Re: Zindex – Diagram Infrastructure for Agents
#17> Production-grade 17 operation types. 40+ semantic validation rules. Auth, rate limiting, PostgreSQL storage. Man where in the LLM training data did the “production ready “ come from? That whole list screams AI. Humans want social proof, not a list.
“describe what exists, not how to draw it”
really? please, someone tell graphviz about this, they should use it! /s
Re: Zindex – Diagram Infrastructure for Agents
#18Re: Zindex – Diagram Infrastructure for Agents
#19> Production-grade 17 operation types. 40+ semantic validation rules. Auth, rate limiting, PostgreSQL storage. Man where in the LLM training data did the “production ready “ come from? That whole list screams AI. Humans want social proof, not a list.
The whole “Diagram Scene Protocol (DSP)” is pretty much like how every diagram library ever models graphs’ nodes and edges. “describe what exists, not how to draw it” really? please, someone tell graphviz about this, they should use it! /s
If it doesn't provide controllable layout then I might just as well generate Mermaid or DOT, which are both produced perfectly fine by LLMs.