another problem

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

another problem

Stéphane Ducasse

view := ROMondrianViewBuilder view: ROView new.
luPackages := luModel allNamespaces.
view nodes: luPackages.
view shape rectangle size: [ :pac | pac classes size ].
view open

I do not understand that I do not get different square.


 luModel allNamespaces first classes size -> 11

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

Re: another problem

DiegoLont
        You should set the shape before adding the nodes. So:
> view := ROMondrianViewBuilder view: ROView new.
> luPackages := luModel allNamespaces.
> view shape rectangle size: [ :pac | pac classes size ].
> view nodes: luPackages.
> view open



On Sep 27, 2013, at 4:57 PM, Stéphane Ducasse wrote:

>
> view := ROMondrianViewBuilder view: ROView new.
> luPackages := luModel allNamespaces.
> view nodes: luPackages.
> view shape rectangle size: [ :pac | pac classes size ].
> view open
>
> I do not understand that I do not get different square.
>
>
> luModel allNamespaces first classes size -> 11
>
> Stef
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: another problem

Stéphane Ducasse


> You should set the shape before adding the nodes. So:
>> view := ROMondrianViewBuilder view: ROView new.
>> luPackages := luModel allNamespaces.
>> view shape rectangle size: [ :pac | pac classes size ].
>> view nodes: luPackages.
>> view open
>

ah ok tx
I hate this logic (I always hated it so at least i"M consistent :)

>
>
> On Sep 27, 2013, at 4:57 PM, Stéphane Ducasse wrote:
>
>>
>> view := ROMondrianViewBuilder view: ROView new.
>> luPackages := luModel allNamespaces.
>> view nodes: luPackages.
>> view shape rectangle size: [ :pac | pac classes size ].
>> view open
>>
>> I do not understand that I do not get different square.
>>
>>
>> luModel allNamespaces first classes size -> 11
>>
>> Stef
>> _______________________________________________
>> 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


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