Skip to content

Commit

Permalink
Add deprecation notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jul 1, 2013
1 parent 822e0af commit fc60a61
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/geom/delaunay.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import "geom";
import "voronoi";

/**
* @param vertices [[x1, y1], [x2, y2], …]
* @returns triangles [[[x1, y1], [x2, y2], [x3, y3]], …]
*/
// @deprecated; use d3.geom.voronoi links instead.
d3.geom.delaunay = function(vertices) {
var edges = vertices.map(function() { return []; }),
triangles = [];
Expand Down

0 comments on commit fc60a61

Please sign in to comment.