Skip to content

Commit f54e1b6

Browse files
author
Yi-Ting Lee
committed
graph style fine-tune
1 parent 143143d commit f54e1b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sagemaker/lineage/query.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,14 +332,14 @@ 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"
335+
arn, label=source, title=entity, 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))
338+
net.add_node(arn, label=source, title=entity, color=self._node_color(entity), borderWidth=3)
339339

340340
# add edges to graph
341341
for src, dest, asso_type in elements["edges"]:
342-
net.add_edge(src, dest, title=asso_type)
342+
net.add_edge(src, dest, title=asso_type, width=2)
343343

344344
return net.show(path)
345345

0 commit comments

Comments
 (0)