1MM2GV(1) General Commands Manual MM2GV(1)
2
3
4
6 mm2gv - Matrix Market-DOT converters
7
9 mm2gv [ -cluv? ] [ -ooutfile ] [ file ]
10
12 mm2gv converts a sparse matrix of the Matrix Market format to a graph
13 in the GV (formerly DOT) format.
14
16 The following options are supported:
17
18 -c This flag causes mm2gv to assign colors to the edges. The matrix
19 element is scaled to the range [0,1] depending on where it lies
20 between the minimum and maximum set matrix values. This scaled
21 value is used as the "wt" attribute of the corresponding edge.
22 In addition, this scalar value is mapped to an RGB value, which
23 is stored as the edge "color".
24
25 -l If set, mm2gv attaches a label to the graph indicating the base
26 name of the input file, and the number of nodes and edges.
27
28 -u If specified, the graph is assumed to be undirected. By default,
29 the graph generated is directed.
30
31 -v This flag causes mm2gv to store the matrix values as the "len"
32 attribute of the corresponding edge.
33
34 -ooutfile
35 Prints output to the file outfile. If not given, mm2gv uses std‐
36 out.
37
38
39 OPERANDS
40 The following operand is supported:
41
42 file Name of the file in MatrixMarket format. If no file operand is
43 specified, the standard input will be used.
44
46 Return 0 if there were no problems during conversion; and non-zero if
47 any error occurred.
48
50 Yifan Hu <yifanhu@research.att.com>
51 Emden R. Gansner <erg@research.att.com>
52
54 See http://math.nist.gov/MatrixMarket/ for description of the format
55 and http://www.cise.ufl.edu/research/sparse/matrices/ for a large col‐
56 lection of sparse matrices in this format.
57
58
59
60 31 July 2008 MM2GV(1)