Are there any plans to extend PlantUML Component diagram with BPMN Semantics? I'm not sure if existing model could be extended, as possibly some of the alignment semantics seem to be incompatible between the formats. However I would find it very useful to be able to describe Business processes in Plant UML. Possibly it could be introduced as a different diagram model (@startBPM).
If you check examples on http://www.bpmn.org/ BPM diagrams are somewhere between activity and component diagrams. If I compare them to Component diagrams I can see only few differences. I included my very high level assesment of each of the elements, mostly to show why I believe 90% of the support can be added with little to medium effort.
-
Nodes: In addition to Actors/Components
-
Events (start, stop, terminate, trigger, message, etc.) are first class citizens
Critical, easy
-
Control nodes - a bit tricky, but activity diagrams already deal with them
Important, medium
-
Lanes
-
Default flow is from left to right with left edges of lanes aligned to the left, with Event being the first Component.
Critical, easy
-
Communicating components should be also 'rougly' aligned on neighbouring lanes
Important, medium
-
Communication between lanes is done via Component-->Event nodes, it doesn't need to be enforced tough.
Important, medium
-
Edges
-
Axis oriented tracing of all lines (activity diagram has this already implemented)
Important, easy
-
You could consider adding few extra types of lines, as they seem to have specific semantics in BPM world
Nice to have, easy
-
Message symbols on the edges
Nice to have, difficult
An interesting example that illustrates most of above requirements:
https://www.businessprocessincubator.com/content/the-nobel-prize/