Update graph.rb