Change the relation source & target point [message #146453] |
Tue, 14 August 2007 07:52 |
|
I have implemented an layout algorithm to reorganize the nodes into a
diagram, but now I want to change the source and target point of the
relations between 2 nodes. Somebody knows how to do this?
I try to access to the Bendpoints of the relation, but I think it's not
what I want...
Thanks. Marc.
|
|
|
Re: Change the relation source & target point [message #146510 is a reply to message #146453] |
Tue, 14 August 2007 09:34 |
Eclipse User |
|
|
|
Originally posted by: 5d5.mail.ru
They are calculated by connection anchors. Nodes return them for
incoming and outgoing connections.
@see org.eclipse.draw2d.ConnectionAnchor, org.eclipse.gef.NodeEditPart
Marc wrote:
> I have implemented an layout algorithm to reorganize the nodes into a
> diagram, but now I want to change the source and target point of the
> relations between 2 nodes. Somebody knows how to do this?
>
> I try to access to the Bendpoints of the relation, but I think it's not
> what I want...
>
> Thanks. Marc.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03816 seconds