Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Custom Edge Centering
Custom Edge Centering [message #1705714] Tue, 18 August 2015 13:40 Go to next message
Bernhard Edler is currently offline Bernhard EdlerFriend
Messages: 6
Registered: August 2014
Junior Member
I have a diagram based on an OrderedTreeLayout.
The »arrange all« - behaviour works fine (or at least as expected ^^), but I#m having troubles with the positioning of my edges.

index.php/fa/22953/0/
Is there a way to enforce the »arrange all« - behaviour to draw the green dashed lines in my example below my yellow containers (source and target centered at the bottom edge) while leaving the grey and blue edges the way they are?

regards,
Bernhard
  • Attachment: current.png
    (Size: 90.19KB, Downloaded 222 times)
Re: Custom Edge Centering [message #1705789 is a reply to message #1705714] Wed, 19 August 2015 08:11 Go to previous message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 270
Registered: August 2010
Senior Member
Hello,

In the Edge Style properties you can specify a specific source and
target mapping for which the edge will be centered.
However the OrderedTreeLayout will arrange all edges without necessary
keeping their existing location (if it's what you would like to do for
blue edges). The OrderedTreeLayout can also be restricted to a specific
set of nodes or children (by using the Children expression) but in your
case you probably want to layout the Grey containers in the same way
than yellow ones.

Regards,

Florian


On 08/18/2015 03:40 PM, Bernhard Edler wrote:
> I have a diagram based on an OrderedTreeLayout.
> The »arrange all« - behaviour works fine (or at least as expected ^^), but I#m having troubles with the positioning of my edges.
>
>
> Is there a way to enforce the »arrange all« - behaviour to draw the green dashed lines in my example below my yellow containers (source and target centered at the bottom edge) while leaving the grey and blue edges the way they are?
>
> regards,
> Bernhard
>


--
Florian - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Non-Movable BorderNode
Next Topic:Properties view usability
Goto Forum:
  


Current Time: Fri Apr 19 13:50:46 GMT 2024

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

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

Back to the top