pipeline/util.py
def build_undirected_graph(nodes, edges):
    """Build an undirected graph, removing duplicates edges."""
    graph = igraph.Graph()
    graph.add_vertices(nodes)
    graph.add_edges(edges)
    graph.simplify()
    return graph
Build an undirected graph, removing duplicates edges.
Build an undirected graph, removing duplicates edges.
Build an undirected graph removing duplicates edges .
def build_undirected_graph(nodes, edges):
    graph = igraph.Graph()
    graph.add_vertices(nodes)
    graph.add_edges(edges)
    graph.simplify()
    return graph
def build_undirected_graph ( nodes , edges ) : graph = igraph . Graph ( ) graph . add_vertices ( nodes ) graph . add_edges ( edges ) graph . simplify ( ) return graph
Build an undirected graph, removing duplicates edges.
Build an undirected graph removing duplicates edges .
"""Build an undirected graph, removing duplicates edges."""
nodes
edges