Activity diagram - Partition width

+1 vote
asked Feb 28 in Question / help by KEM (140 points)
Is it possible to set the width of a partition in an activity diagram?

So all partitions in the activity diagrams are the same size?

1 Answer

+1 vote
answered Feb 28 by dickmaley (4,160 points)
  • PlantUML does not natively support enforcing exact equal widths for partitions through CSS or other settings.
  • The width of partitions is primarily determined by their content, so manual adjustments (like adding placeholders) may be necessary.
  • Manual tweaking is probably required.
  • image

@startuml

partition "Partition 1" {
  :                    Activity 1                    ;
}

partition "Partition 2" {
  :Activity 2 with a longer description;
}

partition "Partition 3" {
  :                    Activity 3                    ;
}

@enduml

commented Feb 28 by Serge Wenger Work (16,590 points)
...