http://js.cytoscape.org/#eles.betweennessCentrality
Optional
A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or whether the undirected centrality is calculated (false, default).
A function that returns the weight for the edge.
http://js.cytoscape.org/#eles.betweennessCentrality