<spell start="1.189907999E9"></spell>
to meet the 'DateTime' format specification. See the attached diff file for details.private static final DateFormat DATEF = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ssZ");
Hi Dylan,I have commited an update of FileSinkGEXF that should handle the dynamics ... You can get it on github.You can use it like this :Graph g = new SingleGraph("data");FileSinkGEXF fsinkgexf = new FileSinkGEXF();g.addSink(fsinkgexf);fsinkgexf.begin("output.gexf");addTonsOfDynamicGraphEvents(g);
fsinkgexf.end();It should be really buggy so ... please report bugs you will find :)Hope this will help ...
Guilhelm--2013/7/31 Dylan Hutchison <dhutchis AT stevens.edu>
Hi there,Back in January an email went around on using the Timeline class plus FileSinkGEXF to record a stream of graph events to a Timeline object, and at a later time, write out all those events to a GEXF file via FileSinkGEXF. Since then, Timeline has seen good development and has really nice playback methods. But, there still does not appear to be any way to save a Timeline (or Graph in general) to a GEXF file.Does anyone have any suggestions on how to save a dynamic graph to a GEXF file?Ideally, I would like to write something like this:Timeline timeline = new Timeline();Graph g = new SingleGraph("data");timeline.begin(g);addTonsOfDynamicGraphEvents(g);
timeline.end();//timeline.playback(); // Side note: Really useful method for playing back to a Graph g// Can we play back to a file instead?FileSinkGEXF fsinkgexf = new FileSinkGEXF();fsinkgexf.begin("output.gexf");fsinkgexf.playbackTo(fsinkgexf, "output.gexf"); // made up methodThanks,Dylan Hutchison
Guilhelm Savin
PhD Student of Computer ScienceLITIS, University of Le Havre
\/\/\/\/\/\/
Attachment:
FileSinkGEXF.java.diff
Description: Binary data
Archives gérées par MHonArc 2.6.16.