New Features & Important Bugfixes
Lay_...() functions have correct orientation in combination with LAYOUT_LANDSCAPE()
Important
PlantUML v2.12.0: Layouts may change with this bugfix.
When LAYOUT_LANDSCAPE()
is combined with Lay_*()
calls, elements are now positioned correctly based on the new implementation.
Previously, the implementation swapped up/left and down/right (see issue 376).
To restore the old behavior, set !NO_LAY_ROTATE=1
. For more details, see Compatibility mode NO_LAY_ROTATE=1
.
@startuml
' the bugfix can be deactivated with following statement
' !NO_LAY_ROTATE = 1
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
LAYOUT_LANDSCAPE()
Person(a, "A")
System(sUp, "B up\nbefore bugfix left")
System(sRight, "C right\nbefore bugfix down")
System(sDown, "D down\nbefore bugfix right")
System(sLeft, "E left\nbefore bugfix up")
Lay_U(a, sUp)
Lay_R(a, sRight)
Lay_D(a, sDown)
Lay_L(a, sLeft)
HIDE_STEREOTYPE()
@enduml
IntelliJ live templates supports AsciiDoc too
Thanks to @marcelstoer, the IntelliJ live templates can now be used with AsciiDoc as well. See details in Live Templates for IntelliJ (#392).
Tables with missing header and property columns are correct displayed/filled
Before this fix, the following table would display only 2 columns (header had only 2 columns) instead of 4, and the $col3="col3"
would be shown in column 2 (3 in name was "ignored"). (#384)
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
' at b) header has only 2 columns, therefore col3 is not displayed
SetPropertyHeader("", $col2Name="header 2")
AddProperty($col1="col1")
AddProperty("", $col2="col2")
AddProperty(" ", " ", "", $col4="col4")
' at a) col3 is displayed in column 2 and not 3
AddProperty("", $col3="col3")
Container(c, "Container")
@enduml
What's Changed
- #389 ENABLE_ALL_PLANT_ELEMENTS works with PlantUML v1.2025.1 and greater by @kirchsth in #391
- #380 Release process supports new stdlib README.md structure and updated license by @kirchsth in #393
- #379 Corrected typo in Italian legend title by @kirchsth in #381
- #377 Updated dynamic diagram to match with source by @kirchsth in #382
- #386 Updated theme documentation by @kirchsth in #390
New Contributors
- @marcelstoer made their first contribution in #392
Full Changelog: v2.11.0...v2.12.0