An R6 class representing a node in a graph.
Andrew Sims andrew.sims@newcastle.ac.uk
new()Create new Node object.
Node$new(label = "")labelAn optional label for the node.
A new Node object.
label()Return the label of the node.
Node$label()Label as a character string.
type()node type
Node$type()Node class, as character string.
clone()The objects of this class are cloneable with this method.
Node$clone(deep = FALSE)deepWhether to make a deep clone.
A base class to represent a single node in a graph.