extract_node_betweenness(targets: list[number], *weights: list[number], {
    "param": value,
    ...
}) -> (betweenness: number)

Calculates the betweenness centrality for each node in the network. Betweenness centrality is a measure of the number of times a node acts as a bridge along the shortest path between two other nodes.

extract_node_betweenness(targets: list[number], *weights: list[number], {
    "param": value,
    ...
}) -> (betweenness: number)
directed
boolean
default:"false"

Whether the links are directed or not.

cutoff
[number, null]

The maximum path length to consider when calculating the betweenness. If cutoff is zero or negative then there is no such limit.