Commit Graph
72 Commits
Author SHA1 Message Date
moklick e1ae70e779 refactor(zoomPanHelper): export and simplify 2020-11-09 19:30:21 +01:00
moklick c7bf8ffbcc refactor(initD3): pass initial transform 2020-11-09 18:27:41 +01:00
moklick 7cc2306975 feat(reactflowInstance): add toObject function closes #603 2020-11-09 18:17:36 +01:00
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 65a1b5e07a feat(elements): multiselect 2020-10-22 00:03:30 +02:00
Christopher Möller 4f757b86b9 feat(renderer): move interactions into seperate wrapper component 2020-10-05 16:37:10 +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 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 d17e6ebaea refactor(wrapNode): simplify dragging behaviour 2020-09-11 16:36:23 +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 de9a846fea fix(onLoad): use project and getElements in combination with RFPovider closes #285 2020-08-20 08:53:51 +02:00
moklick 23660b5903 feat(reactflowInstance): add zoomTo function closes #433 2020-08-19 19:12:28 +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
Nate Amack 93aa5c96ca feat(props): add onPaneContextMenu 2020-08-04 17:12:42 -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 6cb3c707bf refactor(store): rename/cleanup setNodesSection action 2020-08-04 00:42:54 +02:00
moklick 915bc72974 fix(onLoad): only call once closes #393 2020-08-03 17:12:04 +02:00
moklick e0a2ceeab0 refacor(graphview): cleanup 2020-08-02 18:55:15 +02:00
moklick f6f3202b57 refactor(graphview): put resize handling in its own hook 2020-08-02 18:34:03 +02: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
MoritzandGitHub 7c920d0a86 Merge branch 'master' into develop 2020-07-28 09:41:07 +02:00
Andy 7bfa18f506 Bugfix: Update onConnect
Will call setOnConnect if function passed as onConnect changes
2020-07-28 00:48:13 +02:00
moklick 30e811225a refactor(components): show displayName in react profiler correctly 2020-07-27 18:50:53 +02:00
moklick 2fee4c35ae feat(onLoad): add setTransform function #358 2020-07-25 13:38:55 +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 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 33d2770b23 fix(userselection): dont render user selection when its not active 2020-06-05 12:37:54 +02:00
moklick 4ae4f2e213 fix(userselection): handle shift key + mouse up handling 2020-06-05 01:04:40 +02:00
moklick a73c448edc feat(renderer): detect dimension changes and adjust container closes #279 2020-06-03 23:10:57 +02:00
moklick 3f3a79b5f6 feat(rfInstance): add getElements function #274 2020-06-02 16:06:08 +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