R/muxLib_annotated.R
ShortestPathFromNode.RdReturn the Shortest-Path from the given node to other nodes
ShortestPathFromNode(g, n, Nodes)
| g | an igraph object obtained from adjacency matrix |
|---|---|
| n | integer the node id |
| Nodes | scalar, number of nodes |
A igraph object containing the list of shortest paths