Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

Closeness centrality measure not working?

0 votes
Hello, I have a diagram with some 250 nodes inteconnected by 550 edges (no self-loops) and I want to perform a closeness centrality measuring (interpretation of edge directionality/name disabled). However, the measuring results always to all nodes getting the value 0.00. The other centrality measures work without a problem (except the "graph centrality" which gets the same result as closeness centrality) - they provide a proper value with corresponding size/colour readjustment. Does anyone know of a solution?

Thanks!
in Help by

2 Answers

0 votes
 
Best answer

Most likely, your graph is not connected. Closeness is defined as the multiplicative inverse (1/x) of the sum of the distances of the given node to all other nodes. If the graph is not connected, the distance is considered to be infinity, resulting in a centrality value of 0.0. The problem with Graph centrality is the same since it is defined as the maximum of the distances of the given node to all other nodes.

To detect the connect components of your graph, you can use the Auto Grouping feature.
by [yWorks] (26.8k points)
0 votes
Right you were, there was one node that lacked connection. Now it works, thank you very much!
by
Legal Disclosure | Privacy Policy
...