-
Notifications
You must be signed in to change notification settings - Fork 1
Home
This wiki contains information about our purpose and transformation methods.
In a basic tree-based class hierarchy in Ecore file, it's sometimes confusing to view relations between classes and properties. If you think a massive class structure, it can be impossible to see. We wanted to visualize and transform that hierarchy to a graph to understand the structure better. Because, a graph is a very effective tool in presenting visual information.
In the begining of the process, we have a graph structure implemented in java and Ecore classes such as EClass, EAttribute, etc. You can see the complete class and inteface list.
Transformation process includes:
- EClass to vertex transformation
- EAttribute to vertex transformation
- EReference to edge transformation
While traversing the ecore file , we start to transforming EClasses first. After that, we follow the same procedure for sub-Ecore classes beneath that EClass. If we encounter a EReference, we convert it to an edge. If we encounter a EAttribute, we convert it to a vertex.