Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
970115d0
Commit
970115d0
authored
9 years ago
by
Vishal Kadam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Vishal: Beautified
parent
e426db2d
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
lineageController.js
dashboard/v2/public/modules/lineage/lineageController.js
+15
-15
No files found.
dashboard/v2/public/modules/lineage/lineageController.js
View file @
970115d0
...
@@ -196,20 +196,20 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
...
@@ -196,20 +196,20 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
'translate('
+
margin
.
left
+
','
+
margin
.
right
+
')'
);
'translate('
+
margin
.
left
+
','
+
margin
.
right
+
')'
);
//arrow
//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"
);
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
//marker for input type graph
svg
.
append
(
"svg:defs"
)
svg
.
append
(
"svg:defs"
)
.
append
(
"svg:marker"
)
.
append
(
"svg:marker"
)
.
attr
(
"id"
,
"input-arrow"
)
.
attr
(
"id"
,
"input-arrow"
)
.
attr
(
"viewBox"
,
"0 0 10 10"
)
.
attr
(
"viewBox"
,
"0 0 10 10"
)
.
attr
(
"refX"
,
-
15
)
.
attr
(
"refX"
,
-
15
)
.
attr
(
"refY"
,
5
)
.
attr
(
"refY"
,
5
)
.
attr
(
"markerUnits"
,
"strokeWidth"
)
.
attr
(
"markerUnits"
,
"strokeWidth"
)
.
attr
(
"markerWidth"
,
6
)
.
attr
(
"markerWidth"
,
6
)
.
attr
(
"markerHeight"
,
9
)
.
attr
(
"markerHeight"
,
9
)
.
attr
(
"orient"
,
"auto"
)
.
attr
(
"orient"
,
"auto"
)
.
append
(
"svg:path"
)
.
append
(
"svg:path"
)
.
attr
(
"d"
,
"M -2 5 L 8 0 L 8 10 z"
);
.
attr
(
"d"
,
"M -2 5 L 8 0 L 8 10 z"
);
var
root
=
data
;
var
root
=
data
;
...
@@ -284,10 +284,10 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
...
@@ -284,10 +284,10 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
.
style
(
'stroke'
,
'green'
)
.
style
(
'stroke'
,
'green'
)
.
attr
(
'd'
,
diagonal
);
.
attr
(
'd'
,
diagonal
);
if
(
$scope
.
type
===
'inputs'
)
{
if
(
$scope
.
type
===
'inputs'
)
{
link
.
attr
(
"marker-start"
,
"url(#input-arrow)"
);
//if input
link
.
attr
(
"marker-start"
,
"url(#input-arrow)"
);
//if input
}
else
{
}
else
{
link
.
attr
(
"marker-end"
,
"url(#arrow)"
);
//if input
link
.
attr
(
"marker-end"
,
"url(#arrow)"
);
//if input
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment