I will need to setup a graph and find the longest path in it.

I could start from scratch but might not be up to the task.

I did query "graph algorithm" in google, but I don't know where to start.

I feel a bit overwhelmed at this point.

What I really need is some actual data structure and code.

Since finding paths in graphs is a common classical problem, maybe someone has a precise reference to some code or library in Processing or Java.

Thanks

1