Appearance
Similar to the drag and drop example, we can also add nodes to an empty graph on a button click, which triggers a push into our elements / nodes array.