GraphStream Users

Archives de la liste Aide


Re: Exporting graph in GEXF format


Chronologique Discussions 
  • From: guilhelm savin <guilhelm.savin AT gmail.com>
  • To: graphstream-users AT litislab.fr, Rajesh Veeranki <rveeranki01 AT gmail.com>
  • Subject: Re: Exporting graph in GEXF format
  • Date: Sun, 1 Jul 2012 22:50:54 +0200

Sorry, I was wrong.

FileSinkGEXF is not just experimental : it is a work in progress.
It will not export the graph.

We will try to finalize it soon ...


2012/7/1 guilhelm savin <guilhelm.savin AT gmail.com>
Hi Rajesh,

Maybe trying to set fsb to a new FileSinkGEXF.

Graph g = new SingleGraph("");
| FileSinkBase fsb = new FileSinkGEXF();
| FileWriter f = new FileWriter("out.txt");
| PrintWriter pw = new PrintWriter(f);
| fsb.writeAll(g, pw);

FileSinkGEXF is experimental. You may encoutered bugs ...

Regards.

2012/7/1 Rajesh Veeranki <rveeranki01 AT gmail.com>
Hi ,
I'm back with a new question.I want to export the graph into GEXF format. I tried something like this, but its giving a null pointer exception.
.................
                Graph g = new SingleGraph("");
                FileSinkBase fsb = null;
FileWriter f = new FileWriter("out.txt");
PrintWriter pw = new PrintWriter(f);
fsb.writeAll(g, pw);
.................
Please help  me regarding this and how to export it.




Thanks,
Rajesh V.




--
Guilhelm Savin
PhD Student of Computer Science




--
Guilhelm Savin
PhD Student of Computer Science




Archives gérées par MHonArc 2.6.16.

Top of page