2.10How to debug an activity diagram

2.10.1Ghost elements

To find a ghost element (element present in the containment tree of a diagram but not used by the diagram) you have to name the elements used by the diagram. In the example below (see Figure 1), we can find the initial node not used because it is not named.

output_html_m1f019cc3.png

Figure 1 : Search of ghost element

2.10.2 Ghost relations

To find a ghost relation (relation present in the containment tree of a diagram but not used by the diagram) you have select "Specification->Relations" on an element (right click). Each element must have zero to one incoming and zero to one outgoing relations. In the example below (see Figure 2), we can find that the call operation “serviceContactInit” has two Outgoing relations. Then you can go on "Related Elements->Display path" on the elements in order until you find the wrong relation.

output_html_3cd4461b.png

Figure 2 : Search of ghost relation 


BLU AGE is a registered trademark of NETFECTIVE TECHNOLOGY S.A. - Trademarks are property of their respective owners
Do not copy or divulge without written permission