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 Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Nov 27, 2013, at 11:00 AM, Goubier Thierry
thierry.goubier@cea.fr wrote:
> 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
>>
>
> --
> 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