networkx/networkx — pull request #760 by jtorrents (2012-08-28 19:31:49+00:00)
Title: fix load_betweeness bug

When computing `load_betweenness` for one node in a digraph that is not strongly connected, NetworkX throws an error if the node of interest is not in the dictionary returned by the `_node_betweenness` helper function. Only nodes reachable from source are in that dictionary.

This pull request fixes the bug and adds a test that computes load betweenness for each node of a non strongly connected digraph. I think that this bug is the same reported in #755.