You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2014/12/19 13:34:09 UTC
[40/43] incubator-nifi git commit: NIFI-157: - No longer rendering
connections in the birdseye view.
NIFI-157:
- No longer rendering connections in the birdseye view.
Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/713312d9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/713312d9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/713312d9
Branch: refs/heads/nifi-27
Commit: 713312d9e572e50243fb6db07b3cdf0ee6d7cd6f
Parents: 12de20d
Author: Matt Gilman <ma...@gmail.com>
Authored: Wed Dec 17 12:14:21 2014 -0500
Committer: Matt Gilman <ma...@gmail.com>
Committed: Wed Dec 17 12:14:21 2014 -0500
----------------------------------------------------------------------
.../src/main/webapp/js/nf/canvas/nf-birdseye.js | 12 ------------
1 file changed, 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/713312d9/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-birdseye.js
----------------------------------------------------------------------
diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-birdseye.js b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-birdseye.js
index b409434..27e013e 100644
--- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-birdseye.js
+++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-birdseye.js
@@ -194,18 +194,6 @@ nf.Birdseye = (function () {
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();
};