-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
When using the latest PlantUML and defining a Group
or Grouping
, my PlantUML crashes (using 1.2025.4). Changing the StereotypeFontSize
to 1
(from 0
) fixes the crash. The same thing happens when including a copy of the Archimate.puml
(v 2.0.0beta1)
This crashes:
@startuml
!include <archimate/Archimate>
Grouping("Test", a)
@enduml

When I modify the Archimate.puml
to change the StereotypeFontSize
(lines 51, 58, and 64) from 0 to 1, the diagram works:
@startuml
!include Archimate.puml
Grouping("Grouping", a)
Group("Group", b)
@enduml

By the way, IIUC the skinparam
is being deprecated, and it is advised to move to CSS like <style>
settings. The corresponding way to set the font on a stereotype is shown in this example:
@startuml
!include <archimate/Archimate>
hide stereotype
<style>
rectangle {
.dotted {
linecolor #black
linestyle 2
backgroundcolor white
}
}
</style>
rectangle Composite <<dotted>> [
{{
!include Archimate.puml
<style>
folder {
.gralt{
linestyle 4
stereotype {
FontSize 1
FontColor transparent
}
}
}
</style>
left to right direction
title Composite Elements
Other_Location(l1, "Location")
Folder "Alternative Grouping" <<gralt>> as g3
Group(g1, "Group")
Grouping(g2, "Grouping")
}}
]
@enduml

Metadata
Metadata
Assignees
Labels
No labels