Skip to content

Commit

Permalink
just use box for viz
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed May 22, 2024
1 parent 72ac772 commit 4ff1e67
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions atomrdf/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,20 +263,20 @@ def visualize_provenance(
#add all nodes
for key in prov.keys():
nid = _id(key)
if "activity" in key:
dot.node(nid, label=prov[key]['label'],
shape='box',
color="#C9DAF8",
style="filled",
fontname='Helvetica',
fontsize='8')
else:
dot.node(nid, label=prov[key]['label'],
shape='parallelogram',
color="#C9DAF8",
style="filled",
fontname='Helvetica',
fontsize='8')
#if "activity" in key:
dot.node(nid, label=prov[key]['label'],
shape='box',
color="#C9DAF8",
style="filled",
fontname='Helvetica',
fontsize='8')
#else:
# dot.node(nid, label=prov[key]['label'],
# shape='parallelogram',
# color="#C9DAF8",
# style="filled",
# fontname='Helvetica',
# fontsize='8')
#add all edges
for key, val in prov.items():
if 'inputs' in val.keys():
Expand Down

0 comments on commit 4ff1e67

Please sign in to comment.