Demo of Prim's Minimum Spanning Tree Algorithm. The source code for this applet is not very efficient, it is in fact very slow. The applet is mainly for visualization of the concept. It should be self-explanatory, if not -- look at the source code :)