|
Re: Combining parts of Edges into one. [message #1456430 is a reply to message #1455497] |
Thu, 30 October 2014 10:59 |
|
Hello,
Indeed, this feature request of tree layout, where it can be specified
if the children are displayed horizontally or vertically, has been
identified in the past, but it has not been implemented yet. It was
asked (way) before Sirius was contributed to Eclipse, and no bugzilla
(feature request) has been reported yet.
Regards,
Steve
Le 29/10/2014 13:43, Koen Staal a écrit :
> Is it possible to combine edges to one edge if they have the same target?
>
> I uploaded an image below to show what i mean.
>
>
>
> I know there is a "tree" option for edges, but this option combines the vertical lines only. Is there a way to combine horizontal lines aswell? or is there maybe another way to achive the result shown in the image.
>
> The image inhttp://www.eclipse.org/sirius/images/gallery/intelhome-1.png seems to manage it, but it could also be multiple lines drawn over each other.
>
> Any help would be appreciated.
>
--
Steve Monnier - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Re: Combining parts of Edges into one. [message #1456495 is a reply to message #1456430] |
Thu, 30 October 2014 12:26 |
Koen Staal Messages: 70 Registered: October 2014 |
Member |
|
|
Steve Monnier wrote on Thu, 30 October 2014 10:59Hello,
Indeed, this feature request of tree layout, where it can be specified
if the children are displayed horizontally or vertically, has been
identified in the past, but it has not been implemented yet. It was
asked (way) before Sirius was contributed to Eclipse, and no bugzilla
(feature request) has been reported yet.
Regards,
Steve
Thanks for your reply. The result i want is indeed very similar to a tree layout, but im not making a tree perse. If i could enabling both a horizontal and vertical tree layout of the edge in one diagram, not only one, i would be very much on my way. The tree layout however limits the line architecture somewhat.
What it basicly comes down to is; if both lines come from the same point on the diagram and go to the same target it should be only one line.
Am i able to make a feature request myself?
Maybe there is some other way, for example splitting the target up in two representations. connect both edges to one of the representation and connect both representations with a different edge. this could be an option because the target in my situation is just a channel. But it seems not possible to make multiple representations of the same object?
for example:
all idea's are welcome
[Updated on: Thu, 30 October 2014 12:29] Report message to a moderator
|
|
|
Re: Combining parts of Edges into one. [message #1456584 is a reply to message #1456495] |
Thu, 30 October 2014 14:01 |
|
Le 30/10/2014 13:26, Koen Staal a écrit :
> Thanks for your reply. The result i want is indeed very similar to a tree layout, but im not making a tree perse. If i could enabling both a horizontal and vertical tree layout of the edge in one diagram, not only one, i would be very much on my way. The tree layout however limits the line architecture somewhat.
>
> What it basicly comes down to is; if both lines come from the same point on the diagram and go to the same target it can be only one line.
>
> Am i able to make a feature request myself?
What you can try is use a Ordered Tree Layout or Composite Layout (there
is a left to right option), that can be added under the Diagram
description in your VSM. This way your edges pointing the same parent
will appear as fused. Then you can define a custom layout, using an
extension point, to choose how the element are placed in the diagram .
You can check this previous post
https://www.eclipse.org/forums/index.php/mv/msg/639946/1234795/#msg_1234795
for more information on custom layout. You may not be able to define
exactly the configuration you presented, but something close.
>
> Maybe there is some other way, for example splitting the target up in two representations. connect both edges to one of the representation and connect both representations with a different edge. this could be an option because the target in my situation is just a channel. But it seems not possible to make multiple representations of the same object?
You can define as many Node/Container/Edge mapping as you want for the
same metaclass. The semantic element will be represented multiple time.
More generally, the way you define your mappings doesn't have to reflect
the structure of the metamodel.
Regards,
Steve
> for example:
>
>
> all idea's are welcome
>
--
Steve Monnier - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.05441 seconds