morphEdges | R Documentation |
Transform edges to different type
morphEdges(graph, from, to, A, B, topOrd)
graph |
|
from |
character vector of edges to transform (default is all) |
to |
character string of new edge type |
A |
optional subset within which to restrict changes |
B |
optional further subset to change edges from |
topOrd |
optional topological order for directing edges |
Calling this function with neither A
nor B
simply changes all
edges (of type from
if specified) to those of type to
(which must be a
single entry). If A
is specified, then the change is only made to edges
within the set A
. If a set B
is also specified, then the change is
only made to edges between the sets A
and B
.
If to
is a directed edge then this is done according to the topological
order topOrd
if supplied, otherwise the existing ordering of the vertices
is used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.