Examples
Layout
Subflows

Subflows

Svelte Flow supports rendering nested graphs and grouping of nodes. You can configure the behaviour of the child nodes using extent: parent and render group elements without handles by passing type: group to the node configuration. See Sub Flows for more information.

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

<h1>Hello {data}</h1>

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