Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rectangular Object Node in Activity Diagram

Tags:

uml

plantuml

Can anyone tell me how to design UML's Object Node in PlantUml ? According to the UML's v2.5 spec (section 15.2.4), Object Nodes are supposed to be square, while the regular and most used Action Nodes are squircles.

enter image description here

All I can find in the PlantUml documentation is how to display all the Action Nodes octagon ...

I'm working with the PlantUml's v1 activity grammar :

@startuml
(*) --> "First Action Node"
--> "HERE I WANT AN OBJECT NODE"
--> "Last Action Node"
--> (*)
@enduml
like image 748
Jean Bob Avatar asked Oct 23 '25 15:10

Jean Bob


1 Answers

I think this is only achievable with the new Activity diagram syntax (still beta), in which you can do:

@startuml
start
:First Action Node;
:HERE I WANT AN OBJECT NODE]
:Last Action Node;
stop
@enduml

Result:

enter image description here

like image 118
zb226 Avatar answered Oct 27 '25 09:10

zb226