flattengraph.pl