KirchhoffGraph
KirchhoffGraph[kmat] gives the graph with Kirchhoff matrix kmat.
KirchhoffGraph[{v1, v2, …}, kmat]gives the graph with verticesviand Kirchhoff matrixkmat.
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.