NetworkX

Table Of Contents

Previous topic

networkx.algorithms.matching.max_weight_matching

Next topic

networkx.algorithms.mixing.degree_assortativity

Mixing Patterns

Mixing matrices and assortativity coefficients.

Assortativity

degree_assortativity(G) Compute degree assortativity of graph.
attribute_assortativity(G, attribute) Compute assortativity for node attributes.
numeric_assortativity(G, attribute) Compute assortativity for numerical node attributes.
neighbor_connectivity(G) Compute neighbor connectivity of graph.
degree_pearsonr(G) Compute degree assortativity of graph.

Mixing

attribute_mixing_matrix(G, attribute[, ...]) Return mixing matrix for attribute.
degree_mixing_matrix(G[, normalized]) Return mixing matrix for attribute.
degree_mixing_dict(G[, normalized]) Return dictionary representation of mixing matrix for degree.
attribute_mixing_dict(G, attribute[, normalized]) Return dictionary representation of mixing matrix for attribute.