ShortestPathFromNode: Return the Shortest-Path from the given node to other nodes

ShortestPathFromNodeR Documentation

Return the Shortest-Path from the given node to other nodes

Description

Return the Shortest-Path from the given node to other nodes

Usage

ShortestPathFromNode(g, n, Nodes)

Arguments

g

an igraph object obtained from adjacency matrix

n

integer the node id

Nodes

scalar, number of nodes

Value

A igraph object containing the list of shortest paths


manlius/muxViz documentation built on March 1, 2023, 10:28 a.m.