Kruskal with dashed edges