Method: HashGraph::DirectedGraph#initialize

Defined in:
lib/hash_graph.rb

#initializeDirectedGraph

construct a DirectedGraph which ensures that all destination node keys are present in the top level Hash



33
34
35
36
37
# File 'lib/hash_graph.rb', line 33

def initialize()
  super() do |h,from_vertex|
    DirectedGraph::new_lower_hash(h,from_vertex)
  end
end