Added the edge weights to the GUI