kruskal algorithm implementation using union-find DS and graphviz