Skip to content

0.2.0

Choose a tag to compare

@lukendeasy lukendeasy released this 18 Nov 23:08
· 32 commits to main since this release

New in 0.2.0:

  • The picture explains itself. describe() and open-diagram describe return what a diagram says in plain words. The same text goes into the SVG for screen readers.
  • Any agent can use it. Describe a diagram as JSON, with no Python. Every mistake names its exact place.
  • Bring your Mermaid. open-diagram draw flow.mmd lays out a Mermaid flowchart with the same measuring and checks.
  • The open-diagram command. draw, check and describe. draw and check exit with 1 when the layout has problems.
  • Diagrams that can't go stale. A GitHub Action (uses: lukendeasy/open-diagram@v0.2.0) checks or redraws diagrams on every push. Keep states in a small file and the pictures follow.
  • Two new examples: email delivery (JSON) and a sign-up flow (Mermaid).

Install: pip install --upgrade open-diagram