Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mm2gv(1) [debian man page]

MM2GV(1)						      General Commands Manual							  MM2GV(1)

NAME
mm2gv - Matrix Market-DOT converters SYNOPSIS
mm2gv [ -cluv? ] [ -ooutfile ] [ file ] DESCRIPTION
mm2gv converts a sparse matrix of the Matrix Market format to a graph in the GV (formerly DOT) format. OPTIONS
The following options are supported: -c This flag causes mm2gv to assign colors to the edges. The matrix element is scaled to the range [0,1] depending on where it lies between the minimum and maximum set matrix values. This scaled value is used as the "wt" attribute of the corresponding edge. In addition, this scalar value is mapped to an RGB value, which is stored as the edge "color". -l If set, mm2gv attaches a label to the graph indicating the base name of the input file, and the number of nodes and edges. -u If specified, the graph is assumed to be undirected. By default, the graph generated is directed. -v This flag causes mm2gv to store the matrix values as the "len" attribute of the corresponding edge. -ooutfile Prints output to the file outfile. If not given, mm2gv uses stdout. OPERANDS The following operand is supported: file Name of the file in MatrixMarket format. If no file 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. AUTHORS
Yifan Hu <yifanhu@research.att.com> Emden R. Gansner <erg@research.att.com> ADDITIONAL INFO
See http://math.nist.gov/MatrixMarket/ for description of the format and http://www.cise.ufl.edu/research/sparse/matrices/ for a large col- lection of sparse matrices in this format. 31 July 2008 MM2GV(1)

Check Out this Related Man Page

GML2GV(1)						      General Commands Manual							 GML2GV(1)

NAME
gml2gv - GML-DOT converter SYNOPSIS
gml2gv [ -? ] [ -ooutfile ] [ files ] DESCRIPTION
gml2gv converts a graph specified in the GML format to a graph in the GV (formerly DOT) format. OPTIONS
The following options are supported: -? Prints usage information and exits. -ooutfile Prints output to the file outfile. If not given, gml2gv uses stdout. OPERANDS 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 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 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. AUTHORS
Emden R. Gansner <erg@research.att.com> SEE ALSO
dot(1), libcgraph(3) 9 July 2009 GML2GV(1)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Jumpstart?

I have been asked to research Jumpstart and don't know where to begin! Any ideas would be much appreciated! Thanks! :-) (1 Reply)
Discussion started by: avana100
1 Replies

2. UNIX for Dummies Questions & Answers

research proposal for PG

hi friends i have just completed my graduation and applied for Post graduation i have to submit a research proposal of OS in the interview i m a beginner & only read galvin & silbershcatz book on operating systems can anyone help me in that ... thanks in advance (3 Replies)
Discussion started by: iet.manish
3 Replies

3. Shell Programming and Scripting

Table to Matrix

Hi, I have a table in the format: 1 0 -1 1 0 2 0 1 -1 0 0 0 3 0 1 1 0 0 0 0 0 0 etc. I am trying to input this to a program, however it is complaining about the fact that it is not in matrix format. How do I add 0's to end of the rows to make them even? Thanks in advance! (2 Replies)
Discussion started by: Rhavin
2 Replies