Rotating a Roassal view

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Rotating a Roassal view

abergel
Hi!

View in Roassal can now be rotated. 
-=-=-=-=-=-=-=-=
v := RTView new.
b := RTMondrian new.
b view: v.
b nodes: (1 to: 20).
b edges connectFrom: [ :value | value // 2 ].
b layout tree.
b build.

v @ (RTRotableView new center: [v elements first position ]).

v
-=-=-=-=-=-=-=-=

Cheers,
Alexandre

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Rotating a Roassal view

Leonel Merino
Hi Alex,

Nice work!. But shouldn't the shape of the nodes be rotated too?

Leonel Merino
+41 78 405 43 38

On 05 Sep 2015, at 00:36, Alexandre Bergel <[hidden email]> wrote:

Hi!

View in Roassal can now be rotated. 
-=-=-=-=-=-=-=-=
v := RTView new.
b := RTMondrian new.
b view: v.
b nodes: (1 to: 20).
b edges connectFrom: [ :value | value // 2 ].
b layout tree.
b build.

v @ (RTRotableView new center: [v elements first position ]).

v
-=-=-=-=-=-=-=-=

Cheers,
Alexandre

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



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev