Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
ffurkAn edited this page Nov 14, 2014 · 1 revision

Model Transformation Wiki

This wiki contains information about our purpose and transformation methods.

Why do we need transformation?

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.

How to Transform

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.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.