atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venkat...@apache.org
Subject [56/58] [abbrv] incubator-atlas git commit: Merge pull request #11 from MPR-Global/HDPDGI-79
Date Tue, 16 Jun 2015 23:05:30 GMT
Merge pull request #11 from MPR-Global/HDPDGI-79

show arrow pointing inwards for input tab

Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/da9f12a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/da9f12a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/da9f12a3

Branch: refs/heads/master
Commit: da9f12a334b2a5a00fee6675ecabc6763b309e52
Parents: eb9eb4c 2fa32ec
Author: mouly <mouly@users.noreply.github.com>
Authored: Mon Jun 15 21:56:12 2015 -0700
Committer: mouly <mouly@users.noreply.github.com>
Committed: Mon Jun 15 21:56:12 2015 -0700

----------------------------------------------------------------------
 .../public/modules/lineage/lineageController.js | 21 +++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/da9f12a3/dashboard/v2/public/modules/lineage/lineageController.js
----------------------------------------------------------------------
diff --cc dashboard/v2/public/modules/lineage/lineageController.js
index 6539375,368e9a5..6e4e1e3
--- a/dashboard/v2/public/modules/lineage/lineageController.js
+++ b/dashboard/v2/public/modules/lineage/lineageController.js
@@@ -189,13 -130,26 +189,27 @@@ angular.module('dgc.lineage').controlle
              var svg = element.select('svg')
                  .attr('width', width + margin.right + margin.left)
                  .attr('height', height + margin.top + margin.bottom)
 +                /* Invoke the tip in the context of your visualization */
 +                .call(tooltip)
                  .select('g')
 -
 -            .attr('transform',
 -                'translate(' + margin.left + ',' + margin.right + ')');
 +                .attr('transform',
 +                    'translate(' + margin.left + ',' + margin.right + ')');
              //arrow
              svg.append("svg:defs").append("svg:marker").attr("id", "arrow").attr("viewBox",
"0 0 10 10").attr("refX", 26).attr("refY", 5).attr("markerUnits", "strokeWidth").attr("markerWidth",
6).attr("markerHeight", 9).attr("orient", "auto").append("svg:path").attr("d", "M 0 0 L 10
5 L 0 10 z");
+             
+             //marker for input type graph
+             svg.append("svg:defs")
+             .append("svg:marker")
+             .attr("id", "input-arrow")
+             .attr("viewBox", "0 0 10 10")
+             .attr("refX", -15)
+             .attr("refY", 5)
+             .attr("markerUnits", "strokeWidth")
+             .attr("markerWidth", 6)
+             .attr("markerHeight", 9)
+             .attr("orient", "auto")
+             .append("svg:path")
+             .attr("d", "M -2 5 L 8 0 L 8 10 z");
  
              var root = data;
  


Mime
View raw message