# File lib/nanoc/base/directed_graph.rb, line 104 def add_vertex(v) return if @vertices.has_key?(v) @vertices[v] = @vertices.size @roots << v end