Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Make connection point always static relative to anchor
Make connection point always static relative to anchor [message #1701515] Mon, 13 July 2015 19:44 Go to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 528
Registered: November 2009
Senior Member
When creating connection between two anchors the connection start and end are positioned relative to where connection are starting and ending. For example, in screenshot below connection start from container 1 originates from North of the anchor and connection end of container 2 ends in South of anchor.

Is there way to position connection end points so that start is always from East of anchor and end is always to West of anchor, just like in connection between container 2 and 3?

https://lh3.googleusercontent.com/gqVYo6HXa3H8Nrg7_gE6MyD074vMKa6h6oyXBy0NpOs=w1431-h568-no
Re: Make connection point always static relative to anchor [message #1701642 is a reply to message #1701515] Tue, 14 July 2015 15:38 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1899
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Alex,

have you trie dto use BoxRelativeAnchors or FixPointAnchors instead of the
default ChopboxAnchor? They can be positioned right on the edge where you
want the connection to start/end and you can define the visualization to
e.g. be a point only. That should help in the start/end point of the
connection.

The direction of the connection can only be influenced when you are not
using ManhattanConnections. They are routed by the GEF framework according
to a layouting algorithm that cannot be influenced. Using free form
connections would suite better I guess.

HTH,
Michael
Re: Make connection point always static relative to anchor [message #1701648 is a reply to message #1701642] Tue, 14 July 2015 16:28 Go to previous message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 528
Registered: November 2009
Senior Member
Thanks Michael, I'll try your suggestions.
Previous Topic:Creating connection without corresponding business object
Next Topic:Preventing Connection from being deleted
Goto Forum:
  


Current Time: Mon Nov 19 01:22:21 GMT 2018

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

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

Back to the top