Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create a KNode (via createNode()) for each element comprised by the given instance model of your data type, here EPackage, and add that nodes to the children of root. Create a KEdge for each relation or link to be contained in your diagram. You can use createEdge() for that purpose. Set source and target node of those edges accordingly, this will implicitly add the edges to the diagram (via EMF's EOpposite mechanism).  UML2UseCaseDiagramSynthesis

...

Finally attach figure specifications to the nodes and edges, most conveniently by means of the extension methods provided by the ...Extension classes mentioned in the diagram synthesis template. Have a look at UML2UseCaseDiagramSynthesis, which is part of our examples project, on how to do that. A documentation of the convenience methods provided by the extension classes can be found here.

 Incorporated Technologies

...