An R6 class representing an directed edge in a digraph.
Andrew J. Sims andrew.sims@newcastle.ac.uk
rdecision::Edge -> Arrow
Inherited methods
new()Create an object of type Arrow.
Arrow$new(source, target, label = "")sourceNode from which the arrow leaves.
targetNode to which the arrow points.
labelCharacter string containing the arrow label.
A new Arrow object.
Node from which the arrow leads.
target()Access target node.
Arrow$target()Node to which the arrow points.
clone()The objects of this class are cloneable with this method.
Arrow$clone(deep = FALSE)deepWhether to make a deep clone.
An arrow is the formal term for an edge between pairs of nodes in a
directed graph. Inherits from class Edge.