NIFI-157:

- No longer rendering connections in the birdseye view.
This commit is contained in:
Matt Gilman 2014-12-17 12:14:21 -05:00
parent 12de20da86
commit 713312d9e5
1 changed files with 0 additions and 12 deletions

View File

@ -194,18 +194,6 @@ nf.Birdseye = (function () {
context.fillRect(d.component.position.x, d.component.position.y, d.dimensions.width, d.dimensions.height); context.fillRect(d.component.position.x, d.component.position.y, d.dimensions.width, d.dimensions.height);
}); });
// connections
context.strokeStyle = '#000';
context.beginPath();
$.each(components.connections, function (_, d) {
context.moveTo(d.start.x, d.start.y);
$.each(d.bends, function (i, bend) {
context.lineTo(bend.x, bend.y);
});
context.lineTo(d.end.x, d.end.y);
});
context.stroke();
context.restore(); context.restore();
}; };