Status: New Owner: ---- CC: alexandr...@gmail.com Labels: Type-Defect Priority-Medium Component-Roassal Milestone-5.0
New issue 1017 by tu...@tudorgirba.com: RadialTreeLayout does not work properly http://code.google.com/p/moose-technology/issues/detail?id=1017
Try this:
view := ROMondrianViewBuilder new. view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view radialTreeLayout. view open
You will see only one tree. We should see ten.
See here: view := ROMondrianViewBuilder new. view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view treeLayout. view open
Comment #1 on issue 1017 by tu...@tudorgirba.com: RadialTreeLayout does not work properly http://code.google.com/p/moose-technology/issues/detail?id=1017
On the other hand, NarrowRadialTreeLayout works fine.
view := ROMondrianViewBuilder new. view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view radialNarrowTreeLayout. view open
Comment #2 on issue 1017 by alexandr...@objectprofile.com: RadialTreeLayout does not work properly http://code.google.com/p/moose-technology/issues/detail?id=1017
We will have a look at it.
Comment #3 on issue 1017 by tu...@tudorgirba.com: RadialTreeLayout does not work properly http://code.google.com/p/moose-technology/issues/detail?id=1017
But, here is something even more fishy. When nested, RadialNarrowTreeLayout works in a funny way:
view := ROMondrianViewBuilder new. view node: #a forIt: [ view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view radialNarrowTreeLayout ]. view open
At the same time, the ragular TreeLayout works fine: view := ROMondrianViewBuilder new. view node: #a forIt: [ view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view treeLayout ]. view open
Hi all,
it seems I hit this bug... Trying to reproduce my thing with an arbitrary set, but, yes, nesting made it really strange (and the regular tree layout worked once nested).
Thierry
Le 27/11/2013 14:25, moose-technology@googlecode.com a écrit :
Comment #3 on issue 1017 by tu...@tudorgirba.com: RadialTreeLayout does not work properly http://code.google.com/p/moose-technology/issues/detail?id=1017
But, here is something even more fishy. When nested, RadialNarrowTreeLayout works in a funny way:
view := ROMondrianViewBuilder new. view node: #a forIt: [ view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view radialNarrowTreeLayout ]. view open
At the same time, the ragular TreeLayout works fine: view := ROMondrianViewBuilder new. view node: #a forIt: [ view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view treeLayout ]. view open
Indeed. Thanks for reporting it.
Just a note: If you want to report a problem related to Roassal, you can just build anonymous graphs using numbers. For example, here is a more complicated graph: view := ROMondrianViewBuilder new. view nodes: (1 to: 5) forEach: [ :each | view nodes: ((each * 10) to: (each * 20)). view edgesFrom: [ :x | ((x - (each * 10)) // 2) + ((each * 10)) ]. view treeLayout ]. view gridLayout. view open
Doru
On Wed, Nov 27, 2013 at 2:42 PM, Goubier Thierry thierry.goubier@cea.frwrote:
Hi all,
it seems I hit this bug... Trying to reproduce my thing with an arbitrary set, but, yes, nesting made it really strange (and the regular tree layout worked once nested).
Thierry
Le 27/11/2013 14:25, moose-technology@googlecode.com a écrit :
Comment #3 on issue 1017 by tu...@tudorgirba.com: RadialTreeLayout does not work properly http://code.google.com/p/moose-technology/issues/detail?id=1017
But, here is something even more fishy. When nested, RadialNarrowTreeLayout works in a funny way:
view := ROMondrianViewBuilder new. view node: #a forIt: [ view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view radialNarrowTreeLayout ]. view open
At the same time, the ragular TreeLayout works fine: view := ROMondrianViewBuilder new. view node: #a forIt: [ view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view treeLayout ]. view open
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Thanks.
I just started to use Roassal last thursday, and it's taking me a bit to get my head around the API (and if I should use the ROMondrianViewBuilder API or directly into the raw view: ended up using both...)
Thierry
Le 27/11/2013 14:37, Tudor Girba a écrit :
Indeed. Thanks for reporting it.
Just a note: If you want to report a problem related to Roassal, you can just build anonymous graphs using numbers. For example, here is a more complicated graph: view := ROMondrianViewBuilder new. view nodes: (1 to: 5) forEach: [ :each | view nodes: ((each * 10) to: (each * 20)). view edgesFrom: [ :x | ((x - (each * 10)) // 2) + ((each * 10)) ]. view treeLayout ]. view gridLayout. view open
Doru
On Wed, Nov 27, 2013 at 2:42 PM, Goubier Thierry <thierry.goubier@cea.fr mailto:thierry.goubier@cea.fr> wrote:
Hi all, it seems I hit this bug... Trying to reproduce my thing with an arbitrary set, but, yes, nesting made it really strange (and the regular tree layout worked once nested). Thierry Le 27/11/2013 14:25, moose-technology@googlecode.__com <mailto:moose-technology@googlecode.com> a écrit : Comment #3 on issue 1017 by tu...@tudorgirba.com <mailto:tu...@tudorgirba.com>: RadialTreeLayout does not work properly http://code.google.com/p/__moose-technology/issues/__detail?id=1017 <http://code.google.com/p/moose-technology/issues/detail?id=1017> But, here is something even more fishy. When nested, RadialNarrowTreeLayout works in a funny way: view := ROMondrianViewBuilder new. view node: #a forIt: [ view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view radialNarrowTreeLayout ]. view open At the same time, the ragular TreeLayout works fine: view := ROMondrianViewBuilder new. view node: #a forIt: [ view nodes: (1 to: 99). view edgesFrom: [ :x | x // 10 ]. view treeLayout ]. view open -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 <tel:%2B33%20%280%29%201%2069%2008%2032%2092> / 83 95 _________________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch> https://www.iam.unibe.ch/__mailman/listinfo/moose-dev <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
-- www.tudorgirba.com http://www.tudorgirba.com
"Every thing has its own flow"
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
The basic thing is the following: - Mondrian is built at the top of Roassal - Use Mondrian to do static view (with no or very little animation/interaction) - Use directly Roassal if you want animation, dynamic coloring, adding/removing elements
Alexandre
Comment #4 on issue 1017 by alexandr...@objectprofile.com: RadialTreeLayout does not work properly http://code.google.com/p/moose-technology/issues/detail?id=1017
Roassal 1.499 fixes this. Thanks to Milton!
Updates: Status: Fixed
Comment #5 on issue 1017 by alexandr...@gmail.com: RadialTreeLayout does not work properly http://code.google.com/p/moose-technology/issues/detail?id=1017
(No comment was entered for this change.)