Ilograph

The IlographExporter class provides a way to export the software architecture model to the YAML format used by Ilograph, which provides an interactive way to explore a hierarchical dataset (which the C4 model is).

The resulting YAML will include:

  • A perspective named Static Structure that reflects the static structural elements defined in your software architecture model.
  • One perspective per dynamic view.
  • One perspective per deployment view.

The following properties can be set on element styles, which can be used to further customise the styling:

And the following properties can be set on the workspace:

  • ilograph.imports: a comma-separated list of Ilograph imports in the form namespace:from (e.g. AWS:ilograph/aws).

Demo

If you’d like to see a demo:

  1. Copy the Ilograph YAML from the Structurizr DSL demo page - Big Bank plc example.
  2. Open app.ilograph.com in your web browser.
  3. Click “New diagram”.
  4. Replace the YAML in the textarea on the left of the page.
  5. Click “Static Structure” at the bottom of the page.
  6. Click around the diagram to navigate/explore the model.

Ilograph screenshot