Skip to content

0.6.0

Choose a tag to compare

@lukendeasy lukendeasy released this 24 Nov 00:09
· 8 commits to main since this release
  • Templates come with the package, as JSON: aws_etl, aws_architecture, azure_web_app and gcp_event_pipeline. The two AWS templates were Python scripts; the JSON versions draw the same pictures, byte for byte. The Azure and Google Cloud icons are the providers' own files, unchanged, with their source and license in templates/assets/README.md.
  • open-diagram new lists the templates. open-diagram new azure_web_app writes azure_web_app.json into the current folder, and open-diagram draw azure_web_app.json draws it. It never overwrites a file unless you add --force.
  • MCP template tool: an agent asks for a template by name, edits the JSON, then calls check and draw.
  • Cloud resources in JSON: resources places each service at an x and y, enclosures draws boxes around them (listed from the inside out), and icon takes a name such as aws/s3. Icons are read only from the built-in folder, the JSON file's own folder and any --icons folder. Full paths and .. are refused, so a diagram can never read other files on the computer.
  • A template standard, in templates/README.md: one screen in size, no layout problems, works offline, the service name under each icon. The tests check each rule they can, so a pull request that breaks one fails.

Existing pictures are unchanged, byte for byte.

pip install -U open-diagram