23 24 25
# File 'lib/logicle/digraph.rb', line 23 def add_node(id, node_type) @nodes[id] = Node.new(id, node_type) end