---
layout: page

---

# 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">
  <ClientOnly>
    <Suspense>
      <Repl example="empty"></Repl>
    </Suspense>
  </ClientOnly>
</div>
