Graken::Node
Inherits Reference < Object
Constructors
new(name : String, type : Graken::NodeType = NodeType::Normal, parallel : Array(Graken::Node) = [] of Node)
Sourcenew(duplicate : Node)
SourceInstance methods
add_child(node : Node)
Sourceadd_edge_in(edge : Edge)
Sourceadd_edge_out(edge : Edge)
Sourcechildren
Sourceedges_in
Sourceedges_out
Sourcename
Sourcename=(name : String)
Sourceparallel
Sourceparent
Sourceparent=(node : Node | Nil)
Sourceremove_child(node : Node)
Sourceremove_edge(edge : Edge)
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
type
Source