1GXL2DOT,DOT2GXL(1)          General Commands Manual         GXL2DOT,DOT2GXL(1)
2
3
4

NAME

6       gxl2dot,dot2gxl - GXL-DOT converters
7

SYNOPSIS

9       gxl2dot [ -gd?  ] [ -ooutfile ] [ files ]
10       dot2gxl [ -gd?  ] [ -ooutfile ] [ files ]
11

DESCRIPTION

13       gxl2dot  converts between graphs represented in GXL and in the DOT lan‐
14       guage. Unless a conversion type is specified using a flag, gxl2dot will
15       deduce  the  type  of  conversion  from the suffix of the input file, a
16       ".dot" suffix causing a conversion from DOT to GXL, and a ".gxl" suffix
17       causing  a conversion from GXL to DOT.  If no suffix is available, e.g.
18       when the input is from a pipe, and  no  flags  are  used  then  gxl2dot
19       assumes  the  type  of  the input file from its executable name so that
20       gxl2dot converts from GXL to DOT, and dot2gxl converts from DOT to GXL.
21
22       GXL supports a much richer graph model than DOT. gxl2dot  will  attempt
23       to  map  GXL  constructs  into the analogous DOT construct when this is
24       possible. If not, the GXL information is stored as  an  attribute.  The
25       intention  is  that applying gxl2dot|dot2gxl is semantically equivalent
26       to the 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 DOT 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 DOT 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 DOT.  If
47               no files operand is specified, the standard input will be used.
48

RETURN CODES

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

BUGS

54       gxl2dot 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 gxl2dot 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             GXL2DOT,DOT2GXL(1)
Impressum