Description Usage Arguments Value See Also
View source: R/main_function.R
Find one shortest path in the graph between two given nodes.
1 | generatePath(graph, from = NULL, to = NULL)
|
graph |
A directed or undirected graph represented as a graphNEL object. |
from, to |
The nodes (character node id) giving the first and the last nodes of the path to be calculated. If |
A list of edges in edgesList format (see gRbase).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.