causal_networkx.graphs.dag.DAG.to_adjacency_graph#

DAG.to_adjacency_graph()#

Compute an adjacency undirected graph.

Two nodes are considered adjacent if there exist any type of edge between the two nodes.

Return type:

Graph