diff --git a/README.md b/README.md index 9bcfbca3..fb13110a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ const BasicFlow = () => ; ## Development -You need to install the React Flow dependencies via `npm install` and the ones of the examples `cd example && npm install`. +Before you start you need to install the React Flow dependencies via `npm install`. If you want to contribute or develop custom features the easiest way is to start the dev server: diff --git a/src/components/Edges/wrapEdge.tsx b/src/components/Edges/wrapEdge.tsx index cfc1f4cb..351e3a52 100644 --- a/src/components/Edges/wrapEdge.tsx +++ b/src/components/Edges/wrapEdge.tsx @@ -166,6 +166,8 @@ export default (EdgeComponent: ComponentType) => { sourcePosition={sourcePosition} targetPosition={targetPosition} markerEndId={markerEndId} + sourceHandleId={sourceHandleId} + targetHandleId={targetHandleId} /> {handleEdgeUpdate && ( { arrowHeadType?: ArrowHeadType; markerEndId?: string; data?: T; + sourceHandleId?: ElementId | null; + targetHandleId?: ElementId | null; } export interface EdgeSmoothStepProps extends EdgeProps { borderRadius?: number;