Tutorial #1 - Automatic Diagram Generation

Overview

In this tutorial, we will see how to rapidly get a graphical representation of an EMF model with emf2gv.

This tutorial is based on a School / Classroom / Student model provided by the EMF Tools Samples feature which is available on the update site of the EMF Tools Project (see the installation page for more details).

Tutorial Steps

In the problems view, you should get the following entries generated by EMF Validation Builder (these problems are included in the sample model file in order to show the validation support provided by emf2gv) :


(Click to enlarge)

Right click on the sample.school file, select Run as > Emf To Graphviz Transformation

After a few seconds, a new file named example.school.jpg may appear in the files view and be automatically shown :


(Click to enlarge)