def setDag(self, dag):
        self.clear()
        self.dag = dag
Sets the current dependency graph and refreshes the scene.
dataset/ETHPy150Open andrew-gardner/dependsworkflow/depends/depends_graphics_widgets.py/SceneWidget.setDag