fix rendering
fix in edgeReorderer to ignore edges where both vertices are the same - slightly hackish