triggerGraphPhase( GraphPhaseEvent.GRAPH_NEW, null, graph );
Iterator it = this.tasks.iterator();
while ( it.hasNext() )
{
GraphTask task = (GraphTask) it.next();
try
{
triggerGraphPhase( GraphPhaseEvent.GRAPH_TASK_PRE, task, graph );
task.executeTask( graph );
if ( task instanceof PotentialCyclicEdgeProducer )
{
taskFlagCyclicEdges.executeTask( graph );
}
triggerGraphPhase( GraphPhaseEvent.GRAPH_TASK_POST, task, graph );