Yes, I think it would be better to display 2->2 lines.
How do you mean "special shape"? Would it work in this example?:
--- view shape rectangle size: 20. view nodes: #(1 2 3 4 5). view shape line color: Color green. view edgesToAll: #(1 2 3 4 5). view circleLayout. ---
So every node will have 4 green edges to other node and 1 green edge to itself. I think we should also consider that in that example we cannot see two lines: one 1->2 and other 2->1. Should we take care of it and instead of two direct lines use, for example, bezier lines with different configuration?
I think user should see it.
Cheers, Jura
2013/5/7 Alexandre Bergel alexandre.bergel@me.com
But we could imagine a special shape that draw such edges.
Alexandre
On May 7, 2013, at 2:28 PM, Juraj Kubelka juraj.kubelka@gmail.com wrote:
All other methods in Roassal do not create 2->2 edges. This was only
one. I think there is no visualisation support for such edges.
Cheers, Jura
2013/5/6 Tudor Girba tudor@tudorgirba.com 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
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