frontend graph implementation. interface buttons in place