Newshot

I needed a tool to for an LLM the design of the app, so I made Mermaid Sketcher

Original text(via HN AI)
I needed a tool to for an LLM the design of the app, so I made Mermaid Sketcher
1 point by jorgeleo 1 hour ago │ past │ favorite │ discuss
Some of the designs decisions that I needed to make to keep the system consistent are better done visually. How the database schema changes or how the user travel trough the app to accomplish something... there are diagrams for that. Those design decisions or constrains need also to be communicated to the LLM so the code follows those ideas and the best way to document something to an llm is markdown files. I know that LLMs understand pictures if the vision tower is loaded... but text files are much easier to maintain. If the LLM needs to change a design portion is easier to modify an md file than regenrate the image. So I created Mermaid Sketcher. https://jorgeleo.github.io/mermaid-editor/ It is not a Microsoft Visio replacement, but it is simple and free. It lives only on the browser, and stores the files in your local storage. It allows for different diagram types, and for sub diagrams. It also allows to import/export diagrams from and to the mermaid format. Enjoy and let me know what you think

Those design decisions or constrains need also to be communicated to the LLM so the code follows those ideas and the best way to document something to an llm is markdown files. I know that LLMs understand pictures if the vision tower is loaded... but text files are much easier to maintain. If the LLM needs to change a design portion is easier to modify an md file than regenrate the image.

So I created Mermaid Sketcher. https://jorgeleo.github.io/mermaid-editor/

It is not a Microsoft Visio replacement, but it is simple and free. It lives only on the browser, and stores the files in your local storage. It allows for different diagram types, and for sub diagrams. It also allows to import/export diagrams from and to the mermaid format.

Enjoy and let me know what you think

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗