networkx.algorithms.dag.
dag_longest_path
Returns the longest path in a DAG
NetworkXNotImplemented
See also
dag_longest_path_length()