Created
June 21, 2018 05:54
-
-
Save askalee/71be4a4ca3fa5195add85a50f027711f to your computer and use it in GitHub Desktop.
plantuml: Group items with a hidden package for better layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' reference: http://forum.plantuml.net/3648/invisible-packages-improve-layout-diagrams-visible-packages | |
@startuml | |
skinparam shadowing false | |
'skinparam backgroundColor red | |
skinparam package { | |
fontColor blue | |
stereotypeFontColor red | |
} | |
skinparam package<<Layout>> { | |
borderColor Transparent | |
backgroundColor Transparent | |
fontColor Transparent | |
stereotypeFontColor Transparent | |
} | |
package p1 <<Dummy>> { | |
class Foo1 <<Other>> | |
} | |
package p2 <<Layout>> { | |
class Foo2 | |
} | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the gist, appreciated.