A list result will be returned.
1st layer (the names of the list) is the end of the path, usually the names of tips and/or nodes
In 2nd layer, [[1]] is the orders of nodes between root and the tip/node specified in 1st layer;
[[2]] is the edge lengthes. if cum="both", [[3]] is cumulative length from root, and [[4]] is cumulative length from tip, otherwise, [[3]] is the cumulative length specified by cum.