Hi Jannik

I wrote an example of what the script for a Smalltalk system could look like.
Have a look at CCScriptExamples#exampleCityOfNonSmalltalkSystem.
You can replace the #weightedMethodCount metric in the normalizer with
whatever package metric you care for.

Cheers
Ricky


On Tue, Mar 11, 2014 at 10:44 PM, jannik laval <jannik.laval@gmail.com> wrote:
Hi Ricky,

This is the exampleCity, but applied on a Smalltalk imported code.

Jannik


2014-03-11 22:38 GMT+01:00 Richard Wettel <wettel@gmail.com>:

Can you attach the script, Jannik?

Ricky

Sent from Mailbox for iPhone


On Tue, Mar 11, 2014 at 9:54 PM, jannik laval <jannik.laval@gmail.com> wrote:

Thank you Ricky,

I just tried, but without success: it does not work on packages.
I added the method nestingLevel (just returns 1 for trying it), and I have this screen:
<Untitled.png>



2014-03-11 21:38 GMT+01:00 Richard Wettel <wettel@gmail.com>:
Hi Jannik

You can find examples in the CCBuilder, class side, in the #examples protocol.
These are all things that do not depend on Moose, vizualization of objects available in a vanilla image of Pharo.
As for the script I used for ArgoUML, you can find this in CCScriptExamples#exampleCity.

Cheers
Ricky


On 11 Mar 2014, at 20:34, jannik laval <jannik.laval@gmail.com> wrote:

Hi,

It seems interesting,
Could you provide some example code, that we can try. For example the script you use for ArgoUML ?

Thank you,
Cheers,
Jannik


2014-03-11 15:29 GMT+01:00 Alexandre Bergel <alexandre.bergel@me.com>:
Impressive!
It would be great if we could join forces. Roassal 3d offers all the low level bricks to build appealing visualization in 3d.

Alexandre


On Mar 11, 2014, at 11:24 AM, Sven Van Caekenberghe <sven@stfx.eu> wrote:

> Wow !
>
> On 11 Mar 2014, at 14:29, Richard Wettel <wettel@gmail.com> wrote:
>
>> Dear all
>>
>> After the short preview at the last Moose Dojo, I am happy to let you know that the first version of the brand new CodeCity is out.
>>
>> CodeCity is a 3D visualization engineased on a city metaphor, which enables us to depict software systems as cities. If you want to know more about this approach, have a look here:
>> http://www.inf.usi.ch/phd/wettel/codecity.html
>>
>> I have now implemented the basic functionality of CodeCity in Pharo and integrated it with Moose. Here is a code city of ArgoUML in the new CodeCity:
>>
>> <CodeCity-Argo.png>
>>
>> To install CodeCity, you need to run this code in a Moose image (setting Moose as a prerequisite is on my TODO list):
>>
>> Gofer new
>>   smalltalkhubUser: 'RichardWettel' project: 'CodeCity';
>>   configuration;
>>   load.
>> (Smalltalk at: #ConfigurationOfCodeCity) loadDevelopment
>>
>>
>> You can also get the latest successful build from:
>> http://ci.inria.fr/moose/job/codecity/lastSuccessfulBuild/artifact/codecity.zip
>>
>> The new CodeCity does not provide a configuration UI, but it relies on scripting. A script to obtain a city visualization of a Moose model is shown here:
>>
>> <CodeCity-ArgoScript.png>
>>
>>
>> A good way to get familiar with the scripting API of CodeCity are the examples. You can open CCBuilder in the new workspace (Playground) and you can browse the examples (the "e.g." tab).
>>
>> <PharoScreenshot.5.png>
>>
>> While CodeCity was initially aimed at software systems only, there is nothing that stops us to use it at visualizing any kind of data! One example was the visualization of the data taken from a database (population, city, countries, continents) presented at the Moose Dojo. I'm sure Doru will be pleased to show you more of that.
>>
>> In conclusion, I hope you'll enjoy playing/working with CodeCity as much as I have been enjoying re-implementing it in the last few months. Playing with CodeCity integrated in the Moose workflows is pure fun. But don' take my word for it, just give it a try!
>>
>> Cheers
>> Ricky
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

~~Jannik Laval~~
École des Mines de Douai
Enseignant-chercheur
http://www.jannik-laval.eu
http://car.mines-douai.fr/

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

~~Jannik Laval~~
École des Mines de Douai
Enseignant-chercheur
http://www.jannik-laval.eu
http://car.mines-douai.fr/



_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

~~Jannik Laval~~
École des Mines de Douai
Enseignant-chercheur
http://www.jannik-laval.eu
http://car.mines-douai.fr/


_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev