Commit 1d362fdf authored by Victor Zimmermann's avatar Victor Zimmermann
Browse files

Update absinth.py

parent 5b6b07d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -732,7 +732,7 @@ def draw_propagation(graph: nx.Graph, root_hub_list: list) -> None:
            for node in path:
                nodes.add(node)
                
    edges = [edge for edge in graph.edges if edge[0] in nodes and edge[1] in nodes]
    edges = [edge for edge in graph.edges if edge[0] in nodes and edge[1] in nodes and nx.has_path(graph, *edge)]
    

    mapping = {node:graph.node[node]['sense'] for node in nodes}