Nice addition
I think that having cool abstractions is the best way to control complexity!

Stef

On 13/7/14 01:28, Alexandre Bergel wrote:
Hi!

I’ve just introduced a metric normalizer. This has been such a need!

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.

es := RTEllipse elementsOn: RTObject withAllSubclasses.
es @ RTPopup.
v addAll: es.

RTMetricNormalizer new
elements: es;
normalizeColor: #numberOfLinesOfCode;
alphaColor: 0.4;
normalizeSize: #numberOfMethods min: 5 max: 15;
normalizeX: #numberOfMethods min: 0 max: 300;
normalizeY: #numberOfVariables min: 0 max: 300.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Here is the rendering:


This will be a nice base when we will build GraphET3

Cheers,
Alexandre

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





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