Description Objects from the Class Slots Methods Note Author(s) Examples
A simple class for representing edges in graphs.
Objects can be created by calls of the form new("simpleEdge", ...)
.
edgeType
:Object of class "character"
; the type
of the edge.
weight
:Object of class "numeric"
; the edge weight.
directed
:Object of class "logical"
; is the
edge directed.
bNode
:Object of class "character"
; the
beginning node.
eNode
:Object of class "character"
; the ending node.
No methods defined with class "simpleEdge" in the signature.
All slots are length one vectors (this is not currently checked for). If the edge is not directed there is no real meaning to the concepts of beginning node or ending node and these should not be interpreted as such.
R. Gentleman
1 | new("simpleEdge", bNode="A", eNode="D")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.