GML2GV,GV2GML(1) | General Commands Manual | GML2GV,GV2GML(1) |
gml2gv,gv2gml - GML-DOT converters
gml2gv [ -?v ] [ -ggname ] [
-ooutfile ] [ files ]
gv2gml [ -? ] [ -ooutfile ] [ files ]
gml2gv converts a graph specified in the GML format to a graph in the GV (formerly DOT) format. gv2gml converts a graph specified in the GV format to a graph in the GML format.
The following options are supported:
The following operand is supported:
Return 0 if there were no problems during conversion; and non-zero if any error occurred.
As both the graph and graphics models of GV and GML differ significantly, the conversion is at best approximate. In particular, it is not clear how multiedges are differentiated in GML, so multiedges are created in GV with no user-available key. Also, no attribute information is lost, in that any GML attributes that aren't converted to GV equivalents are retained as attributes in the output graph.
At present, gv2gml does not support subgraphs and clusters. In addition, there does not appear to be a standard mechanism for specifying default node and edge attributes in GML, so any attributes are repeated for every node and edge.
Emden R. Gansner <erg@research.att.com>
24 June 2011 |