-
Notifications
You must be signed in to change notification settings - Fork 1.2k
v2.12.0 released (Layout bugfix, AsciiDoc) #394
kirchsth
announced in
Announcements
-
It is time for a new release v2.12.0!
The new main features/bugfixes are
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).
I hope you like it
Helmut
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment