On May 14, 2013, at 7:55 PM, Juraj Kubelka <Juraj.Kubelka@gmail.com> wrote:

Hi Stef,

please, can you be more specific? Do you want something like this?

I do not remember the creation interface of a Distribution Map but for any label displayed in any layout
we should be able to shorten them using a kind of protocol

        removePrefix: 'Seaside*'
        removePrefixes: #('SW*' 'Seaside*')

        removePostFix: '*Test'
        removePostFixes:  #('*Tests'  '*Test')

        contractUpTo: 6

contractUpTo: should use Contractor this is a simple class that remove letters based on thier frequency.

Stef


-=-=-=-
view := ROMondrianViewBuilder new.
view shape rectangle withText: #printString; removePrefix: 'Seaside*'; removePostFix: '*Test'.
-=-=-=-

Thanks,
Jura


2013/5/14 Stéphane Ducasse <stephane.ducasse@inria.fr>
Juraj

did you look at Distribution Map because we should really improve it.
For example introducing an API to control label is important in all the visualization based on top of roassal

        removePrefix: 'Seaside*'
        removePrefixes: #('SW*' 'Seaside*')

        removePostFix: '*Test'
        removePostFixes:  #('*Tests'  '*Test')

        contractUpTo: 6

I think that we are quite poor with the customisation of the visualizations we produce.
We do them but after the last 10% are not done. So we end up with ugly distributionMap and other just because of
that.

We did Konkrator just as a step to improve the situation but nobody uses it :).


Stef
_______________________________________________
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