Skip to content

Commit

Permalink
depends_on needs to have value
Browse files Browse the repository at this point in the history
  • Loading branch information
eagmon committed Nov 7, 2023
1 parent 354c76a commit 81fc5be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigraph_viz/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_bigraph_network(bigraph_dict, path=None, remove_nodes=None):
state_path = state_path_tuple(state_path)
state_path.insert(0, '..') # go up one to the same level as the process
bigraph['hyper_edges'][path_here][port] = state_path
if '_depends_on' in child:
if child.get('_depends_on'):
depends_on = child.get('_depends_on', [])
if path_here not in bigraph['flow']:
bigraph['flow'][path_here] = []
Expand Down

0 comments on commit 81fc5be

Please sign in to comment.