The boundary of a subgraph is the set of nodes in the original graph
that have edges to nodes in the subgraph. The function
computes the boundary and returns it as a list whose length is the same
length as the number of nodes in the subgraph.
the original graph from which the boundary will be created
can either be the vector of the node labels or the subgraph itself.
The boundary of a subgraph is the set of nodes in the graph which have an edge that connects them to the specified subgraph but which are themselves not elements of the subgraph.
For convenience users can specify the subgraph as either a graph or a vector of node labels.
This function returns a named list of length equal to the number of
subgraph. The elements of the list
correspond to the nodes in the
subgraph. The elements are lists
of the nodes in
graph which share an edge with the
respective node in
Elizabeth Whalen and R. Gentleman
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.