gml2gv
GML to Graphviz DOT format converter
TLDR
Convert GML to DOT
$ gml2gv [input.gml] -o [output.gv]
Convert to stdout$ gml2gv [input.gml]
SYNOPSIS
gml2gv [options] [files]
DESCRIPTION
gml2gv converts graphs from GML (Graph Modelling Language) format to DOT format used by Graphviz. It enables using GML graphs with Graphviz visualization tools.GML is a portable format for graph description. The converter preserves graph structure for rendering with dot, neato, or other Graphviz layout engines.
PARAMETERS
FILES
GML input files. Reads from stdin if omitted.-o FILE
Output file. Writes to stdout if omitted.-g NAME
Name for the generated graph. Subsequent graphs get an appended integer.-v
Verbose mode.-?
Display usage information and exit.
INSTALL
sudo apt install graphviz
sudo dnf install graphviz
sudo pacman -S graphviz
sudo apk add graphviz
sudo zypper install graphviz
brew install graphviz
nix profile install nixpkgs#graphviz
CAVEATS
Part of Graphviz. Some GML features may not have DOT equivalents. Check attribute preservation.
HISTORY
gml2gv is part of Graphviz, providing format conversion between common graph description languages.
SEE ALSO
dot(1), gv2gml(1), graphml2gv(1)
