Renamed a method in input-diagram.coffee