Layout: How to modify TopDownProvider? [message #200239] |
Mon, 04 August 2008 22:40 |
Eclipse User |
|
|
|
Originally posted by: rolfes.daniel.web.de
Hi,
i am trying to change the Layout of my diagram.
I want to achieve the following result:
--------- ---------
- ----------->- -
--------- ---------
.
.
.
---------
- -
---------
I have two different connection types. If two nodes are connected with
the first type, there should be a top-down behavior. If they are
connected with the second type, there should be a left-right or
right-left behavior.
I tried to modify the TopDownProvider (DefaultProvider) but there is
some fancy stuff going on, involving the GMFDirectedGraphLayout.
Is this the right way to do this? Or does anyone know a better approach?
Thanks,
Daniel
|
|
|
Re: Layout: How to modify TopDownProvider? [message #200788 is a reply to message #200239] |
Wed, 06 August 2008 12:14 |
Eclipse User |
|
|
|
Originally posted by: rolfes.daniel.web.de
Hi,
i would be really glad, if you could give me some hints on this one. How
do i start?
D. Rolfes schrieb:
> Hi,
>
> i am trying to change the Layout of my diagram.
> I want to achieve the following result:
>
> --------- ---------
> - ----------->- -
> --------- ---------
> .
> .
> .
> ---------
> - -
> ---------
>
> I have two different connection types. If two nodes are connected with
> the first type, there should be a top-down behavior. If they are
> connected with the second type, there should be a left-right or
> right-left behavior.
> I tried to modify the TopDownProvider (DefaultProvider) but there is
> some fancy stuff going on, involving the GMFDirectedGraphLayout.
> Is this the right way to do this? Or does anyone know a better approach?
>
> Thanks,
> Daniel
|
|
|
Re: Layout: How to modify TopDownProvider? [message #200805 is a reply to message #200788] |
Wed, 06 August 2008 12:20 |
Eclipse User |
|
|
|
Originally posted by: rolfes.daniel.web.de
Hi,
i should probably add that the user should be able to layout the
diagramm manually. The described behavior should be invoked by the
Arrange-all-button.
Thanks,
Daniel
D. Rolfes schrieb:
> Hi,
> i would be really glad, if you could give me some hints on this one. How
> do i start?
>
> D. Rolfes schrieb:
>> Hi,
>>
>> i am trying to change the Layout of my diagram.
>> I want to achieve the following result:
>>
>> --------- ---------
>> - ----------->- -
>> --------- ---------
>> .
>> .
>> .
>> ---------
>> - -
>> ---------
>>
>> I have two different connection types. If two nodes are connected with
>> the first type, there should be a top-down behavior. If they are
>> connected with the second type, there should be a left-right or
>> right-left behavior.
>> I tried to modify the TopDownProvider (DefaultProvider) but there is
>> some fancy stuff going on, involving the GMFDirectedGraphLayout.
>> Is this the right way to do this? Or does anyone know a better approach?
>>
>> Thanks,
>> Daniel
|
|
|
Re: Layout: How to modify TopDownProvider? [message #201259 is a reply to message #200805] |
Fri, 08 August 2008 17:38 |
Eclipse User |
|
|
|
Originally posted by: rolfes.daniel.web.de
Hi,
any help would be greatly appreciated!
Thanks,
Daniel
D. Rolfes schrieb:
> Hi,
> i should probably add that the user should be able to layout the
> diagramm manually. The described behavior should be invoked by the
> Arrange-all-button.
>
> Thanks,
> Daniel
>
> D. Rolfes schrieb:
>> Hi,
>> i would be really glad, if you could give me some hints on this one.
>> How do i start?
>>
>> D. Rolfes schrieb:
>>> Hi,
>>>
>>> i am trying to change the Layout of my diagram.
>>> I want to achieve the following result:
>>>
>>> --------- ---------
>>> - ----------->- -
>>> --------- ---------
>>> .
>>> .
>>> .
>>> ---------
>>> - -
>>> ---------
>>>
>>> I have two different connection types. If two nodes are connected
>>> with the first type, there should be a top-down behavior. If they are
>>> connected with the second type, there should be a left-right or
>>> right-left behavior.
>>> I tried to modify the TopDownProvider (DefaultProvider) but there is
>>> some fancy stuff going on, involving the GMFDirectedGraphLayout.
>>> Is this the right way to do this? Or does anyone know a better approach?
>>>
>>> Thanks,
>>> Daniel
|
|
|
Powered by
FUDForum. Page generated in 0.03095 seconds