# structurizr/java

Structurizr for Java

Repository: https://github.com/structurizr/java
Canonical: https://ross.abutalabs.com/products/structurizr-java
Homepage: https://docs.structurizr.com/java
Language: Java
License: Apache-2.0
License Family: permissive
Topics: structurizr, c4model, software-architecture, architecture-diagrams
Archived: true
Last push: 2026-02-01T14:29:40+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 65, release rhythm 45, longevity 100
- inputs: {"age_days": 4468, "days_push": 213, "days_rel": 285, "gap_med": 32, "n_releases_24m": 10}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1134, forks 320 (observed 2026-08-28T04:03:43.119963+00:00)

## What it is
Structurizr for Java is a set of Java libraries (core, client, DSL, import, export, inspections, component) for creating software architecture models and C4 diagrams as code. The repository has been moved to the unified structurizr/structurizr monorepo, with artifacts published on Maven Central.

## Use cases
- create c4 architecture diagrams as code in java
- model software architecture with the structurizr dsl
- export architecture diagrams to plantuml or mermaid
- generate multiple diagrams from a single architecture model
- render architecture decision records and markdown docs alongside diagrams
- self-host a browser-based architecture diagram viewer
- verify workspace content with architecture inspections

## When to choose
- you want to define C4 architecture models and views programmatically in Java or via a text DSL
- you need diagrams-as-code stored in version control with automated exports
- you want interactive browser-based diagram viewing with zoom and auto-generated diagram keys

## When to avoid
- you prefer drag-and-drop visual diagram editing rather than code-based modeling
- you need polished static diagram layouts with manual control in PlantUML/Mermaid exports
- you are not working on the JVM and cannot run Docker or Java 21+

## Facets
- artifact type: library
- maturity: active
- function: documentation, data-visualization, serialization, developer-tools
- domain: developer-tools, documentation
- platform: jvm, cross-platform
- tags: c4-model, architecture-diagrams, diagrams-as-code, structurizr-dsl, plantuml-export, mermaid-export, software-architecture-modeling, software-architecture, docker

## Member repositories
- structurizr/java (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:43.119963+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:37:22.471746+00:00, confidence not recorded.
  - readme: https://github.com/structurizr/java (fetched 2026-08-28T04:03:43.119963+00:00, sha 4a403788c2f5)
  - homepage: https://docs.structurizr.com/java (fetched 2026-08-29T12:42:03.895144+00:00, sha 1e887db7e751)
  - site_page: https://docs.structurizr.com/quickstart (fetched 2026-08-29T12:42:03.904906+00:00, sha 740ccd6af793)
  - site_page: https://docs.structurizr.com/features (fetched 2026-08-29T12:42:03.917270+00:00, sha c6bfb596994f)
  - site_page: https://docs.structurizr.com/getting-started (fetched 2026-08-29T12:42:03.922977+00:00, sha 13e03baffa44)
  - site_page: https://docs.structurizr.com/getting-started/local-server (fetched 2026-08-29T12:42:03.924800+00:00, sha f2f3a2d20a56)
  - site_page: https://docs.structurizr.com/getting-started/local-local (fetched 2026-08-29T12:42:03.926475+00:00, sha b4e96e07bbea)
  - site_page: https://docs.structurizr.com/getting-started/local-export-static-site (fetched 2026-08-29T12:42:03.927911+00:00, sha cabe85d8afb1)
  - site_page: https://docs.structurizr.com/getting-started/export-diagrams-as-code (fetched 2026-08-29T12:42:03.929319+00:00, sha 20dcdd20e26a)
  - site_page: https://docs.structurizr.com/getting-started/server (fetched 2026-08-29T12:42:03.930818+00:00, sha a4b746525813)
- Data as of 2026-08-30T08:39:29.467469+00:00.
