# Empty

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.

<div class="mt-6">
  <Repl example="empty"></Repl>
</div>
