Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

graphml2gv (1)

Name

graphml2gv - DOT converter

Synopsis

graphml2gv [ -?v ] [ -ggname ] [ -ooutfile ] [ files ]

Description

GRAPHML2GV(1)               General Commands Manual              GRAPHML2GV(1)



NAME
       graphml2gv - GRAPHML-DOT converter

SYNOPSIS
       graphml2gv [ -?v ] [ -ggname ] [ -ooutfile ] [ files ]

DESCRIPTION
       graphml2gv  converts a graph specified in the GRAPHML format to a graph
       in the GV (formerly DOT) format.

OPTIONS
       The following options are supported:

       -v     Turns on verbose mode

       -?     Prints usage information and exits.

       -ggname
              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.

       -ooutfile
              Prints output to the file outfile. If not given, graphml2gv uses
              stdout.


       OPERANDS
              The following operand is supported:

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

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

LIMITATIONS
       As  both  the  graph  and graphics models of GV and GML differ signifi-
       cantly, the conversion can only be at best approximate.  In particular,
       GV currently has no notion of hyperedges or edges containing graphs.

       At present, graphml2gv only supports the basic graph topology. Specifi-
       cally, the <KEY> and <DATA> elements are not handled, though they could
       be.

AUTHORS
       Emden R. Gansner <erg@research.att.com>


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | image/graphviz   |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

SEE ALSO
       dot(1), libcgraph(3)



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source  was  downloaded from  http://gitlab.com/graphviz/graphviz/-/ar-
       chive/2.47.1/graphviz-2.47.1.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.graphviz.org/.



                                 14 July 2011                    GRAPHML2GV(1)