diff --git a/docs/src/guide/index.md b/docs/src/guide/index.md index 9c29fd3a..74cda01d 100644 --- a/docs/src/guide/index.md +++ b/docs/src/guide/index.md @@ -36,6 +36,5 @@ Check out the [examples](/examples/) if you want to dive directly into the code. - 🦾 __Reliable__: Fully written in TypeScript ::: warning Vue Flow is still version 0.x.x. - Expect breaking changes between versions! ::: diff --git a/package/src/components/Edges/utils/simple-bezier.ts b/package/src/components/Edges/utils/simple-bezier.ts index 6f8aca45..d81ed45e 100644 --- a/package/src/components/Edges/utils/simple-bezier.ts +++ b/package/src/components/Edges/utils/simple-bezier.ts @@ -59,10 +59,6 @@ export function getSimpleBezierPath({ return `M${sourceX},${sourceY} C${sourceControlX},${sourceControlY} ${targetControlX},${targetControlY} ${targetX},${targetY}` } -// @TODO: this function will recalculate the control points -// one option is to let getXXXPath() return center points -// but will introduce breaking changes -// the getCenter() of other types of edges might need to change, too export function getSimpleBezierCenter({ sourceX, sourceY,