MagicDraw UML and SysML Plugin eSchool
Motto: "Learn good ways to work with MagicDraw UML and its SysML Plugin !"
About the eSchool
UML2 in MagicDraw
MagicDraw UML tips
MagicDraw SysML Plugin
MagicDraw for Java
MagicDraw for XML
Advanced UML and SysML Training

Viewing «virtual» Dependencies between Classifiers using Display Related Elements

One way to view the  «virtual» Dependencies generated by reverse with Analysis is to choose one of the Visualization options on reverse, however even for simply Java applications like the javavariables example the generated diagrams can be very complex and hard to understand.

Another way - providing more control - is to create a dedicated "focus" diagram for a Class then choose:

Display Elements > Display Related Elements

with the result limited to «virtual» Dependencies.

This is shown below for the Main class of the javavariables example (with some tidying up and all other relationship symbols removed). Note that:

  • it shows the Dependency with a faint grey line and sterotyped as «virtual»
  • it includes the number of detected Dependencies: example {n=10} for Thing
  • it shows Dependencies on primitive types
  • it shows Dependencies on stereotypes, too.

Did it also detect the Dependencies from local variables ?

Image: 
Search
MagicDraw UML for Java software engineering