diff --git a/docs/src/guide/handle.md b/docs/src/guide/handle.md index 9e2561ba..6ebc13fa 100644 --- a/docs/src/guide/handle.md +++ b/docs/src/guide/handle.md @@ -125,6 +125,30 @@ You cannot hide a handle by removing it from the DOM (for example using `v-if` o ``` +## Limiting Connections + +You can limit the number of connections a handle can have by setting the `connectable` prop on the `` component. + +This prop accepts a boolean value (defaults to `true`), a number (the maximum number of connections), or a function that returns a boolean. + +Using a function allows you to implement custom logic to determine if a handle can be connected to or not. +```vue + + + +``` + + + ## Dynamic Handle Positions & Adding/Removing Handles Dynamically ::: tip