Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1021 Bytes

corporate-branding.md

File metadata and controls

17 lines (11 loc) · 1021 Bytes

Corporate branding

Note: this page describes a feature that is not available to use with Structurizr's Free Plan.

In addition to styling diagram elements and relationships, some corporate branding can be added to diagrams and documentation. This includes:

  • A font (font name and optional web font stylesheet URL).
  • A logo (a URL to an image file or a data URI).

You can add branding to an existing workspace, as follows:

Branding branding = views.getConfiguration().getBranding();
branding.setLogo(ImageUtils.getImageAsDataUri(new File("./docs/images/structurizr-logo.png")));

See Help - Corporate Branding for more details, CorporateBranding.java for a full example, and https://structurizr.com/share/35031 to access the workspace.