Do sequence diagrams support participant type collection?

+1 vote
asked Apr 4, 2017 in Wanted features by boshka (3,940 points)
edited Apr 7, 2017 by boshka

Per UML standards there should be the following notation and a corresponding participant type supported (see more detailed "@ http://www.tracemodeler.com/articles/a_quick_introduction_to_uml_sequence_diagrams/ )

Repeated interaction

UML sequence diagram with a repeated message to a multiobject (i.e. a collection).

1 Answer

0 votes
answered Apr 7, 2017 by plantuml (295,000 points)

This is very documented, but there is a keyword "collections"

@startuml
skinparam sequenceParticipant underline
participant sender
collections collection
sender -> collection
@enduml

http://www.plantuml.com/plantuml/uml/JSsn3O0m34JHFbDu0LP06O4LBEF2md52xEnF40NfJkyNbpsmnoYQ_19hsB60yptOY8zPXAIX1GmxkQiOfxQeyyk9gYfJI3M7VwUlmhQlc2VEkmS0

commented Nov 22, 2017 by Pander (780 points)
PlantUML Version 8040beta0 (package version 8039-1 in latest stable Ubuntu) does not support this. From which version is collections supported? Or is this a bug and has support been dropped accidentally?

Please, also add collections to the list

"It is also possible to use other keywords to declare a participant:
-    actor
-    boundary
-    control
-    entity
-    database"

on http://plantuml.com/sequence-diagram
commented Nov 22, 2017 by plantuml (295,000 points)
Version 8039 is pretty old. Maybe you should ask for an update in Ubuntu ?
Collections is supported by starting V1.2017.19
About documentation, we are completely changing the way we are managing it. And right now we are stuck in the middle of the path so we will update http://plantuml.com/sequence-diagram in some future... Sorry about that
commented Nov 22, 2017 by Pander (780 points)
I request a lot of updates for Ubuntu and Debian.  Because PlantUML is in continuously being maintained and development further, it would be better if you could inform the packager maintainer for Debian each time about a new release. The current package maintainer is "a n d r e w s h at debiannn dot orggg"

This would be the quickest way. You can ask him what the maximum frequency of updates per year is something that he would like to keep up with. I hope at least three times per year for PlantUML. These updates would arrive automatically at Ubuntu when they have their two times per year Debian import freeze for their next release. I guess (early) November and (early) May would be the best moment for an updated Debian package to appear in stable there. Best to check this with the package maintainer.

Getting this Debian/Ubuntu package release schedule optimized will also reduce the number of irrelevant questions here such as: "Why is feature xyz not working?" ;-)
commented Aug 20, 2018 by ssnyder (230 points)
I cannot get collections to work on Windows - using the eclipse plugin ascii doctor as the editor.  However, when I use the PlantUML view from the eclipse plugin (http://plantuml.com/eclipse) it works fine.  Just noting it here in case others find similar issues.
commented Sep 3, 2018 by Pander (780 points)
ssnyder, which version of PlantUML is your plugin for Eclipse using locally?
commented Sep 4, 2018 by ssnyder (230 points)
Pander - the eclipse plugin was recently upgraded, and I am using this.  The ascii doctor plugin (I'm not sure who supports this) says that the plantuml is over 600 days old, so I assume that is the problem.  It was more of an FYI than a concern.
...