1GRAPHML2GV(1) General Commands Manual GRAPHML2GV(1)
2
3
4
6 graphml2gv - GRAPHML-DOT converter
7
9 graphml2gv [ -?v ] [ -ggname ] [ -ooutfile ] [ files ]
10
12 graphml2gv converts a graph specified in the GRAPHML format to a graph
13 in the GV (formerly DOT) format.
14
16 The following options are supported:
17
18 -v Turns on verbose mode
19
20 -? Prints usage information and exits.
21
22 -ggname
23 The string gname is used as the name of the generated graph. If
24 multiple graphs are generated, subsequent graphs use the name
25 gname appended with an integer.
26
27 -ooutfile
28 Prints output to the file outfile. If not given, graphml2gv uses
29 stdout.
30
31
32 OPERANDS
33 The following operand is supported:
34
35 files Names of files containing 1 or more graphs in GRAPHML. If no
36 files operand is specified, the standard input will be used.
37
39 Return 0 if there were no problems during conversion; and non-zero if
40 any error occurred.
41
43 As both the graph and graphics models of GV and GML differ signifi‐
44 cantly, the conversion can only be at best approximate. In particular,
45 GV currently has no notion of hyperedges or edges containing graphs.
46
47 At present, graphml2gv only supports the basic graph topology. Specifi‐
48 cally, the <KEY> and <DATA> elements are not handled, though they could
49 be.
50
52 Emden R. Gansner <erg@research.att.com>
53
55 dot(1), libcgraph(3)
56
57
58
59 14 July 2011 GRAPHML2GV(1)