GXL2GV,GV2GXL(1) | General Commands Manual | GXL2GV,GV2GXL(1) |
gxl2gv,gv2gxl - GXL-GV converters
gxl2gv [ -gd? ] [ -ooutfile ] [
files ]
gv2gxl [ -gd? ] [ -ooutfile ] [ files ]
gxl2gv converts between graphs represented in GXL and in the GV language. Unless a conversion type is specified using a flag, gxl2gv will deduce the type of conversion from the suffix of the input file, a ".gv" suffix causing a conversion from GV to GXL, and a ".gxl" suffix causing a conversion from GXL to GV. If no suffix is available, e.g. when the input is from a pipe, and no flags are used then gxl2gv assumes the type of the input file from its executable name so that gxl2gv converts from GXL to GV, and gv2gxl converts from GV to GXL.
GXL supports a much richer graph model than GV. gxl2gv will attempt to map GXL constructs into the analogous GV construct when this is possible. If not, the GXL information is stored as an attribute. The intention is that applying gxl2gv|gv2gxl is semantically equivalent to the identity operator.
The following options are supported:
The following operand is supported:
Both gxl2gv and gv2gxl return 0 if there were no problems during conversion; and non-zero if any error occurred.
gxl2gv will only convert in one direction even if given multiple files with varying suffixes.
The conversion can only handle one graph per GXL file.
There are some GXL constructs which gxl2gv cannot handle.
Krishnam Pericherla <kp@research.att.com>
Emden R. Gansner <erg@research.att.com>
20 December 2002 |