Linux command
gxl2gv 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Convert GXL to DOT
gxl2gv [input.gxl] -o [output.gv]
Output to stdout
gxl2gv [input.gxl]
Process multiple files
gxl2gv [file1.gxl] [file2.gxl] -o [output.gv]
说明
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.
参数
- -o _FILE_
- Output DOT file.
- -d
- Output directed graph.
- -?
- Display help information.
FAQ
What is the gxl2gv command used for?
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.
How do I run a basic gxl2gv example?
Run `gxl2gv [input.gxl] -o [output.gv]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -o _FILE_ do in gxl2gv?
Output DOT file.