각 버텍스의 중심성 지표를 계산합니다.
[in :]
nx.degree_centrality(G)
[out:]
{1: 0.25,
2: 0.5,
3: 0.25,
4: 0.25,
5: 0.25,
6: 0.125,
7: 0.625,
8: 0.125,
9: 0.125}
[in :]
nx.betweenness_centrality(G)
[out:]
{1: 0.25,
2: 0.46428571428571425,
3: 0.0,
4: 0.0,
5: 0.0,
6: 0.0,
7: 0.7142857142857142,
8: 0.0,
9: 0.0}