Skip to content

Commit

Permalink
Merge pull request xyflow#1372 from RickeyWard/ConnectionLinesEx
Browse files Browse the repository at this point in the history
Extend Connection Lines
  • Loading branch information
moklick authored Jul 24, 2021
2 parents 037c44e + d51d677 commit da76896
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/ConnectionLine/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ export default ({
targetPosition={targetPosition}
connectionLineType={connectionLineType}
connectionLineStyle={connectionLineStyle}
sourceNode={sourceNode}
sourceHandle={sourceHandle}
/>
</g>
);
Expand Down
2 changes: 2 additions & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ export type ConnectionLineComponentProps = {
targetPosition?: Position;
connectionLineStyle?: CSSProperties;
connectionLineType: ConnectionLineType;
sourceNode?: Node;
sourceHandle?: HandleElement;
};

export type ConnectionLineComponent = React.ComponentType<ConnectionLineComponentProps>;
Expand Down

0 comments on commit da76896

Please sign in to comment.