Added UI elements to a jPanel within the MainFrame.
Added functionallity to add edges.