[Seaside] Re: Mondrian in Squeak?
itsme213 at hotmail.com
Tue Dec 18 00:11:48 UTC 2007
"Lukas Renggli" <renggli at gmail.com> wrote in message
> It is not really a port, but a different implementation. Porting to
> Squeak showed to be very difficult, as the original implementation was
> depending on the VW GUI framework. I haven't worked on it lately, but
> it should be rather complete.
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.
> Or do you want to render Mondrian to DOM (XHTML or SVG) elements?
Image-maps ... I will be happy to get a simple version of that working for
Many thanks - Sophie
More information about the seaside