struct Barista::Graph::Vertex

Overview

Representation of a Vertex in the Graph

Defined in:

barista/graph.cr

Constructors

Instance Method Summary

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

[View source]

Instance Method Detail

def has_outgoing : Bool #

[View source]
def has_outgoing=(has_outgoing : Bool) #

[View source]
def has_outgoing? : Bool #

[View source]
def incoming : Hash(String, Barista::Graph::Vertex) #

[View source]
def incoming=(incoming : Hash(String, Barista::Graph::Vertex)) #

[View source]
def incoming_names : Array(String) #

[View source]
def incoming_names=(incoming_names : Array(String)) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]