DocumentCompiler now returns list of graphs