Skip to content

0.6.2

Latest

Choose a tag to compare

@lukendeasy lukendeasy released this 25 Nov 16:45

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 with curve: 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"] --> b stopped with "cannot read the shape of node". Now it draws a node labeled a;b.
  • The MCP server is part of the main install. pip install open-diagram now installs the MCP toolkit too, and open-diagram mcp starts the server. In Claude Code: claude mcp add open-diagram -- uvx open-diagram mcp. Setups that use open-diagram[mcp] and open-diagram-mcp keep 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, uvx downloads a newer one by itself.

Existing pictures are unchanged, byte for byte.

pip install -U open-diagram