|A visual hierarchal layout for nodes [message #220028]
||Wed, 25 February 2009 17:05
Originally posted by: mbenamor.student.fundp.ac.be|
I am new to Eclipse GMF and started using to it to develop a graphical
editor for a hierarchal model we developed.
We succeeded in generating the nodes along with the basic links but we
are stuck at the layout definition. Before proceeding to radical
solutions I wanted to make sure if there is a simple way to integrate a
hierarchal layout for our nodes. To make things clearer, we want the
end-user to manipulate a graphical tree of nodes:
In our current implementation users can place nodes wherever they want
(of course using the absolute XY layout) but we want to show clearly the
hierarchal structure of the model. For instance if users will add a
child node to C, it should be placed under C. Is there a way to impose
such layout on nodes in order to preserve the hierarchal visual view or
should we develop our own layout? One final question, how to force two
rectilinear links to meet at the same end-point; for example the link
from D to E and C to E must meet at the same point in E.
I appreciate your help and advices in advance.
Powered by FUDForum
. Page generated in 0.01611 seconds