How to get the nvgraphWidestPath() result path

I want to use the nvgraphWidestPath () to get the widest path, but the result is the value of the widest path from the source to the vertices. So I’m going to give you the full path to the widest path, like the full path 0->2,2-3,3-5.