Commit 370e1618 by Vishal Kadam

Merge pull request #10 from MPR-Global/HDPDGI-37

Hdpdgi 37
parents 52227873 f65c378f
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a data-ui-sref="search({ query: '' })" data-ui-sref-active="active"><h1>DGI</h1></a> <a data-ui-sref="search({ query: '' })" data-ui-sref-active="active"><img src="../img/ApacheAtlasLogo.png" /></a>
</div> </div>
<nav class="collapse navbar-collapse" data-collapse="isCollapsed" data-role="navigation"> <nav class="collapse navbar-collapse" data-collapse="isCollapsed" data-role="navigation">
<ul class="navbar-nav nav" data-ng-if="isLoggedIn()"> <ul class="navbar-nav nav" data-ng-if="isLoggedIn()">
......
...@@ -110,9 +110,9 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco ...@@ -110,9 +110,9 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
var margin = { var margin = {
top: 100, top: 100,
right: 50, right: 70,
bottom: 30, bottom: 30,
left: 50 left: 70
}; };
width = width - margin.right - margin.left; width = width - margin.right - margin.left;
height = height - margin.top - margin.bottom; height = height - margin.top - margin.bottom;
...@@ -168,17 +168,17 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco ...@@ -168,17 +168,17 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
//return d.icon; //return d.icon;
return d.type === 'Table' ? '../img/tableicon.png' : '../img/process.png'; return d.type === 'Table' ? '../img/tableicon.png' : '../img/process.png';
}) })
.attr("x", "-12px") .attr("x", "-18px")
.attr("y", "-12px") .attr("y", "-18px")
.attr("width", "24px") .attr("width", "34px")
.attr("height", "24px"); .attr("height", "34px");
nodeEnter.append('text') nodeEnter.append('text')
.attr('x', function(d) { .attr('x', function(d) {
return d.children || d._children ? return d.children || d._children ?
(5) * -1 : +15; (5) * -1 : +15;
}) })
.attr('dy', '-1.35em') .attr('dy', '-1.75em')
.attr('text-anchor', function(d) { .attr('text-anchor', function(d) {
return d.children || d._children ? 'middle' : 'middle'; return d.children || d._children ? 'middle' : 'middle';
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment