OnWorks favicon

gml2gv - Online in the Cloud

Run gml2gv in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gml2gv that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gml2gv,gv2gml - GML-DOT converters


gml2gv [ -?v ] [ -ggname ] [ -ooutfile ] [ files ]
gv2gml [ -? ] [ -ooutfile ] [ files ]


gml2gv converts a graph specified in the GML format to a graph in the GV (formerly DOT)
format. gv2gml converts a graph specified in the GV format to a graph in the GML format.


The following options are supported:

-v Turns on verbose mode

-? Prints usage information and exits.

The string gname is used as the name of the generated graph. If multiple graphs
are generated, subsequent graphs use the name gname appended with an integer.

Prints output to the file outfile. If not given, gml2gv uses stdout.

The following operand is supported:

files Names of files containing 1 or more graphs in GML. If no files operand is
specified, the standard input will be used.


Return 0 if there were no problems during conversion; and non-zero if any error occurred.


As both the graph and graphics models of GV and GML differ significantly, the conversion
is at best approximate. In particular, it is not clear how multiedges are differentiated
in GML, so multiedges are created in GV with no user-available key. Also, no attribute
information is lost, in that any GML attributes that aren't converted to GV equivalents
are retained as attributes in the output graph.

At present, gv2gml does not support subgraphs and clusters. In addition, there does not
appear to be a standard mechanism for specifying default node and edge attributes in GML,
so any attributes are repeated for every node and edge.


Emden R. Gansner <[email protected]>

Use gml2gv online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 2
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 3
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    Download Osu!
  • 4
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 5
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    Download Metal detector based on RP2040
  • 6
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • More »

Linux commands