Hi
There's a new layout fro Roassal, try it.
Gofer it
smalltalkhubUser: 'MathieuDehouck' project: 'RoassalAlgorithm';
package: 'Roassal-Algorithm'; load.
| rawView view layout | rawView := ROView new. view := ROMondrianViewBuilder view: rawView. "enter your script below" "-------------" "-------------"
view shape circle size: 10. view nodes: (Collection withAllSubclasses), (ROLayout withAllSubclasses ). view edgesFrom: #superclass.
layout := ROClusterLayout new.
view edges do: [ :e | e - ROLine + (ROBezierCurve radial new attachPoint: ROCenteredAttachPoint instance) ].
view layout: layout.
"-------------" "-------------" "Below is the initiation of the menu and opening the visualization" ROEaselMorphic new populateMenuOn: view. view open
Regards
Mathieu
Hi,
Looks lovely.
However, I still have a hard time figuring out the use of this one given that it's hard to get the tree structure out of it. Do you have an example of where it can be used?
Cheers, Doru
On Tue, May 7, 2013 at 1:26 PM, mathieubmddehouck@mailoo.org wrote:
**
Hi
There's a new layout fro Roassal, try it.
Gofer it smalltalkhubUser: 'MathieuDehouck' project: 'RoassalAlgorithm'; package: 'Roassal-Algorithm'; load.
| rawView view layout | rawView := ROView new. view := ROMondrianViewBuilder view: rawView. "enter your script below" "-------------" "-------------"
view shape circle size: 10. view nodes: (Collection withAllSubclasses), (ROLayout
withAllSubclasses ). view edgesFrom: #superclass.
layout := ROClusterLayout new. view edges do: [ :e | e - ROLine + (ROBezierCurve radial new
attachPoint: ROCenteredAttachPoint instance) ].
view layout: layout.
"-------------" "-------------" "Below is the initiation of the menu and opening the visualization" ROEaselMorphic new populateMenuOn: view. view open
Regards
Mathieu
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Btw, please use the Roassal Easel that comes with the moose image instead of the workspace :). To open it, just go to the Moose world menu and choose Roassal Easel.
Doru
On Tue, May 7, 2013 at 3:42 PM, Tudor Girba tudor@tudorgirba.com wrote:
Hi,
Looks lovely.
However, I still have a hard time figuring out the use of this one given that it's hard to get the tree structure out of it. Do you have an example of where it can be used?
Cheers, Doru
On Tue, May 7, 2013 at 1:26 PM, mathieubmddehouck@mailoo.org wrote:
**
Hi
There's a new layout fro Roassal, try it.
Gofer it smalltalkhubUser: 'MathieuDehouck' project: 'RoassalAlgorithm'; package: 'Roassal-Algorithm'; load.
| rawView view layout | rawView := ROView new. view := ROMondrianViewBuilder view: rawView. "enter your script below" "-------------" "-------------"
view shape circle size: 10. view nodes: (Collection withAllSubclasses), (ROLayout
withAllSubclasses ). view edgesFrom: #superclass.
layout := ROClusterLayout new. view edges do: [ :e | e - ROLine + (ROBezierCurve radial new
attachPoint: ROCenteredAttachPoint instance) ].
view layout: layout.
"-------------" "-------------" "Below is the initiation of the menu and opening the visualization" ROEaselMorphic new populateMenuOn: view. view open
Regards
Mathieu
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow"
Impressive!
Alexandre
On May 7, 2013, at 7:26 AM, mathieubmddehouck@mailoo.org wrote:
Hi
There's a new layout fro Roassal, try it.
Gofer it smalltalkhubUser: 'MathieuDehouck' project: 'RoassalAlgorithm'; package: 'Roassal-Algorithm'; load.
| rawView view layout | rawView := ROView new. view := ROMondrianViewBuilder view: rawView. "enter your script below" "-------------" "-------------"
view shape circle size: 10. view nodes: (Collection withAllSubclasses), (ROLayout withAllSubclasses ). view edgesFrom: #superclass. layout := ROClusterLayout new. view edges do: [ :e | e - ROLine + (ROBezierCurve radial new attachPoint: ROCenteredAttachPoint instance) ]. view layout: layout.
"-------------" "-------------" "Below is the initiation of the menu and opening the visualization" ROEaselMorphic new populateMenuOn: view. view open
Regards
Mathieu
<ClusterLayout collection rolayout.png>_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev