.. _py-causality/DAG: ********************************************************** causality/DAG ********************************************************** .. default-domain:: py .. py:currentmodule:: mod .. cpp:namespace:: mod .. class:: CausalityDAG Representation of a causality DAG over a derivation graph. .. attribute:: dg (Read-only) The DG this DAG is based on. :type: DG .. method:: getPrintData(closeBorrowCycles) const :param bool closeBorrowCycles: if ``true``, then borrowed vertices have only 1 representation, and the resulting diagram will have a cycle through it. Otherwise, borrowed vertices have 2 representations, one for the borrow and one for the repay. :returns: a DG print data object set up to represent the DAG. :rtype: DGPrintData