Skip to content

Commit

Permalink
fix bug causing nx.Graphs with node positions to render in whole canv…
Browse files Browse the repository at this point in the history
…as domain
  • Loading branch information
ulfaslak committed May 17, 2019
1 parent a305733 commit c1d5860
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netwulf/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def bind_properties_to_network(G,
G.graph['linkColor'] = network_properties['linkColor']
if bind_link_alpha:
G.graph['linkAlpha'] = network_properties['linkAlpha']


def get_filtered_network(network,edge_weight_key=None,node_group_key=None):
"""
Expand Down

0 comments on commit c1d5860

Please sign in to comment.