added clear button to remove all nodes and links from graph