struct Barista::Graph::Vertex
- Barista::Graph::Vertex
- Struct
- Value
- Object
Overview
Representation of a Vertex in the Graph
Defined in:
barista/graph.crConstructors
Instance Method Summary
- #has_outgoing : Bool
- #has_outgoing=(has_outgoing : Bool)
- #has_outgoing? : Bool
- #incoming : Hash(String, Barista::Graph::Vertex)
- #incoming=(incoming : Hash(String, Barista::Graph::Vertex))
- #incoming_names : Array(String)
- #incoming_names=(incoming_names : Array(String))
- #name : String
- #name=(name : String)
Constructor Detail
def self.new(*, name : String, incoming : Hash(String, Barista::Graph::Vertex) = {} of String => Graph::Vertex, incoming_names : Array(String) = [] of String, has_outgoing : Bool = false)
#