Skip to content

Theme usage & specialized bundles

Beyond the universal gen2 bundle, specialized entry points exist for diagrams that benefit from extra tweaks.

Source files

Theme .puml sources live under doubleslash/ in this repository.

System / C4-style diagrams

!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/doubleslash/puml-theme-gen2-system.puml

Architectural levels via stereotypes

The system theme recognises stereotypes for layering:

rectangle "Online Shop System" <<context>> {
    rectangle "Web Application" <<container>> {
        rectangle "Order Management" <<component>> {
            rectangle "Order Service" <<module>> {
                rectangle "OrderController.java" <<code>>
            }
        }
    }
}
Stereotype Typical C4 lens
<<context>> System context
<<container>> Containers
<<component>> Components
<<module>> Modules / subsystems
<<code>> Code-level artefacts
<<external>> External systems / third parties

Full sample: systemmodel_with_levels.puml (mirror under remote_testing/ with raw URLs).

Gantt diagrams

Wrap with @startgantt@endgantt and include the Gantt-oriented theme:

@startgantt
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/doubleslash/puml-theme-gen2-gantt.puml
' ...your tasks...
@endgantt

Legacy themes (deprecated)

Older per-diagram URLs under the repo root (e.g. puml-theme-doubleslash-*.puml, pgantt-theme-doubleslash.puml) still resolve but are deprecated—prefer gen2 URLs from getting-started.md.

Legacy include snippets (collapse) ### Use case
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-usecase.puml
### Activity
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-activity.puml
### System (C4 L1/L2 legacy)
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-system.puml
### Class / ER-oriented
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-class.puml
### Sequence
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-sequence.puml
### Gantt legacy
@startgantt
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/pgantt-theme-doubleslash.puml
...
@endgantt
### Mind map
@startmindmap
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-mindmap.puml
...
@endmindmap
### Padding & PlantUML ≥ 1.2026.3 Legacy bundles under the repo root include [`doubleslash/padding-eval-gate.puml`](https://github.com/doubleSlashde/umltheme/blob/main/doubleslash/padding-eval-gate.puml) through [`puml-theme-doubleslash-general.puml`](https://github.com/doubleSlashde/umltheme/blob/main/puml-theme-doubleslash-general.puml): same behaviour as gen2 ([CSS `