Image embed
The recommended way to embed diagrams is using the iframe embed, although HTML is often not permitted or not available if using Markdown or AsciiDoc. For this reason, Structurizr also provides a way to “publish” the diagrams in your workspace to PNG and SVG formats, which can then be included in your documentation using regular image tags.
If server authentication is enabled, this feature is only available when the read-only public or sharing link has been configured.
Viewing and using published images
Click the “Published images” link on the workspace summary page to see the images have been published (and are available to embed) from that workspace.
Publishing images
Images are published automatically (if the “Publish” checkbox is ticked) when you export diagrams to PNG or SVG using the button on the diagram viewer.
- The “Publish” checkbox will only appear when you are viewing the diagrams via a
/workspaceURL rather than a/shareURL.