1GXL2GV,GV2GXL(1) General Commands Manual GXL2GV,GV2GXL(1)
2
3
4
6 gxl2gv,gv2gxl - GXL-GV converters
7
9 gxl2gv [ -gd? ] [ -ooutfile ] [ files ]
10 gv2gxl [ -gd? ] [ -ooutfile ] [ files ]
11
13 gxl2gv converts between graphs represented in GXL and in the GV lan‐
14 guage. Unless a conversion type is specified using a flag, gxl2gv will
15 deduce the type of conversion from the suffix of the input file, a
16 ".gv" (or a ".dot") suffix causing a conversion from GV to GXL, and a
17 ".gxl" suffix causing a conversion from GXL to GV. If no suffix is
18 available, e.g. when the input is from a pipe, and no flags are used
19 then gxl2gv assumes the type of the input file from its executable name
20 so that gxl2gv converts from GXL to GV, and gv2gxl converts from GV to
21 GXL.
22
23 GXL supports a much richer graph model than GV. gxl2gv will attempt to
24 map GXL constructs into the analogous GV construct when this is possi‐
25 ble. If not, the GXL information is stored as an attribute. The inten‐
26 tion is that applying gxl2gv|gv2gxl is semantically equivalent to the
27 identity operator.
28
30 The following options are supported:
31
32 -g The command name and input file extensions are ignored, the
33 input is taken as a GV file and a GXL file is generated.
34
35 -d The command name and input file extensions are ignored, the
36 input is taken as a GXL file and a GV file is generated.
37
38 -? Prints usage information and exits.
39
40 -o outfile
41 If specified, the output will be written into the file outfile.
42 Otherwise, output is written to standard out.
43
45 The following operand is supported:
46
47 files Names of files containing 1 or more graphs in GXL or GV. If no
48 files operand is specified, the standard input will be used.
49
51 Both gxl2gv and gv2gxl return 0 if there were no problems during con‐
52 version; and non-zero if any error occurred.
53
55 gxl2gv will only convert in one direction even if given multiple files
56 with varying suffixes.
57
58 The conversion can only handle one graph per GXL file.
59
60 There are some GXL constructs which gxl2gv cannot handle.
61
63 Krishnam Pericherla <kp@research.att.com>
64 Emden R. Gansner <erg@research.att.com>
65
67 dot(1), libgraph(3), libagraph(3), neato(1), twopi(1)
68
69
70
71 20 December 2002 GXL2GV,GV2GXL(1)