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
27916dd4
Commit
27916dd4
authored
6 years ago
by
gutkaBinit
Committed by
Sarath Subramanian
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3031: UI : Allow user to export the lineage in PNG formatt
Signed-off-by:
Sarath Subramanian
<
ssubramanian@hortonworks.com
>
parent
f92e06cd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
graph.scss
dashboardv2/public/css/scss/graph.scss
+5
-0
LineageLayoutView_tmpl.html
...dv2/public/js/templates/graph/LineageLayoutView_tmpl.html
+8
-4
LineageLayoutView.js
dashboardv2/public/js/views/graph/LineageLayoutView.js
+0
-0
No files found.
dashboardv2/public/css/scss/graph.scss
View file @
27916dd4
...
@@ -421,4 +421,8 @@ span#zoom_in {
...
@@ -421,4 +421,8 @@ span#zoom_in {
word-break
:
break-all
;
word-break
:
break-all
;
}
}
}
.hidden-svg
{
visibility
:
hidden
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
dashboardv2/public/js/templates/graph/LineageLayoutView_tmpl.html
View file @
27916dd4
...
@@ -90,6 +90,11 @@
...
@@ -90,6 +90,11 @@
</div>
</div>
<div
class=
"graph-button-group pull-right"
>
<div
class=
"graph-button-group pull-right"
>
<div>
<div>
<button
data-id=
"saveSvg"
class=
"disabled btn btn-action btn-gray btn-sm"
title=
"Export to PNG"
>
<i
class=
"fa fa-camera"
></i>
</button>
</div>
<div>
<button
type=
"button"
data-id=
"setting-toggler"
class=
"btn btn-action btn-gray btn-sm"
><i
class=
"fa fa-gear"
></i></button>
<button
type=
"button"
data-id=
"setting-toggler"
class=
"btn btn-action btn-gray btn-sm"
><i
class=
"fa fa-gear"
></i></button>
</div>
</div>
<div>
<div>
...
@@ -127,12 +132,11 @@
...
@@ -127,12 +132,11 @@
<div
class=
"fontLoader"
>
<div
class=
"fontLoader"
>
<i
class=
"fa fa-refresh fa-spin-custom"
></i>
<i
class=
"fa fa-refresh fa-spin-custom"
></i>
</div>
</div>
<canvas
width=
"960"
height=
"500"
style=
"display:none; position: absolute;"
></canvas>
<div
class=
"legends pull-left"
style=
"height: 25px; padding: 2px;"
>
<div
class=
"legends pull-left"
style=
"height: 25px; padding: 2px;"
>
<span
style=
"margin-right: 8px; color:#fb4200;"
><i
class=
"fa fa-circle-o fa-fw"
aria-hidden=
"true"
></i>
Current Entity
</span>
<span
style=
"margin-right: 8px; color:#fb4200;"
><i
class=
"fa fa-circle-o fa-fw"
aria-hidden=
"true"
></i>
Current Entity
</span>
<span
style=
"margin-right: 8px; color:#df9b00;"
><i
class=
"fa fa-long-arrow-right fa-fw"
aria-hidden=
"true"
></i>
Lineage
</span>
<span
style=
"margin-right: 8px; color:#df9b00;"
><i
class=
"fa fa-long-arrow-right fa-fw"
aria-hidden=
"true"
></i>
Lineage
</span>
<span
style=
"margin-right: 8px; color:#fb4200;"
><i
class=
"fa fa-long-arrow-right fa-fw"
aria-hidden=
"true"
></i>
Impact
</span>
<span
style=
"margin-right: 8px; color:#fb4200;"
><i
class=
"fa fa-long-arrow-right fa-fw"
aria-hidden=
"true"
></i>
Impact
</span>
</div>
</div>
<!-- <svg width="100%" height="calc(100% - 28px)" preserveAspectRatio="xMidYMid meet" viewBox="0 0 854 330" enable-background="new 0 0 854 330" xml:space="preserve"></svg> -->
<svg
width=
"{{width}}"
height=
"{{height}}"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
version=
"1.1"
></svg>
<svg
width=
"{{width}}"
height=
"{{height}}"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
version=
"1.1"
></svg>
</div>
</div>
\ No newline at end of file
<div
class=
"hidden-svg"
></div>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
dashboardv2/public/js/views/graph/LineageLayoutView.js
View file @
27916dd4
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