Simplify DAG

Dag is only a namespace for graph functions.
(really shall refactor it to a module;
ideally we shall have the isolate magics calling a data flow analysis
package that can be used standalone.