Text to Diagram
StableDescribe it in words, get back real, editable shapes.
How GoDraw turns Mermaid syntax or an AI prompt into a laid-out diagram on the canvas.
The idea
Sometimes it's faster to describe a diagram than to draw it. Text to diagram lets you write a structure in words (or ask an AI for one) and GoDraw builds the picture for you, dropping real shapes onto the canvas that you can then edit by hand.
How it works
Start from text
Write Mermaid syntax directly, or give an AI model a plain-language prompt and let it generate the Mermaid for you.
Parse the structure
GoDraw reads the Mermaid to learn the nodes and the edges between them: the what connects to what, without any positions yet.
Lay it out
An automatic graph layout (dagre) decides where every node sits and how edges flow, so nothing overlaps and the arrows read in a sensible direction.
Place on canvas
The result lands as ordinary GoDraw shapes and arrows, fully editable, not a flat image.
Why it works this way
Separating structure (Mermaid) from position (the layout step) is the key trick: you only have to say what connects to what, and the layout engine handles the fiddly job of arranging it. Because the output is real shapes, you keep all the usual tools (binding, recognition, and the rest) for tweaking afterward.