networkx.Graph.copy
networkx.Graph.subgraph
Return a directed representation of the graph.
A new directed graph is returned with the same name, same nodes, and with each edge (u,v,data) replaced by two directed edges (u,v,data) and (v,u,data).