WLJS LogoWLJS Notebook

KirchhoffGraph

KirchhoffGraph[kmat] gives the graph with Kirchhoff matrix kmat.

  • KirchhoffGraph[{v1, v2, …}, kmat] gives the graph with vertices vi and Kirchhoff matrix kmat.

Examples

KirchhoffGraph[{{2, -1, -1}, {-1, 2, -1}, {-1, -1, 2}}]
KirchhoffGraph[KirchhoffMatrix[CompleteGraph[4]]]

Please visit the official Wolfram Language Reference for more details.

On this page