Skip to content

struct Barista::Graph::Vertex
inherits Struct #

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)#

Methods#

#has_outgoing#

#has_outgoing=(has_outgoing : Bool)#

#has_outgoing?#

#incoming#

#incoming=(incoming : Hash(String, Barista::Graph::Vertex))#

#incoming_names#

#incoming_names=(incoming_names : Array(String))#

#name#

#name=(name : String)#