normalized_mutual_weight(G, u, v, norm=<built-in function sum>, weight=None)
:None:None:`norm`
specifies how the normalization factor is computed. It must be a function that takes a single argument and returns a number. The argument will be an iterable of mutual weights of pairs (u, w)
, where w
ranges over each (in- and out-)neighbor of u
. Commons values for :None:None:`normalization`
are sum
and max
.
:None:None:`weight`
can be None
or a string, if None, all edge weights are considered equal. Otherwise holds the name of the edge attribute used as weight.
Returns normalized mutual weight of the edges from :None:None:`u`
to :None:None:`v`
with respect to the mutual weights of the neighbors of :None:None:`u`
in :None:None:`G`
.
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them