diff --git a/docs/components/home/Acknowledgement.vue b/docs/components/home/Acknowledgement.vue new file mode 100644 index 00000000..6bdc6ba6 --- /dev/null +++ b/docs/components/home/Acknowledgement.vue @@ -0,0 +1,23 @@ + diff --git a/docs/components/home/flows/Intro.vue b/docs/components/home/flows/Intro.vue index 87eaf82f..85b53afa 100644 --- a/docs/components/home/flows/Intro.vue +++ b/docs/components/home/flows/Intro.vue @@ -131,8 +131,8 @@ onPaneReady(({ fitView }) => {
-

Visualize your ideas with Vue Flow

-

+

Vue Flow

+

A customizable Vue.js library for building node-based editors and diagrams.

diff --git a/docs/src/.vuepress/components.d.ts b/docs/src/.vuepress/components.d.ts index 03720f33..d783008c 100644 --- a/docs/src/.vuepress/components.d.ts +++ b/docs/src/.vuepress/components.d.ts @@ -4,6 +4,7 @@ declare module 'vue' { export interface GlobalComponents { + Acknowledgement: typeof import('./../../components/home/Acknowledgement.vue')['default'] Additional: typeof import('./../../components/home/Additional.vue')['default'] Banner: typeof import('./../../components/home/Banner.vue')['default'] Basic: typeof import('./../../components/home/Basic.vue')['default'] diff --git a/docs/src/examples/connectionline.md b/docs/src/examples/connectionline.md index 66adea80..dba5893f 100644 --- a/docs/src/examples/connectionline.md +++ b/docs/src/examples/connectionline.md @@ -5,9 +5,22 @@ pageClass: examples # Custom Connection Line -This example shows how you can implement a custom connection line. +If the default connection lines aren't to your liking, or you want to expand on the existing +functionality you can pass a custom connection line component to Vue Flow. -Pass the connection line component into the template slot of the `VueFlow` component. +Simply pass a component in the designated template slot, and you're good to go. + +```vue:no-line-numbers + +``` + +You can see a working example in the sandbox.