Description Usage Arguments Value Author(s) See Also Examples
Given one or more node names, this method returns the 'cy2-style' names of the immediately adjacent edges – suitable for being passed, for instance, to selectEdges, and thereby extending the selection.
1 | getAdjacentEdgeNames(graph, node.names)
|
graph |
An R graph |
node.names |
character strings |
Zero or more cy2-style edge names.
Paul Shannon
cy2.edge.names, selectEdges, getSelectedNodes, selectFirstNeighborsOfSelectedNodes
1 2 3 | g <- makeSimpleGraph ()
print (nodes (g))
print (getAdjacentEdgeNames (g, 'A'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.