cityImage.straightness_centrality# cityImage.straightness_centrality(ig_graph, weight, normalized=True)[source]# Calculate straightness centrality from an igraph graph. Straightness is the mean ratio between Euclidean distance and weighted network distance to all reachable targets. Return type: dict[int, float]