feat: pass through onSelectionStart in GraphView.

This commit is contained in:
Jack Fishwick
2022-11-22 11:05:13 +00:00
parent 1de6de1f96
commit f25c7fe8a2
@@ -51,6 +51,8 @@ const GraphView = ({
onNodeMouseLeave, onNodeMouseLeave,
onNodeContextMenu, onNodeContextMenu,
onSelectionContextMenu, onSelectionContextMenu,
onSelectionStart,
onSelectionEnd,
connectionLineType, connectionLineType,
connectionLineStyle, connectionLineStyle,
connectionLineComponent, connectionLineComponent,
@@ -112,6 +114,8 @@ const GraphView = ({
deleteKeyCode={deleteKeyCode} deleteKeyCode={deleteKeyCode}
selectionKeyCode={selectionKeyCode} selectionKeyCode={selectionKeyCode}
selectBoxOnDrag={selectBoxOnDrag} selectBoxOnDrag={selectBoxOnDrag}
onSelectionStart={onSelectionStart}
onSelectionEnd={onSelectionEnd}
multiSelectionKeyCode={multiSelectionKeyCode} multiSelectionKeyCode={multiSelectionKeyCode}
zoomActivationKeyCode={zoomActivationKeyCode} zoomActivationKeyCode={zoomActivationKeyCode}
elementsSelectable={elementsSelectable} elementsSelectable={elementsSelectable}