Would like to commit RTRectLineLayout.

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

Would like to commit RTRectLineLayout.

Wadin Jonathan
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 :

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.

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

Re: Would like to commit RTRectLineLayout.

abergel
Hi Jonathan,

I suggest to keep the layout in your package for now. We can always include it later on.
It will be easier for you to update the layout when it belongs to your package.

By the way, I have problem to see your screenshots. I have to click on them.

Cheers,
Alexandre


> On Jan 26, 2015, at 11:31 AM, Jonathan Wadin <[hidden email]> wrote:
>
> 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
> ​​
>  Capture du 2015-01-26 15:23:15.png
> ​​
>  Capture du 2015-01-26 15:16:40.png
> ​​
>  Capture du 2015-01-26 15:16:09.png
> ​
>
> 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.
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




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