more
Simple DAG class.