Changed the GML file generation and now only more than 2 edge weights are counted.