Merge branch 'drag-edge' of https://github.com/zcmgyu/react-flow into zcmgyu-drag-edge

This commit is contained in:
moklick
2020-11-05 16:04:37 +01:00
13 changed files with 6585 additions and 17 deletions
+3
View File
@@ -121,6 +121,7 @@ export interface WrapEdgeProps {
elementsSelectable?: boolean;
markerEndId?: string;
isHidden?: boolean;
onEitherEndOfEdgePress: (event: React.MouseEvent, edge: Edge, isEdgeHeader?: boolean) => void;
}
export interface EdgeProps {
@@ -320,3 +321,5 @@ export type FlowTransform = {
};
export type TranslateExtent = [[number, number], [number, number]];
export type OnEdgeUpdateFunc = (oldEdge: Edge, newConnection: Connection) => void;