Commit 40357231 authored by Victor Zimmermann's avatar Victor Zimmermann
Browse files

Update absinth.py

parent 1d362fdf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -728,7 +728,10 @@ def draw_propagation(graph: nx.Graph, root_hub_list: list) -> None:
    nodes = set()
    for root1 in root_hub_list:
        for root2 in root_hub_list:
            if nx.has_path(graph,root1,root2):
                path = nx.shortest_path(graph, root1, root2)
            else:
                path = []
            for node in path:
                nodes.add(node)