FromAdjacencyMatrix[m]
constructs a graph from a given adjacency matrix , using a circular embedding.
FromAdjacencyMatrix[m,v]
uses as the embedding for the resulting graph. An option Type that takes on the values Directed or Undirected can be used to affect the type of graph produced. The default value of Type is Undirected.
FromAdjacencyMatrix[m,EdgeWeight]
interprets the entries in as edge weights, with infinity representing missing edges, and from this constructs a weighted graph using a circular embedding.
FromAdjacencyMatrix[m,v,EdgeWeight]
uses as the embedding for the resulting graph. The option Type can be used along with the EdgeWeight tag.


FromAdjacencyMatrix
FromAdjacencyMatrix[m]
constructs a graph from a given adjacency matrix , using a circular embedding.
FromAdjacencyMatrix[m,v]
uses as the embedding for the resulting graph. An option Type that takes on the values Directed or Undirected can be used to affect the type of graph produced. The default value of Type is Undirected.
FromAdjacencyMatrix[m,EdgeWeight]
interprets the entries in as edge weights, with infinity representing missing edges, and from this constructs a weighted graph using a circular embedding.
FromAdjacencyMatrix[m,v,EdgeWeight]
uses as the embedding for the resulting graph. The option Type can be used along with the EdgeWeight tag.
Details and Options
- FromAdjacencyMatrix functionality is now available in the built-in Wolfram Language function AdjacencyGraph.
- To use FromAdjacencyMatrix, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Tech Notes
Related Guides
-
▪
- Graph Construction and Representations ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
Text
Wolfram Research (2012), FromAdjacencyMatrix, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/FromAdjacencyMatrix.html.
CMS
Wolfram Language. 2012. "FromAdjacencyMatrix." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/FromAdjacencyMatrix.html.
APA
Wolfram Language. (2012). FromAdjacencyMatrix. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/FromAdjacencyMatrix.html
BibTeX
@misc{reference.wolfram_2025_fromadjacencymatrix, author="Wolfram Research", title="{FromAdjacencyMatrix}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/FromAdjacencyMatrix.html}", note=[Accessed: 09-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_fromadjacencymatrix, organization={Wolfram Research}, title={FromAdjacencyMatrix}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/FromAdjacencyMatrix.html}, note=[Accessed: 09-August-2025]}