Is it possible to have Interrupting Edge in activity diagram?

+2 votes
asked Mar 30, 2018 in Wanted features by ashatilo (180 points)

Please have a look on URL below for Interrupting Edge section
https://www.uml-diagrams.org/activity-diagrams.html

As I understand the C++/Java/etc exception within the code block should be expressed using it.
Could it be added to activity-beta somehow? is there present some other way around to describe exception?
Also I would like to note that it would be good to show exception from complete partition of activities but not only from just activity.

BTW guys I like your product very much! Keep forward!

commented May 2, 2019 by ashatilo (180 points)
Is there any update/plans on implementing this feature?

1 Answer

0 votes
answered May 10, 2019 by zimchaa (1,040 points)

I had a couple of goes at implemeting this on a different question:

http://forum.plantuml.net/8983/how-add-exception-line-group-items-plantuml-activity-diagram

Above looks a bit more like the example, but the below is #better UML I think uising PlantUML:

Click through to see and edit the code - but mostly it's the 'interruptingzigzag' sprite that allows this:


    sprite $interruptzigzag [16x16/16] {
    0000000000000000
    0000000000000000
    0000000000000000
    0000000000000000
    000FFFFFFFFFFF00
    000000000000F000
    00000000000F0000
    0000000000F00000
    000000000F000F00
    00000000F00000F0
    0000000FFFFFFFFF
    00000000000000F0
    0000000000000F00
    0000000000000000
    0000000000000000
    0000000000000000
    }

I hope that helps, and post an example of how you make it work?

...