Confluent flow algorithm based on NetworkX.