Directed Graph from Adjacency Matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg58783] Directed Graph from Adjacency Matrix
- From: confused <gtg368j at mail.gatech.edu>
- Date: Mon, 18 Jul 2005 03:21:21 -0400 (EDT)
- Organization: Georgia Institute of Technology
- Sender: owner-wri-mathgroup at wolfram.com
I am new to Mathematica. Here is my question. How would I get a directed graph from an adjacency matrix? For instance, the 3x3 matrix {{0,1,0},{0,0,1},{1,0,0}} defines a directed 3-cycle, but when I try to turn it into a graph using FromAdjacencyMatrix, Mathematica returns a graph with only two edges. Thank you.
- Follow-Ups:
- Re: Directed Graph from Adjacency Matrix
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Directed Graph from Adjacency Matrix
- From: Ian Roberts <mathgroup@quantica.com.au>
- Re: Directed Graph from Adjacency Matrix
- From: yehuda ben-shimol <bsyehuda@gmail.com>
- Re: Directed Graph from Adjacency Matrix