Declare Participants similar to Components

0 votes
asked Jan 3 in Wanted features by anonymous
In a sequence diagram, you have to declare a participant like this:

participant "=MyTitle\n----\nMySubTitle" as MyParticipant

I think it could be cleaner to use the same structure as a component, like this:

participant MyParticipant [

Is it possible?

1 Answer

0 votes
answered Jan 4 by plantuml (277,020 points)

Thanks, this is a brillant suggestion!

So with last snapshot  and on the online server you can now have:

participant MyParticipant [
participant Bob

MyParticipant -> Bob

Thanks again!

commented Jan 4 by The-Lu (46,280 points)

Thanks a lot, it's a good start... yes

Is it possible to do the same thing with all other sequence elementswink as:

  • actor
  • boundary
  • control
  • entity
  • database
  • collections
  • queue

See example here:


commented Jan 4 by plantuml (277,020 points)

Sure, but we have to be careful here. Since actor/boundary/... is also used in deployment diagram, there is a risk a syntax clash.

With the new syntax some deployement diagram may become sequence diagram. See for example.

But we will think about it :-)

commented Jan 4 by The-Lu (46,280 points)

To do on the todo list... for the next Year...

commented Jan 4 by anonymous
Great. Thank you. How often do official releases go out?
commented Jan 11 by plantuml (277,020 points)

This is released in last official version.