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
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-activity.puml
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-system.puml
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-class.puml
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-sequence.puml