Diagrams in your workspaces can be embedded on web pages as a PNG image. Unlike the iframe embed, this allows static images to be embedded in places where HTML is not permitted, such as wikis that use Markdown or AsciiDoc.
When viewing a diagram, click the button to display the image URL for that diagram.
Please note that this feature is not available for private workspaces or client-side encrypted workspaces. Images are created by a scheduled job running every few minutes that checks for recently updated workspaces, so they may not be immediately available.
This is an image embed of a diagram in a public workspace.
<img src="https://structurizr.com/share/36915/images/SystemContext.png" alt="Image embed from a public workspace" class="img-thumbnail" />
Embedding private diagrams requires your workspace sharing token to be included on the web page, so therefore it's recommended that you only use this feature on internal web pages (i.e. within your organisation's network, etc).
<img src="https://structurizr.com/share/36916/9bb891a2-327e-4222-b121-0f41d1e82f62/images/SystemContext.png" alt="Image embed from a public workspace" class="img-thumbnail" />