Re: [jgrapht-users] Using GML Exporter to export a java file to a GML file
Brought to you by:
barak_naveh,
perfecthash
From: H.N. de R. <hnr...@gr...> - 2012-06-20 15:30:45
|
On Wed, Jun 20, 2012 at 06:22:46AM -0700, rima asmar wrote: Hello Rima, > Thank u for ur response. Actually I could write the code and export the file > to a gml file. But as u said, the gmlExporter dosn't allow the weights to be > exported, so i think that i'll try to use the dotExporter. > Something else that I was trying to do is to define the node's shape before > I export the file. Do u have any idea of how i can define the shape of the > node that I want befor exporting the file? if you're doing .dot, then using a ComponentAttributeProvider that gives every vertex a shape attribute might work, assuming Gephi supports these. You might want to go the other way around and first check which formats are imported by Gephi, including all the properties you want to pass, and then worry about exporting from jgrapht. After all, writing an export routine is less work than writing a new gephi. Cheers, Ernst |