networkx.DiGraph.subgraph ========================= .. currentmodule:: networkx .. automethod:: DiGraph.subgraph