Repository navigation
0.6.0
- Templates come with the package, as JSON:
aws_etl,aws_architecture,azure_web_appandgcp_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 intemplates/assets/README.md. open-diagram newlists the templates.open-diagram new azure_web_appwritesazure_web_app.jsoninto the current folder, andopen-diagram draw azure_web_app.jsondraws it. It never overwrites a file unless you add--force.- MCP
templatetool: an agent asks for a template by name, edits the JSON, then callscheckanddraw. - Cloud resources in JSON:
resourcesplaces each service at anxandy,enclosuresdraws boxes around them (listed from the inside out), andicontakes a name such asaws/s3. Icons are read only from the built-in folder, the JSON file's own folder and any--iconsfolder. 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