| Arrow | R Documentation |
An R6 class representing an directed edge in a digraph.
An arrow is the formal term for an edge between pairs of nodes in a
directed graph. Inherits from class Edge.
rdecision::Edge -> Arrow
new()Create an object of type Arrow.
Arrow$new(source_node, target_node, label = "")
source_nodeNode from which the arrow leaves.
target_nodeNode to which the arrow points.
labelCharacter string containing the arrow label.
A new Arrow object.
source()Access source node.
Arrow$source()
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.
Andrew J. Sims andrew.sims@newcastle.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.