Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v2.12.0 released (Layout bugfix, AsciiDoc) #394

Discussion options

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

https://www.plantuml.com/plantuml/uml/NP11Qxj04CNl-oackVmJ-2TIwAbGY5MX1Hk3qKEW8AkEkg2hh6Djldt73PIGc-_nU_EUUnX96fgw5iG_e0OXd-fA_K0XDUG89Sg2rBSaB65Mr43Ljsq_Arq31maxrCJ1rJ7AGlUInL7Y9W6ymfCGAwMBTYeH6g9XV74S8-TzpJUcV1hH5Bqc3k-BldE6LkfbmswaibMvuptlJekLVePE9qT2mrRcSK8gZMO_C2kuBqeJhZtwPyyz1Pkj42SqOwytyZ-itVLMdA-SxJPZEh3n1jFmfNEiUlFtborMTCV5gcw8KG_CylL8b_sixsYV9SE-zHzPU-0E3hc9uS1MFiBJmAG8vJLBb-syTsjLR9LTTJDyQop5Dnqksjxc_Fk77sJd98Y3ABdOzpYWBlcfVW40

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

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /