for( int i = 0; i < subGraphs.size(); i++ )
{
ElementGraph subGraph = subGraphs.get( i );
// want to write annotations with elements
new ElementDirectedGraph( subGraph, annotatedSubGraphs.get( subGraph ) ).writeDOT( new File( path, makeFileName( count, i, "partition-result-sub-graph" ) ).toString() );
if( contractedMatches.size() < i )
contractedMatches.get( i ).getMatchedGraph().writeDOT( new File( path, makeFileName( count, i, "partition-contracted-graph" ) ).toString() );
}
}