1GXL2GV,GV2GXL(1)            General Commands Manual           GXL2GV,GV2GXL(1)
2
3
4

NAME

6       gxl2gv,gv2gxl - GXL-GV converters
7

SYNOPSIS

9       gxl2gv [ -gd?  ] [ -ooutfile ] [ files ]
10       gv2gxl [ -gd?  ] [ -ooutfile ] [ files ]
11

DESCRIPTION

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" suffix causing a conversion from GV to GXL, and a  ".gxl"  suffix
17       causing  a  conversion from GXL to GV.  If no suffix is available, e.g.
18       when the input is from a pipe,  and  no  flags  are  used  then  gxl2gv
19       assumes  the  type  of  the input file from its executable name so that
20       gxl2gv converts from GXL to GV, and gv2gxl converts from GV to GXL.
21
22       GXL supports a much richer graph model than GV. gxl2gv will attempt  to
23       map  GXL constructs into the analogous GV construct when this is possi‐
24       ble. If not, the GXL information is stored as an attribute. The  inten‐
25       tion  is  that applying gxl2gv|gv2gxl is semantically equivalent to the
26       identity operator.
27

OPTIONS

29       The following options are supported:
30
31       -g     The command name and input  file  extensions  are  ignored,  the
32              input is taken as a GV file and a GXL file is generated.
33
34       -d     The  command  name  and  input  file extensions are ignored, the
35              input is taken as a GXL file and a GV file is generated.
36
37       -?     Prints usage information and exits.
38
39       -o outfile
40              If specified, the output will be written into the file  outfile.
41              Otherwise, output is written to standard out.
42

OPERANDS

44       The following operand is supported:
45
46       files   Names of files containing 1 or more graphs in GXL or GV.  If no
47               files operand is specified, the standard input will be used.
48

RETURN CODES

50       Both gxl2gv and gv2gxl return 0 if there were no problems  during  con‐
51       version; and non-zero if any error occurred.
52

BUGS

54       gxl2gv  will only convert in one direction even if given multiple files
55       with varying suffixes.
56
57       The conversion can only handle one graph per GXL file.
58
59       There are some GXL constructs which gxl2gv cannot handle.
60

AUTHORS

62       Krishnam Pericherla <kp@research.att.com>
63       Emden R. Gansner <erg@research.att.com>
64

SEE ALSO

66       dot(1), libgraph(3), libagraph(3), neato(1), twopi(1)
67
68
69
70                               20 December 2002               GXL2GV,GV2GXL(1)
Impressum