I need to find a longest path in an unweighted graph from s to t.
I am using NetworkX, which has an algorithm for finding a longest path in a directed, acyclic graph, but I am not able to specify the source and the target nodes.
I have not been able to find any info online, but it seems like such an obvious algorithm to have laying around. Is there any way I can do this?