Description Usage Arguments Examples
Computes shortest paths from every vertex to the given set of landmark vertices. Note that this takes edge direction into account.
1 | gf_shortest_paths(x, landmarks, ...)
|
x |
An object coercable to a GraphFrame (typically, a
|
landmarks |
IDs of landmark vertices. |
... |
Optional arguments, currently not used. |
1 2 3 4 5 | ## Not run:
g <- gf_friends(sc)
gf_shortest_paths(g, landmarks = c("a", "d"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.