Hi,

Not really. When we say edgesToAll: we mean to draw edges from all nodes to all computed nodes. So, 2->2 is part of it, too. For a different behavior we should introduce another utility method.

Cheers,
Doru

--
www.tudorgirba.com

"Every thing has its own flow."

On 06.05.2013, at 18:28, Juraj Kubelka <juraj.kubelka@gmail.com> wrote:

Yes, I will fix it.

Cheers,
Jura


2013/5/6 Alexandre Bergel <alexandre.bergel@me.com>
Your right Juraj, we should not have the edge 2->2.
Would you mind to write a couple of tests and fix this problem please?

Cheers,
Alexandre

On May 3, 2013, at 1:06 PM, Juraj Kubelka <juraj.kubelka@gmail.com> wrote:

> The one edge I suppose not to be created is edge 2->2.
>
> Cheers,
> Jura
>
>
> 2013/5/3 Juraj Kubelka <juraj.kubelka@gmail.com>
> I have a question: The example made by Usman creates 3 edges. I expected 2. What is right solution? Is it responsibility of user or should I check it in method #rawEdgesToAll: and create just 2 edges?
>
> Cheers,
> Jura
>
>
> 2013/5/3 Juraj Kubelka <juraj.kubelka@gmail.com>
> Hi,
>
> you are right, I am going to fix it.
>
> Cheers,
> Jura
>
>
> 2013/5/3 Usman Bhatti <usman.bhatti@gmail.com>
> Alex,
>
> When using ROMondrianViewBuilder >> edgesToAll: the direction of the edges is reversed. For example, in the script below, I am telling Roassal to draw edges to 2 but its drawing edges from 2.
> Can you please confirm and correct, if need be.
>
> view := ROMondrianViewBuilder new.
> view shape rectangle size:20.
> view nodes: #(1 2 3).
> view shape arrowedLine color: Color red.
> view edgesToAll: #(2).
> view forceBasedLayout.
> view open.
>
>
> Usman
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev