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
cd686f6f
Commit
cd686f6f
authored
6 years ago
by
kevalbhatt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2531 : Lineage display is causing 'Maximum call stack size reached' in underscore.js
parent
dc71d3d4
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
LineageLayoutView.js
dashboardv2/public/js/views/graph/LineageLayoutView.js
+10
-6
No files found.
dashboardv2/public/js/views/graph/LineageLayoutView.js
View file @
cd686f6f
...
...
@@ -160,13 +160,17 @@ define(['require',
nodeFound
=
_
.
where
(
relations
,
{
'fromEntityId'
:
guid
});
if
(
nodeFound
.
length
)
{
_
.
each
(
nodeFound
,
function
(
node
)
{
that
.
fromToObj
[
node
.
toEntityId
][
'isLineage'
]
=
false
;
var
styleObj
=
{
fill
:
'none'
,
stroke
:
'#fb4200'
if
(
!
node
[
"traversed"
])
{
node
[
"traversed"
]
=
true
;
that
.
fromToObj
[
node
.
toEntityId
][
'isLineage'
]
=
false
;
var
styleObj
=
{
fill
:
'none'
,
stroke
:
'#fb4200'
,
width
:
2
}
that
.
g
.
setEdge
(
node
.
fromEntityId
,
node
.
toEntityId
,
{
'arrowhead'
:
"arrowPoint"
,
lineInterpolate
:
'basis'
,
"style"
:
"fill:"
+
styleObj
.
fill
+
";stroke:"
+
styleObj
.
stroke
+
";stroke-width:"
+
styleObj
.
width
+
""
,
'styleObj'
:
styleObj
});
that
.
checkForLineageOrImpactFlag
(
relations
,
node
.
toEntityId
);
}
that
.
g
.
setEdge
(
node
.
fromEntityId
,
node
.
toEntityId
,
{
'arrowhead'
:
"arrowPoint"
,
lineInterpolate
:
'basis'
,
"style"
:
"fill:"
+
styleObj
.
fill
+
";stroke:"
+
styleObj
.
stroke
+
""
,
'styleObj'
:
styleObj
});
that
.
checkForLineageOrImpactFlag
(
relations
,
node
.
toEntityId
);
});
}
},
...
...
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