Harmonic Centrality
The Harmonic Centrality algorithm calculates the harmonic centrality of each vertex in the graph. Harmonic Centrality is a variant of Closeness Centrality. In a (not necessarily connected) graph, the harmonic centrality reverses the sum and reciprocal operations in the definition of closeness centrality:
If your graph has many unconnected clusters, the harmonic centrality could be a better indicator of centrality than closeness centrality.
For more information, see Harmonic Centrality.
Specifications
Parameters
Name | Description | Data type |
| Vertex types to calculate harmonic centrality for |
|
| Edge types to traverse |
|
| Reverse edge types. For undirected edges, fill in the edge type name in this parameter as well as the |
|
| The maximum number of hops the algorithm would consider for each vertex. If set to a non-positive value, the limit is ignored. |
|
| Sort the scores high to low and output the highest |
|
| If |
|
| If |
|
| If not empty, store centrality values (FLOAT) to this attribute |
|
| If not empty, write output to this file in CSV. |
|
| If |
|
Example
If we have the following graph, we can see that Ivy is the most central of the five vertices. Running the algorithm on the graph shows that Ivy has the highest centrality score:
Visualized results
Last updated