Sum of inverse shortest path distances to all other nodes. Unlike closeness,
harmonic centrality handles disconnected graphs naturally (unreachable nodes
contribute 0 instead of making the measure undefined).
Usage
centrality_harmonic(x, mode = "all", ...)
centrality_inharmonic(x, ...)
centrality_outharmonic(x, ...)
Value
Named numeric vector of harmonic centrality values.