LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gxl2gv

converts GXL to Graphviz DOT format

TLDR

Convert GXL to DOT
$ gxl2gv [input.gxl] -o [output.gv]
copy
Output to stdout
$ gxl2gv [input.gxl]
copy
Process multiple files
$ gxl2gv [file1.gxl] [file2.gxl] -o [output.gv]
copy

SYNOPSIS

gxl2gv [options] [files]

DESCRIPTION

gxl2gv converts between graphs represented in GXL (Graph eXchange Language) and in the GV language. It enables importing XML-based graph data into the Graphviz ecosystem.Unless a conversion type is specified using a flag, gxl2gv deduces the type of conversion from the suffix of the input file: a ".gv" suffix causes conversion from GV to GXL, and a ".gxl" suffix causes conversion from GXL to GV. When input is from a pipe, the conversion type is inferred from the executable name.GXL supports a richer graph model than GV. gxl2gv maps GXL constructs into analogous GV constructs when possible; otherwise the GXL information is stored as an attribute.

PARAMETERS

FILES

Input GXL files.
-o FILE
Output DOT file.
-d
Output directed graph.
-?
Display help information.

CAVEATS

Part of Graphviz package. Requires valid GXL input. Some attributes may not convert.

HISTORY

gxl2gv is part of the Graphviz project, created at AT&T Labs for XML-based graph interchange.

SEE ALSO

gv2gxl(1), graphml2gv(1), dot(1)

Copied to clipboard
Kai