Tutorial #2 - Diagram Customization

Overview

In the first tutorial, we've seen how to let emf2gv generate a default diagram for a given model. In this tutorial, we will see how to start customizing a diagram.

Emf2gv takes as input the following data :

If we let emf2gv generate a default diagram as in the first tutorial, a default graphical description is generated. If we want to start to customize the diagram, we have to create a graphical description and modify it.

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).

Graphical Description Creation Steps


(Click to enlarge)

You should get the following result :


(Click to enlarge)

Diagram Customization Steps

Diagram Orientation

You should get the following result :


(Click to enlarge)

Nodes Alignment

You should get the following result :


(Click to enlarge)

What's next...

Now that you are familiar with editing the graphical description, we suggest you to modify it by :

You should then tests several advanced features by :