Barista::Graph::Vertex
Inherits Struct < Value < Object
Representation of a Vertex in the Graph
Constructors
new(*, name : String, incoming : Hash(String, Barista::Graph::Vertex) = {} of String => Graph::Vertex, incoming_names : Array(String) = [] of String, has_outgoing : Bool = false)
SourceInstance methods
has_outgoing
Sourcehas_outgoing=(has_outgoing : Bool)
Sourcehas_outgoing?
Sourceincoming
Sourceincoming_names
Sourceincoming_names=(incoming_names : Array(String))
Sourcename
Sourcename=(name : String)
Source