Problem almost solved. I didn't initialize the ROView as I should. But axis are still
missing :s
----- Mail original -----
De: "Kevin Lanvin"
<kevin.lanvin(a)inria.fr>
À: "Moose-related development" <moose-dev(a)iam.unibe.ch>
Envoyé: Vendredi 3 Janvier 2014 13:56:59
Objet: [Moose-dev] Re: exporting a roassal view in plain html
In fact i'm using a GETDiagramBuilder and it's almost working : in
the html file, node[ ] and links[ ] are still empty ...
"
var dataset = {
nodes:[ ], links:[ ] };
"
----- Mail original -----
De: "Alexandre Bergel"
<alexandre.bergel(a)me.com>
À: "Moose-related development" <moose-dev(a)iam.unibe.ch>
Envoyé: Vendredi 3 Janvier 2014 13:34:53
Objet: [Moose-dev] exporting a roassal view in plain html
In the last version of Roassal, you can do:
-=—=-=—=-=—=-=—=
b := ROMondrianViewBuilder new.
b nodes: Collection withAllSubclasses.
b edgesFrom: #superclass.
b treeLayout.
b applyLayout.
view := b raw.
ROPharoHTMLExporter new
view: view;
extractUnderFileName: 'foo.html’
-=—=-=—=-=—=-=—=
https://www.facebook.com/photo.php?fbid=567001390053129&set=a.557271187…
Thanks Kevin por pushing me on this :-)
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev