import { IProjectNode } from '../projects/get-projects' ; import { create } from './create' ; import { DagOperator } from './operator' ; export const initDAG = ( projects ) => { const { projectsMap } = create ( projects ) ; const operator = new DagOperator ( projects , projectsMap ) ; return operator ; } ;