Kanoniq and Structurizr

Structurizr is a models-as-code tool designed for the C4 model: you write its DSL to create several software architecture diagrams from one model. It was created by the author of the C4 model, and is its reference implementation. Kanoniq also writes the model as text, in .kq files merged into a single model, and generates every view from it.

Compared as of 2026-10-13, against Structurizr 2026.09.19.

Kanoniq and Structurizr, point by point
DimensionKanoniqStructurizrVerdict
Authoring A model is written as text, in .kq files under one directory, parsed and merged into a single model. A model and its views are written in the Structurizr DSL, or created in code with Structurizr's Java libraries. ComparableBoth write the model as text in a language of their own.
Views Every view is generated from the model; the author does not define which elements a view holds, and nothing a view shows can be edited in it. Views are defined in the DSL, each naming what it includes and excludes; a workspace that defines none gets a default set. Different approachesDefining each view lets the author choose what it shows; generating every view leaves no view definition to maintain.
Layout Every view is laid out automatically; no element is placed by hand. Structurizr supports both automatic layout and manual layout, in a browser-based diagram editor. Structurizr is strongerStructurizr offers both automatic and manual layout; Kanoniq offers automatic layout only.
Notation Views are drawn in ArchiMate's notation. Structurizr uses a deliberately simple notation of boxes and one-way arrows, styled by tag and by themes. Different approachesA standard notation carries meaning in its shapes; a minimal one asks less of the reader before the labels do the work.
What the model covers The model describes domains and function groups, components and their interfaces, brokers and channels, the data each component owns, and motivation and strategy. The model is based on the C4 model; code-level diagrams are not supported natively, and an image view stands in for them. Kanoniq is strongerKanoniq's model states which component owns which data and why the architecture exists, which a C4 model does not describe.
Rules Validation checks the whole model, not only its syntax, including every rule that needs to see more than one element at a time; each rule has a permanent code. Structurizr validates names, identifiers and relationship descriptions, and offers optional inspections with configurable severities. Kanoniq is strongerKanoniq's rules refuse designs, such as a realization that crosses Ecosystems; Structurizr's validation covers names, identifiers and descriptions, and its inspections are optional.
Storage and review The model is plain text in the repository the author chooses; what the build derives is written to one committed file beside it. The DSL is code the author stores where they choose, such as git; manual layout is kept in a separate JSON file. ComparableBoth keep the model as text the author versions in their own repository.
Import and export Nothing is imported from other tools; what goes out is the model itself and pictures of it. The export command writes views as PlantUML, Mermaid, WebSequenceDiagrams or a static HTML site. Structurizr is strongerStructurizr's views can be carried into other diagram tools; Kanoniq's leave only as images.
Image output Any view can be written as an SVG or a PNG file, from the command line or the editor. Views can be exported as PNG or SVG images. ComparableBoth write any view as SVG or PNG.
Where you work A VS Code extension shows the views beside the source and checks the model as it is written. The DSL is written in any text editor and the diagrams are viewed in a browser, through a local server or the hosted playground; editor plugins come from the community. Different approachesKanoniq works inside one editor; Structurizr works beside any editor and in a browser with nothing installed.
Automation The kq command line builds, validates and exports a model, and writes the built model as JSON; there is no scripting interface. The DSL runs scripts in Groovy, Kotlin, Ruby or JavaScript, and loads Java plugins with access to the whole workspace. Structurizr is strongerStructurizr can generate and change a model from code; Kanoniq's model is written by hand.
Documentation and decisions Architecture decision records are Markdown files beside the portal's pages, each shown as a page of its own. Markdown or AsciiDoc documentation attaches to the workspace, a software system or a container, and decision records are read in the adr-tools, MADR and log4brains formats. Structurizr is strongerStructurizr reads decision records in three existing formats and documentation at three levels; Kanoniq's records follow its own format.
License and price Kanoniq is free to use when signed in; exporting views as SVG or PNG needs a paid seat. Every Structurizr command is free and open source except the server, which follows an open core model; its prebuilt binaries are licensed per installation. Structurizr is strongerStructurizr's tooling is open source and, but for the prebuilt server, free; Kanoniq is closed and charges for image export.

How they think differently

Views. In Structurizr, views are defined in the DSL, each naming what it includes and excludes, and a workspace that defines none gets a default set. In Kanoniq, every view is generated from the model: the author does not define which elements a view holds, and nothing a view shows can be edited in it. Defining each view lets the author choose what it shows; generating every view leaves no view definition to maintain.

Notation. Structurizr uses a deliberately simple notation of boxes and one-way arrows, styled by tag and by themes. Kanoniq draws its views in ArchiMate’s notation. A standard notation carries meaning in its shapes; a minimal one asks less of the reader before the labels do the work.

Where you work. Structurizr’s DSL is written in any text editor, and the diagrams are viewed in a browser, through a local server or the hosted playground; editor plugins come from the community. Kanoniq’s VS Code extension shows the views beside the source and checks the model as it is written. Kanoniq works inside one editor; Structurizr works beside any editor, and in a browser with nothing installed.

Where Structurizr is stronger

Layout. Structurizr supports both automatic layout and manual layout, in a browser-based diagram editor. Kanoniq offers automatic layout only: no element is placed by hand.

Import and export. Structurizr’s export command writes views as PlantUML, Mermaid, WebSequenceDiagrams or a static HTML site, so its views can be carried into other diagram tools. Kanoniq imports nothing from other tools, and its views leave only as images.

Automation. Structurizr’s DSL runs scripts in Groovy, Kotlin, Ruby or JavaScript, and loads Java plugins with access to the whole workspace, so a model can be generated and changed from code. Kanoniq has no scripting interface: its model is written by hand, and the kq command line builds, validates and exports it.

Documentation and decisions. In Structurizr, Markdown or AsciiDoc documentation attaches to the workspace, a software system or a container, and decision records are read in the adr-tools, MADR and log4brains formats. Kanoniq’s decision records are Markdown files in its own format, beside the portal’s pages.

License and price. Every Structurizr command is free and open source except the server, which follows an open core model; its prebuilt binaries are licensed per installation. Kanoniq is closed: it is free to use when signed in, and exporting views as SVG or PNG needs a paid seat.

Where Kanoniq is stronger

What the model covers. Kanoniq’s model describes domains and function groups, components and their interfaces, brokers and channels, the data each component owns, and motivation and strategy. Structurizr’s model is based on the C4 model, and code-level diagrams are not supported natively. Kanoniq’s model states which component owns which data and why the architecture exists, which a C4 model does not describe.

Rules. Kanoniq validates the whole model, not only its syntax, including every rule that needs to see more than one element at a time, each under a permanent code. Its rules refuse designs, such as a realization that crosses Ecosystems. Structurizr validates names, identifiers and relationship descriptions, and its inspections are optional, with configurable severities.

On the rest the two are comparable: both write the model as text in a language of their own, keep it in the author’s own repository, and write any view as SVG or PNG.

Choose Structurizr if

  • You work in the C4 model and want the tool its author maintains as the reference implementation.
  • You want to place elements by hand on some views and lay out others automatically.
  • You need views as PlantUML, Mermaid or WebSequenceDiagrams for other tools.
  • You want open-source tooling you can run, script and extend at no cost.

Choose Kanoniq if

  • You want every view generated from one model, with no view definition to maintain.
  • You need the model to say which component owns which data, and why the architecture exists.
  • You want the model checked against rules that refuse designs, not only names and identifiers.

Sources

  1. https://docs.structurizr.com/, checked 2026-10-13
  2. https://docs.structurizr.com/getting-started, checked 2026-10-13
  3. https://docs.structurizr.com/dsl/language, checked 2026-10-13
  4. https://docs.structurizr.com/as-code, checked 2026-10-13
  5. https://docs.structurizr.com/server/diagrams/notation, checked 2026-10-13
  6. https://docs.structurizr.com/example/code-diagram, checked 2026-10-13
  7. https://docs.structurizr.com/workspaces/inspections, checked 2026-10-13
  8. https://docs.structurizr.com/export, checked 2026-10-13
  9. https://docs.structurizr.com/export/png-and-svg, checked 2026-10-13
  10. https://docs.structurizr.com/playground, checked 2026-10-13
  11. https://docs.structurizr.com/dsl/scripts, checked 2026-10-13
  12. https://docs.structurizr.com/dsl/docs, checked 2026-10-13
  13. https://docs.structurizr.com/commands, checked 2026-10-13

Not affiliated with or endorsed by Structurizr Limited.

Something here wrong or out of date? Tell us at [email protected].