Graphical representation of algorithms solving the minimum spanning tree problem