WLJS LogoWLJS Notebook

IncidenceGraph

IncidenceGraph[m] gives the graph with incidence matrix m.

IncidenceGraph[{v1,v2,…},m] gives the graph with vertices vi and incidence matrix m.

Examples

Create a graph from an incidence matrix:

IncidenceGraph[{{1, 1, 0}, {1, 0, 1}, {0, 1, 1}}]

Please visit the official Wolfram Language Reference for more details.

On this page