causal_networkx.graphs.dag.DAG.size#

DAG.size(weight=None)#

Return the total number of edges possibly with weights.