Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] Cycle connection between two nodes
[Zest] Cycle connection between two nodes [message #515525] Fri, 19 February 2010 09:23 Go to next message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi all,

I have 2 nodes in Zest GraphView. They are connected each other. But the connections are drawn one over the other like this:
------        --------
I    I        I      I
I    I<------>I      I
I    I        I      I
------        --------

Is there any chance to draw it like this?
------         --------
I    I-------->I      I
I    I         I      I
I    I<--------I      I
------         --------

Please, help

[Updated on: Fri, 19 February 2010 09:28]

Report message to a moderator

Re: [Zest] Cycle connection between two nodes [message #517684 is a reply to message #515525] Mon, 01 March 2010 17:03 Go to previous message
Erika Contiero is currently offline Erika ContieroFriend
Messages: 2
Registered: January 2010
Junior Member

If you set the curve depth of these GraphConnection objects

they will be drawn as two opposite semicircles. I use this solution to avoid the overlap.
With this solution they aren't drawn as two parallel lines, to obtain parallel lines I think you must modify the anchors of the connections.
Previous Topic:Grab location on edit part
Next Topic:Strange Zoom problem in GEF
Goto Forum:

Current Time: Fri Apr 27 04:54:26 GMT 2018

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

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