Repository navigation
Right-angle lines, a Mermaid fix, and the MCP server in the main install, now listed in the MCP Registry.
- Right-angle lines.
routing="orthogonal"draws every line as horizontal and vertical runs that meet at right angles. Set it for the whole diagram (Diagram(..., routing="orthogonal"), or top-level"routing"in JSON and the MCP server), for one link, or in Mermaid withcurve: step. The default stays curved. Graph blocks inside panels keep their own straight lines. - Quoted Mermaid labels can hold
;and%%(#9, thanks @draarivpatel-ui). Before,a["a;b"] --> bstopped with "cannot read the shape of node". Now it draws a node labeleda;b. - The MCP server is part of the main install.
pip install open-diagramnow installs the MCP toolkit too, andopen-diagram mcpstarts the server. In Claude Code:claude mcp add open-diagram -- uvx open-diagram mcp. Setups that useopen-diagram[mcp]andopen-diagram-mcpkeep working. - Listed in the MCP Registry as
io.github.lukendeasy/open-diagram. - Python 3.10 or later, because the MCP toolkit needs it. If the only Python on a computer is older,
uvxdownloads a newer one by itself.
Existing pictures are unchanged, byte for byte.
pip install -U open-diagram