class DAG::Vertex

Defined in:

dag.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, edges : Hash(String, DAG::Vertex) = {} of Name => Vertex) #

[View source]

Instance Method Detail

def add(edge_to vertex : Vertex) : Nil #

[View source]
def children : Array(Vertex) #

[View source]
def edges : Hash(Name, Vertex) #

[View source]
def name : Name #

[View source]