Skip to content

Commit 28a9eeb

Browse files
author
Yi-Ting Lee
committed
feature: query lineage visualizer advanced styling & interactive component handle
1 parent 0adc4db commit 28a9eeb

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/sagemaker/lineage/query.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def _get_app(self, elements):
258258
id="cytoscape-graph",
259259
elements=elements,
260260
style={
261-
"width": "85%",
261+
"width": "84%",
262262
"height": "350px",
263263
"display": "inline-block",
264264
"border-width": "1vw",
@@ -306,6 +306,15 @@ def _get_app(self, elements):
306306
],
307307
responsive=True,
308308
),
309+
self.html.Div(
310+
style={
311+
"width": "0.5%",
312+
"display": "inline-block",
313+
"font-size": "1vw",
314+
"font-family": "verdana",
315+
"vertical-align": "top",
316+
},
317+
),
309318
self.html.Div(
310319
[
311320
self.html.Div(
@@ -427,7 +436,6 @@ def _get_app(self, elements):
427436
),
428437
],
429438
style={
430-
"width": "15%",
431439
"display": "inline-block",
432440
"font-size": "1vw",
433441
"font-family": "verdana",

0 commit comments

Comments
 (0)