Hi,
For my topic (Hiveplot implementation). I made one new layout called
RTRectLineLayout. That takes angle in parameter and draw your line with
angle about origin (0,0).
Should I add this implementation to Roassal ?
Few screens about :
Capture du 2015-01-26 15:24:31.png
<https://docs.google.com/file/d/0B0u9sxblZpSsR0liSW90NUFOWTQ/edit?usp=drive_web>
Capture du 2015-01-26 15:23:15.png
<https://docs.google.com/file/d/0B0u9sxblZpSsRk9ZX1BDU1BTbzA/edit?usp=drive_web>
Capture du 2015-01-26 15:16:40.png
<https://docs.google.com/file/d/0B0u9sxblZpSsRzR6LXRFeU9QNmM/edit?usp=drive_web>
Capture du 2015-01-26 15:16:09.png
<https://docs.google.com/file/d/0B0u9sxblZpSsRTZxcG5td1NjVWs/edit?usp=drive_web>
Here, one example of code :
===================================
m :=RTMondrian new.
l := RTRectLineLayout angle:135.
new.
s := m shape.
s circle size:50.
m nodes: (1 to: 20).
m layout for: [ :e | true ] use: l.
m build.
m view.
===================================
I created two constructors with vertical and horizontal angle.
What do you think about it ?
If you want, how can I commit this ?
Thank you,
Cheers,
Jonathan.