I had a look at the gmfgraph file you suggested me and I found what I did
in my gmfgraph model instinctively. But I'm sorry to say that the
compartments are not filling the whole rectangle.
I had a look at an ecore_diagram model, and when I create a new EClass,
the container (compartment) at the bottom is shrunk (same size as the
other compartments in fact), instead of filling the whole rectangle
(bottom of last compartment stuck to rectangle's bottom). Is this the
normal behaviour ? Does this mean I have to specify the layout in the
generated code ?
Moreover, I saw that using the flow layout makes the label associated to
the rectangle stuck to the left (as in a ecore_diagram model). Is there a
way to easily center the label ?