Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Register an edge at the source and the target
Register an edge at the source and the target [message #141565] Thu, 05 July 2007 13:33
Eclipse UserFriend
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
Previous Topic:default color
Next Topic:mouse-transparent nodes
Goto Forum:
  


Current Time: Thu Sep 18 12:03:17 EDT 2025

Powered by FUDForum. Page generated in 0.03035 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top