kruskal

oh, i find realized algo, good job!
draw tri - ok

we can draw tri