# Vue Flow Pathfinding Edge 🧲

[](https://david-dm.org/bcakmakoglu/vue-flow-pathfinding-edge)
[](https://david-dm.org/bcakmakoglu/vue-flow-pathfinding-edge?type=dev)



### **Custom Edge that avoids crossing other Nodes**
Check the [documentation](https://vueflow.dev/docs/addons/pathfinding) for more info on how to use this custom edge.
## 🛠Setup
```bash
# install
$ yarn add @braks/vue-flow-pathfinding-edge
# or
$ npm i --save @braks/vue-flow-pathfinding-edge
```
## 🎮 Quickstart
```vue
```
```typescript
// initial-elements.ts
export default [
{
id: '1',
label: 'Node 1',
position: {
x: 430,
y: 0,
},
},
{
id: '2',
label: 'Node 2',
position: {
x: 230,
y: 90,
},
},
{
id: 'e12',
source: '1',
target: '2',
label: 'Smart Edge',
style: { stroke: 'red' },
type: 'pathFinding'
},
]
```