Merge branch 'xyflow' into feat/ssr

This commit is contained in:
moklick
2023-10-05 20:31:55 +02:00
21 changed files with 602 additions and 43 deletions
@@ -12,11 +12,11 @@
{#if $connection.path}
<svg width={$width} height={$height} class="svelte-flow__connectionline" style={containerStyle}>
<g class={cc(['svelte-flow__connection', $connection.status])} {style}>
<g class={cc(['svelte-flow__connection', $connection.status])}>
<slot name="connectionLine" />
<!-- slot fallbacks do not work if slots are forwarded in parent -->
{#if !isCustomComponent}
<path d={$connection.path} fill="none" class="svelte-flow__connection-path" />
<path d={$connection.path} {style} fill="none" class="svelte-flow__connection-path" />
{/if}
</g>
</svg>
@@ -1,3 +1,5 @@
<svelte:options immutable />
<script lang="ts">
import { createEventDispatcher } from 'svelte';
import { getMarkerId } from '@xyflow/system';
@@ -1,3 +1,5 @@
<svelte:options immutable />
<script lang="ts">
import {
createEventDispatcher,