AdjacencyGraph
A Graph built from an n x n 0/1 adjacency matrix.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
AdjacencyGraph✓AdjacencyGraph(matrix)vertices 1..n; a SYMMETRIC matrix gives an undirected graph (one edge per i < j with a nonzero entry), anything else gives a directed graph (one edge per nonzero (i, j), including self-loops).AdjacencyGraph(vertices, matrix)the same, with vertices labelled by the given list instead of 1..n.Typed signatures
| Type | Package | Applies |
|---|---|---|
(any, any?) -> value | combinatorics | always |
Examples
About
| Examples | 12 |
|---|---|
| Checked against | Wolfram Language 12 agree |
| Crosswalk | Wolfram Language |
See also: AdjacencyMatrix, Graph