Hi,
> > I would like to know if all the kind of shapes supported by Mondrian are those under the MOShape hierarchy.Yes.
Yes. A new exporter. This should not much work. Have a look at the method exportAsSVG and class MOEaselCommandSVGExporter.
> Also, in order to simplify the task, I would like to define an scenario of use. For example, the html file is going to be generated after a selection of a button called "generate html5". After this we may make a generalization.
Open a Mondrian easel, you have an example 'system complexity'. It contains the following code:
> > Finally, can you tell me what do you mean by "First, start with a system complexity. Then, add labels and popup."? I didn't follow you :( Are they Mondrian components?
-=-=-=-=-=-=-=-=-=-=-=-=
view shape rectangle
width: [:cls | cls instVarNames size * 3];
height: [:cls | cls methods size ];
linearFillColor: [:cls | cls methods inject: 0 into: [:sum :el | sum + el getSource lineCount]] within: Collection withAllSubclasses.
view nodes: Collection withAllSubclasses.
view edgesFrom: #superclass.
view treeLayout
-=-=-=-=-=-=-=-=-=-=-=-=
This is the simplest graphical visualization. Try to generate it as protovis code.
Then, we will have to deal with the nesting:
-=-=-=-=-=-=-=-=-=-=-=-=
view nodes: (1 to: 10) forEach: [ :each |
view nodes: ($a to: $z).
view gridLayout
]
-=-=-=-=-=-=-=-=-=-=-=-=
Then, edges will come into play.
Cheers,
Alexandre
> _______________________________________________
> > Thanks!
> > Cheers
> > Santiago
> >
> > 2011/5/19 Alexandre Bergel <abergel@dcc.uchile.cl>
> > Hi Santiago,
> >
> > Apparently, your refactoring did not cause a significant slowdown. This is cool. We will see if people start to complain.
> >
> > I think the next step is to get a hand on ProtoVis. Try to play with it a bit to know how it works. You should then be able to produce a visitor that generates HTML5/Protovis code.
> >
> > Then, there are two scenarios that we would like you to explore:
> > - producing html files
> > - being behind a seaside server
> >
> > I think that we need to be incremental on the features to covers. First, start with a system complexity. Then, add labels and popup. Handling interaction will be important. I feel this cannot be effectively done without being behind a seaside server.
> >
> > Doru, anything to add?
> >
> > Cheers,
> > Alexandre
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Ing. Santiago A. Vidal
> > ISISTAN Research Institute
> > UNICEN University
> > Paraje Arroyo Seco
> > Campus Universitario
> > (B7001BBO) Tandil,
> > Bs. As. - Argentina
> > Phone: 54 2293 439840 Ext. 42
> > Fax: 54 2293 439681
> > Email: svidal@exa.unicen.edu.ar
> > http://www.exa.unicen.edu.ar/~svidal
>
> --
> www.tudorgirba.com
>
> "One cannot do more than one can do."
>
>
>
>
>
>
> --
> Ing. Santiago A. Vidal
> ISISTAN Research Institute
> UNICEN University
> Paraje Arroyo Seco
> Campus Universitario
> (B7001BBO) Tandil,
> Bs. As. - Argentina
> Phone: 54 2293 439840 Ext. 42
> Fax: 54 2293 439681
> Email: svidal@exa.unicen.edu.ar
> http://www.exa.unicen.edu.ar/~svidal
> 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