Commit f65c378f by DarshanKumar

Lineage alignment and Logo

Lineage alignment and logo
parent f8099e48
...@@ -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()">
......
...@@ -168,8 +168,8 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco ...@@ -168,8 +168,8 @@ 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", "34px") .attr("width", "34px")
.attr("height", "34px"); .attr("height", "34px");
...@@ -178,7 +178,7 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco ...@@ -178,7 +178,7 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
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';
}) })
...@@ -199,7 +199,7 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco ...@@ -199,7 +199,7 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
//.style('stroke', function(d) { return d.target.level; }) //.style('stroke', function(d) { return d.target.level; })
.style('stroke', 'green') .style('stroke', 'green')
.attr('d', diagonal); .attr('d', diagonal);
link.attr("marker-end", "url(#arrow)"); link.attr("marker-end", "url(#arrow)");
} }
......
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