Articles /Network Graph Analysis /Part 3
Centrality, Influence, and Spectral Methods
Who matters in a network: from degree counts to the graph Laplacian
Graph TheoryPythonCentralitySpectral AnalysisNetwork Analysis
Articles /Network Graph Analysis /Part 3
Graph TheoryPythonCentralitySpectral AnalysisNetwork Analysis
Not all nodes are equal. Some sit at the crossroads of information flow; others anchor tightly-knit clusters. Centrality measures quantify importance from different angles, while spectral methods reveal global structure through the eigenvalues and eigenvectors of graph matrices. This article covers both, connecting to resistance distance and betweenness concepts from the Calendar Graph project ↗. It builds on the community structure ideas from Part 2 (Community Detection in Social Graphs).
"Important" depends on context. A node might be important because it has many connections (degree), because it lies on many shortest paths (betweenness), because it is close to all others (closeness), or because it connects to other important nodes (eigenvector centrality). Each definition answers a different question about influence and access.
PageRank is a damped variant of eigenvector centrality designed for directed graphs. A random walker follows outgoing links with probability d and teleports to a random node with probability 1−d. The stationary distribution of this walk defines PageRank. It famously powered early Google search and remains useful for ranking nodes in any directed network.

Imagine the graph as a resistor network where each edge is a 1-ohm resistor. The resistance distance between two nodes is the effective resistance between them. Unlike shortest-path distance, resistance distance accounts for all paths and their redundancy: more parallel paths mean lower resistance. This makes it a robust measure of connectivity that is less sensitive to single-edge failures. The Calendar Graph project ↗ uses resistance distance to identify structurally important connections in organizational networks.
The graph Laplacian L = D − A (degree matrix minus adjacency matrix) encodes global structure in its eigenvalues. The smallest eigenvalue is always 0 (with eigenvector proportional to the all-ones vector). The second-smallest eigenvalue, the algebraic connectivity, measures how well-connected the graph is. Its corresponding eigenvector, the Fiedler vector, provides a one-dimensional embedding that naturally partitions the graph into two clusters. This spectral bisection is the foundation of spectral clustering.

This technique has direct practical value. Chip designers use spectral bisection to partition circuits onto separate dies, minimizing the number of wires that cross the cut. Network engineers apply it to split backbone topologies into failure-independent zones. In social network analysis, the Fiedler vector reveals the most natural ideological or organizational fault line in a community — the split that would require severing the fewest relationships. The sign of each node's Fiedler value assigns it to one side; the magnitude indicates how strongly it belongs there. Nodes near zero sit on the boundary and are often the most interesting: they bridge the two groups.
Centrality and spectral methods characterize structure in existing graphs. What if the graph doesn't exist yet and has to be built from raw text?
If you're exploring related work and need hands-on help, I'm open to consulting and advisory. Get in touch›