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[, nodes]) Compute degree assortativity of graph.
attribute_assortativity(G, attribute[, nodes]) Compute assortativity for node attributes.
numeric_assortativity(G, attribute[, nodes]) Compute assortativity for numerical node attributes.
degree_pearsonr(G[, nodes]) Compute degree assortativity of graph.

Mixing

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