• Makes the graph undirected. It duplicates edges into opposite ones.

    Parameters

    • graph: Graph

      A source graph.

    Returns Graph

    The naive undirected graph.

Generated using TypeDoc