# File lib/nanoc3/base/directed_graph.rb, line 62
    def add_edge(from, to)
      @from_graph[from] ||= Set.new
      @from_graph[from] << to

      @to_graph[to] ||= Set.new
      @to_graph[to]  << from

      invalidate_caches
    end