Commit Graph
63 Commits
Author SHA1 Message Date
Christopher Möller cf38388f14 refactor(zoom): move zoom methods into own hook, detatch from store 2020-11-09 17:23:59 +01:00
moklick 7d4a6d7c36 Merge branch 'main' into feat/multiselect 2020-11-05 14:19:09 +01:00
moklick b88729fbf1 feat(panOnScroll): add speed option 2020-11-03 15:58:47 +01:00
Christopher Möller d6a6eb82d8 refactor pan/zoom behaviour, implement pan on scroll #359, edit interaction example 2020-10-29 17:58:36 +01:00
moklick 056e817031 refactor(rollup): use replace plugin before other plugins 2020-10-23 14:06:31 +02:00
moklick 269dfec535 refactor(globals): dont use process.env 2020-10-23 13:56:47 +02:00
moklick 65a1b5e07a feat(elements): multiselect 2020-10-22 00:03:30 +02:00
moklick 19f936a107 refactor(props): cleanup 2020-10-05 11:06:40 +02:00
moklick 48053133e5 refactor(defaultProps): dont set defaults in main entry point 2020-10-02 14:34:51 +02:00
moklick 284968ad54 style(flow): new default styles 2020-09-30 18:07:40 +02:00
moklick 7ef6d0adb2 fix(fitView): don't let defaultPosition overwrite fitView on load #533 2020-09-30 16:44:50 +02:00
moklick 1f7d88fd5e feat(connectionline): custom component option #516 2020-09-19 13:38:40 +02:00
moklick 121952bba7 feat(selection): add context menu handler closes #478 2020-09-11 02:01:33 +02:00
moklick 5c2c1eecad feat(paneview): add translateExtent option closes #479 2020-09-10 18:39:40 +02:00
Emiel Wit 394c0ab53c feat: add onPaneScroll event handler
- add the possibility to listen to the onWheel event
  - add event handler to interaction demo
2020-09-02 10:23:39 +02:00
moklick ccacd43659 feat(selection): add drag handlers closes #444 2020-08-22 17:24:50 +02:00
moklick 5b4b114935 feat(props): add onConnectEnd function #451 2020-08-21 09:40:27 +02:00
moklick 59742c9526 refactor(variables): dont use abbreviations 2020-08-10 12:10:17 +02:00
moklick 49ddb8040d fix(onConnectStop): use correct type closes #403 2020-08-05 19:03:06 +02:00
MoritzandGitHub 8fbdfaa542 Merge branch 'master' into expose-pane-context-click 2020-08-05 09:45:56 +02:00
Nate Amack 93aa5c96ca feat(props): add onPaneContextMenu 2020-08-04 17:12:42 -06:00
Nate Amack 92d8276f1b fix(type): add type definition for onPaneClick 2020-08-04 13:38:36 -06:00
Nate Amack 97ec24fa14 feat(props): add mouse event to onNodeDragStart, onNodeDragStop, onElementClick, and onPaneClick 2020-08-04 12:05:03 -06:00
moklick 5f91498d19 feat(connection): add start and stop props closes #380 2020-08-01 12:54:14 +02:00
moklick a095715e5f refactor(paneClick): rename onZoomPaneClick tp onPaneClick 2020-08-01 12:13:51 +02:00
Nate Amack 2a0274b9a3 feat(props): add onZoomPaneClick 2020-07-31 10:45:40 -06:00
moklick f84eff1a8c feat(interaction): add paneMoveable prop #377 2020-07-30 11:10:41 +02:00
moklick 8c565e4a27 feat(props): add defaultPosition prop #358 2020-07-24 17:54:12 +02:00
moklick b77977997b feat(props): add onMoveStart and onMoveEnd #358 2020-07-24 17:39:35 +02:00
moklick 42f6336171 feat(interaction): add zoomOnDoublickClick and fix behaviour closes #338 2020-07-17 11:04:32 +02:00
moklick 65764fbefb feat(interaction): add zoomOnScroll property closes #331 2020-07-14 13:28:59 +02:00
moklick 0593db289a feat(edges): add arrow head options 2020-07-14 12:57:12 +02:00
moklick 1b3f58486a refactor(classnames): use faster classcat alternative 2020-07-14 10:11:26 +02:00
moklick dec1f973cb refactor(edges): create index for all edge types 2020-07-14 09:54:39 +02:00
moklick 1d8a9d6d87 feat(graph): more adjustable interaction closes #329, closes #291 2020-07-13 17:36:15 +02:00
moklick 32f6101d37 feat(nodes): add enter, move, leave and context handler #301 2020-07-13 16:04:49 +02:00
moklick b32d5454e1 feat(edges): add smooth step type 2020-07-13 15:24:14 +02:00
moklick 5cbeda5c3f feat(components): add ReactFlowProvider #275 2020-06-02 18:34:02 +02:00
moklick 02bcd1be11 feat(options): add minZoom, maxZoom, defaultZoom closes #273 2020-06-02 14:22:29 +02:00
moklick c620d0f40c refactor(connectionLine): create connection line type enum 2020-05-29 18:53:23 +02:00
moklick 02b4dc82df feat(nodes): add selectNodesOnDrag prop type 2020-05-25 18:13:12 +02:00
moklick 17614bda6b refactor(callbacks): dont provide noops as defaults, but make cbs optional 2020-05-25 16:24:50 +02:00
moklick 7324c79fd0 refactor(background): export background as component closes #235 2020-05-25 15:53:56 +02:00
moklick f154f59e74 feat(wrapper): add onSelectionChange handler 2020-05-25 14:00:46 +02:00
moklick 5049379e3b feat(nodes): add onDragStart handler #241 2020-05-25 12:14:47 +02:00
moklick c198d69eec refactor(reactflow): remove classname from interface 2020-05-19 18:48:29 +02:00
Christopher Möller cebab6731b add className prop to ReactFlow container component closes #238 2020-05-19 18:06:00 +02:00
moklick fcb0a3e9f1 refactor(onConnect): param can be edge or connection 2020-05-16 01:13:28 +02:00
moklick 1e447a204c refactor(types): use types for prop type functions 2020-05-15 21:53:13 +02:00
moklick 6dcb9f5120 refactor(renderer): show error when no width or height is set #196 2020-05-11 18:50:09 +02:00