def passThroughUnlabeled(node, graph):
    """
    Given a node, remove that node and pass signal directly from all upstream nodes to all downstream nodes
    """
    upstream = graph.predecessors(node)
    downstream = graph.successors(node)
    new_edges = [(p, s) for p in upstream for s in downstream]
    graph.remove_node(node)
    graph.add_edges_from(new_edges)
    return graph