Skip to content

Commit ff136c1

Browse files
author
Yi-Ting Lee
committed
query visualize more info on hover node
1 parent a0be23e commit ff136c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/lineage/query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ def render(self, elements, path="pyvisExample.html"):
332332
for arn, source, entity, is_start_arn in elements["nodes"]:
333333
if is_start_arn: # startarn
334334
net.add_node(
335-
arn, label=source, title=entity, color=self._node_color(entity), shape="star", borderWidth=3
335+
arn, label=source, title=entity+"\n"+arn, color=self._node_color(entity), shape="star", borderWidth=3
336336
)
337337
else:
338-
net.add_node(arn, label=source, title=entity, color=self._node_color(entity), borderWidth=3)
338+
net.add_node(arn, label=source, title=entity+"\n"+arn, color=self._node_color(entity), borderWidth=3)
339339

340340
# add edges to graph
341341
for src, dest, asso_type in elements["edges"]:

0 commit comments

Comments
 (0)