networkx.DiGraph.add_nodes_from =============================== .. currentmodule:: networkx .. automethod:: DiGraph.add_nodes_from