ExamplesNodes

Add Node On Edge Drop

You can create a new node when you drop the connection line on the pane by using the onConnectionStart and onConnectionStop handlers.

<script lang="ts">
const data: string = "world";
</script>

<h1>Hello {data}</h1>

<style>
h1 {
  font-size: 1.5rem;
}
</style>
Read-only