Hierarchy# Flow Hierarchy. flow_hierarchy(G[, weight]) Returns the flow hierarchy of a directed network.