Function iterates over graph to identify for a given node all nodes that are
no more than
k steps apart.
numeric matrix specifying the adjacency matrix.
integer specifying the row of the start node in the adjacency matrix.
integer specifying the maximum distance to the start node.
k < 1 will be set to
k = 1.
A numeric matrix of two columns containing nodes indices and the
geodesic distance to the start nodes of all nodes
k or fewer steps
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.