Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

networkx.algorithms.centrality.trophic

Trophic levels

Functions

trophic_differences(G[, weight])

Compute the trophic differences of the edges of a directed graph.

trophic_incoherence_parameter(G[, weight, …])

Compute the trophic incoherence parameter of a graph.

trophic_levels(G[, weight])

Compute the trophic levels of nodes.