Register an edge at the source and the target [message #141565] |
Thu, 05 July 2007 13:33 |
Eclipse User |
|
|
|
Originally posted by: eos_2oft.webpolygon.de
Hi, my problem is as follows:
Our project group wants to write an editor for a graphical view which
consists of the following elements:
-A general node which can contain a various number of predecessors and
successors
-An inner node which can't contain more than one predecessor/successor
-A fork node which can't contain more than one predecessor, but a various
number of successors
-A merge node which can contain a various number of predecessors, but
can't contain more than one successor
Our problem is the registration:
We want that, if we add a new directed connection from node a to node b,
node a is registered at node b's site as predecessor, but also that node b
is registered at node a's site as successor.
Actually, our editor doesn't implement the restrictions correctly, e.g. it
is possible to create a connection from an inner node to another node even
if there already exists a successor node.
Can anyone help us?
Best regards, Jens
|
|
|
Powered by
FUDForum. Page generated in 0.03035 seconds