PlantUML use UML 2 notation by default. You can set it to UML 1 using below command.
skinparam componentStyle uml1
uml2Style.txt
@startuml [Component1] -left-> [Component2] : left [Component1] -right-> [Component3] : right [Component1] -up-> [Component4] : up [Component1] -down-> [Component5] : down @enduml
Above snippet generate below diagram.
uml1Style.txt
@startuml skinparam componentStyle uml1 [Component1] -left-> [Component2] : left [Component1] -right-> [Component3] : right [Component1] -up-> [Component4] : up [Component1] -down-> [Component5] : down @enduml
Above snippet generate below diagram.
No comments:
Post a Comment