File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -272,8 +272,10 @@ def _import_visual_modules(self):
272
272
def _get_verts (self ):
273
273
"""Convert vertices to tuple format for visualizer."""
274
274
verts = []
275
+ # get vertex info in the form of (id, label, class)
275
276
for vert in self .vertices :
276
277
if vert .arn in self .startarn :
278
+ # add "startarn" class to node if arn is a startarn
277
279
verts .append ((vert .arn , vert .lineage_source , vert .lineage_entity + " startarn" ))
278
280
else :
279
281
verts .append ((vert .arn , vert .lineage_source , vert .lineage_entity ))
@@ -282,6 +284,7 @@ def _get_verts(self):
282
284
def _get_edges (self ):
283
285
"""Convert edges to tuple format for visualizer."""
284
286
edges = []
287
+ # get edge info in the form of (source, target, label)
285
288
for edge in self .edges :
286
289
edges .append ((edge .source_arn , edge .destination_arn , edge .association_type ))
287
290
return edges
You can’t perform that action at this time.
0 commit comments