[Seaside] Re: Re: Mondrian in Squeak?
itsme213
itsme213 at hotmail.com
Tue Dec 18 08:09:08 UTC 2007
That's more than enough examples right there, perfect, thank you Lukas.
"Lukas Renggli" <renggli at gmail.com> wrote in message
news:67628d690712172216y41721a71xb1093aff9454bbf at mail.gmail.com...
>> Great! Any example (or hint) on how to build up the graph for
>> MOViewer newOn: aGraph?
>> e.g. what is the rough equivalent of this original Mondrian code?
>> view := ViewRenderer new.
>> view nodes: model classes
>> using: (Rectangle withBorder width: #NOA; height: #NOM;
>> liniarColor:
>> #LOC within: model classes).
>> view edges: model inheritances
>> using: (Line from: #superclass to: #subclass).
>> view layout: TreeLayout new.
>> view open.
>
> Have a look at the examples on the class-side of MOPainting, I don't
> exactly remember how it worked. The example #createSystemComplexityOf:
> does essentially what you ask for, plus some more things ...
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
More information about the seaside
mailing list