Transform a list of links into the corresponding list of nodes.
[ns]=NARVAL_G_Path2Nodes(p,g)
list of links.
network graph.
list of nodes.
NARVAL_G_Path2Nodes transforms a list of links p of the graph g. If there is a path following each successive links p, then the corresponding vector of successive nodes ns is generated. Otherwise ns is empty.