diff --git a/examples/svelte/src/components/Header/Header.svelte b/examples/svelte/src/components/Header/Header.svelte
index 6fa79b68..3d0c9ff5 100644
--- a/examples/svelte/src/components/Header/Header.svelte
+++ b/examples/svelte/src/components/Header/Header.svelte
@@ -13,7 +13,8 @@
'subflows',
'usesvelteflow',
'useupdatenodeinternals',
- 'validation'
+ 'validation',
+ 'custom-connection-line'
];
const onChange = (event: Event) => {
diff --git a/examples/svelte/src/routes/custom-connection-line/+page.svelte b/examples/svelte/src/routes/custom-connection-line/+page.svelte
new file mode 100644
index 00000000..58552225
--- /dev/null
+++ b/examples/svelte/src/routes/custom-connection-line/+page.svelte
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/svelte/src/routes/custom-connection-line/ConnectionLine.svelte b/examples/svelte/src/routes/custom-connection-line/ConnectionLine.svelte
new file mode 100644
index 00000000..0a7f87b5
--- /dev/null
+++ b/examples/svelte/src/routes/custom-connection-line/ConnectionLine.svelte
@@ -0,0 +1,9 @@
+
+
+{#if $connection.path}
+
+{/if}
diff --git a/examples/svelte/src/routes/custom-connection-line/CustomNode.svelte b/examples/svelte/src/routes/custom-connection-line/CustomNode.svelte
new file mode 100644
index 00000000..0f4cc6bd
--- /dev/null
+++ b/examples/svelte/src/routes/custom-connection-line/CustomNode.svelte
@@ -0,0 +1,34 @@
+
+
+
diff --git a/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte b/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte
index f2abe041..4635dad5 100644
--- a/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte
+++ b/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte
@@ -3,13 +3,21 @@
import { useStore } from '$lib/store';
- const { connectionPath, width, height, connection } = useStore();
+ export let containerStyle: string = '';
+ export let style: string = '';
+ export let usingCustomLine: boolean = false;
+
+ const { width, height, connection } = useStore();
-{#if $connectionPath}
-