Hi,
I've tried to used version 6.0 as you suggest, but it seems to be buggy on Mac OS.
In fact, I've downloaded Pharo Virtual machine and the Image file and loaded the image into the virtual machine, but the software shown the error message:

"Pharo cannot locate the sources file named /Users/macbookpro/Downloads/PharoV50.sources.

Please check that the file is named properly and is in the
same directory as this image.
Make sure the sources file is not an Alias.
"

On Tue, May 31, 2016 at 2:34 PM, tien dh <tiendh11986@gmail.com> wrote:
Xin chào Serge, I'm from Vietnam and It's nice to see a greeting in Vietnamese :)
Thanks for your quick reply.
I'm using version 5.1 on Mac OS. Yep, I've imported a model, and I open script windows via "All model classes" > Browse > In Roassal Easel.
When I copy your new code to the script windows and click the Play button, it shows the an error:
MessageNotUnderstood: GLMRoassal2Easel>>correctFrom:to:with:

Am I wrong in using the tool? How can I test running of Mondrian code?

On Tue, May 31, 2016 at 1:31 PM, Serge Stinckwich <serge.stinckwich@gmail.com> wrote:
You should read : http://agilevisualization.com/

On Tue, May 31, 2016 at 12:29 PM, Serge Stinckwich
<serge.stinckwich@gmail.com> wrote:
> On Tue, May 31, 2016 at 12:04 PM, tien dh <tiendh11986@gmail.com> wrote:
>> Hello, I'm new to Mondiran and I'm trying to run very simple piece of code:
>
>
> Xin chào Tien.
> Where are you located ?
>
>> | view namespaces |
>> namespaces := MooseModel root allModels first allModelNamespaces.
>> view := MOViewRenderer new.
>> view shape rectangle
>>   width: #numberOfClasses;
>>   height: #numberOfMethods;
>>   linearFillColor: #numberOfLinesOfCode within: namespaces.
>> view nodes: namespaces.
>> view edgesToAll: #providerNamespaces.
>> view dominanceTreeLayout.
>> view open.
>>
>>
>> I tried with Roassal Easel but it doesn't compile. Where should I put the
>> code and run?
>
> Apparently you are running an old version of Roassal.
> Try to use the last version of MOOSE 6.0: http://moosetechnology.org/
>
> Are you sure you have imported a model with the MOOSE panel first ?
>
> The API change a little bit in MOOSE 6.0:
>
> | view namespaces |
> namespaces := MooseModel root allModels first allModelNamespaces.
> view :=  RTMondrian new.
> view shape rectangle
>   width: #numberOfClasses;
>   height: #numberOfMethods;
>   linearFillColor: #numberOfLinesOfCode within: namespaces.
> view nodes: namespaces.
> view edges connectToAll: #providerNamespaces.
> view layout dominanceTree.
> view open.
>
> Regards,
> --
> Serge Stinckwich
> UCBN & UMI UMMISCO 209 (IRD/UPMC)
> Every DSL ends up being Smalltalk
> http://www.doesnotunderstand.org/



--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev



--
Thanks and Best Regards,

Do Huu Tien (Mr.)
Handphone No: (+32) (0) 484 77 62 32
Email: tiendh11986@gmail.com
Y!M: beuforever
Skype: do.huu.tien




--
Thanks and Best Regards,

Do Huu Tien (Mr.)
Handphone No: (+32) (0) 484 77 62 32
Email: tiendh11986@gmail.com
Y!M: beuforever
Skype: do.huu.tien