Archi Forum

Archi => Archi Development => Topic started by: kdwykleingeld on October 19, 2014, 14:14:39 PM

Title: do not draw connections over boxes
Post by: kdwykleingeld on October 19, 2014, 14:14:39 PM
Hi, one other requirement. Would it be possible to prevent the drawing of connections over/crossing the image of the boxes. Especially ff you "order" a box to be "in front" i would not like to see a connection to other boxes (that cross this box)  being drawn straight over this box when going right over/through/under  it.. imho it should not be visible in that box -- especially when you have a lot of connections in a view.. and you have lined out boxes it appears as if the boxes are split in the middle..

see sample attachement

thx koen 
Title: Re: do not draw connections over boxes
Post by: Phil Beauvoir on October 20, 2014, 08:40:22 AM
Connections are drawn on a connection "layer". This connection layer is higher than the other layers, so draws lines on top of. Best practice is not to allow connections to pass over or under a node.
Title: Re: do not draw connections over boxes
Post by: kdwykleingeld on October 20, 2014, 12:46:10 PM
hi thx, what is against turning this around ? maybe optionally
Title: Re: do not draw connections over boxes
Post by: kdwykleingeld on November 01, 2014, 12:58:01 PM
Hi, is this easily possible ? to draw a box over a line i.s.o. the other way around ?
Title: Re: do not draw connections over boxes
Post by: Phil Beauvoir on November 01, 2014, 16:19:37 PM
There is a problem with GEF in that you can set the order of the layers so that the connection layer is behind the object (primary) layer, but the content of the primary layer is opaque and covers the entire layer. This means that connections won't be visible if you have objects and connections inside of another object (nested).

See http://www.eclipsezone.com/eclipse/forums/t46179.html

And they are correct because I tried it.