I have an almost exhaustive list [1] of browser based text to diagram tools. Some specialised tools (like https://sequencediagram.org/ ) so much better at what they do than any generic ones like mermaid. [1] https://xosh.org/text-to-diagram/
Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
81–90 of 110 posts
Re: Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
#82I much prefer d2 https://d2lang.com/ Only downside is AFAIK no in-browser renderer.
Re: Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
#83Little weird to see this on the lead page… mermaid has been around for a long time. And in general I’ve found its real world use pretty lacking.
Re: Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
#84Re: Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
#85I much prefer d2 https://d2lang.com/ Only downside is AFAIK no in-browser renderer.
That’s a pretty major downside, since broad in-browser support (GitHub, Notion etc) is arguably Mermaid‘s USP.
Re: Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
#86I much prefer d2 https://d2lang.com/ Only downside is AFAIK no in-browser renderer.
They were working on a wasm version some time ago I believe [0]. Not sure how usable this is insofar, but it may be of interest. [0]: https://github.com/terrastruct/d2/pull/436/files
Re: Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
#87Check out Kroki for a multi-syntax wrapper around a bunch of text driven diagram generators —- including Mermaid, PlantUML, Ditaa, GraphViz, SVGBob, etc, etc https://kroki.io/
Re: Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
#88Earlier quoted context omitted.
No, it's an independent, JS-only implementation, and it's way, way less featureful.
I believe it uses an cross compiled version of dot in js
Re: Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
#89I'm slightly surprised excalidraw ( https://excalidraw.com/ ) is not in the comments. I use it regularly to convey ideas to my devs and designers. Plus, it exports to json! Someone wrote a library to convert mermaid to excalidraw as well. We're now experimenting with creating design questions to ask in interviews with excalidraw/mermaid
I love excalidraw. But does it have an editable, diffable textual representation? Can it be generated with little ceremony, and laid out automatically?
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [
{
"type": "rectangle",
"version": 175,
"versionNonce": 279344008,
"isDeleted": false,
"id": "2ZYh24ed28FJ0yE-S3YNY",
Yes, textual, but no, the diffs aren't going to mean anything. It'll be like diffing svg from InkscapeRe: Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
#90I have an almost exhaustive list [1] of browser based text to diagram tools. Some specialised tools (like https://sequencediagram.org/ ) so much better at what they do than any generic ones like mermaid. [1] https://xosh.org/text-to-diagram/
I was wondering, are there any tools that could help to draw decent looking genealogical tree ? My main issue are the updates, where adding one of the ancestors or newborns causes full rework of entire tree. I'd like to feed data to some script and have it render a family tree, with all the regular updates.