Jan Rothkegel
Jan Rothkegel

Reputation: 762

Combine activity and component diagram in PlantUML

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

Upvotes: 1

Views: 1579

Answers (1)

Fuhrmanator
Fuhrmanator

Reputation: 12882

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

Upvotes: 1

Related Questions