Update WeightedEdgeGraph.coffee