Combine activity and component diagram in PlantUML

Viewed 122

I want to show the relationship between activities and components (so that managers would understand :-)). Is it possible to achieve something like this in PlantUML?

enter image description here

1 Answers

You didn't say if it was an activity or a state diagram.

It's possible with a state diagram (however, the hide empty description won't work when you allowmixing for some reason -- it's a bug?):

@startuml
hide empty description
allowmixing

state A
state B
state C
A --> B
B --> C

component "Component" as Comp
B .right. Comp

@enduml

enter image description here

Related