Commit Graph
120 Commits
Author SHA1 Message Date
moklick 6c75635629 refactor(smoothStepEdge): cleanup 2020-11-15 21:14:45 +01:00
moklick 7482b961b0 refactor(deps): remove resize-observer 2020-11-11 18:33:32 +01:00
moklick 5e28762f53 refactor(nodes): don't re-render on pan #677 2020-11-10 17:06:18 +01:00
moklick 0fbefe5a58 refactor(GraphView): reduce amounts of re-renderings 2020-11-09 22:24:12 +01:00
moklick 0a77162ddb refactor(nodes): handle selection when selectNodesOnDrag=false 2020-11-05 15:36:35 +01:00
moklick 7e55f8c07f fix(nodes): always drag draggable node even if not selected 2020-11-05 14:36:26 +01:00
moklick 0774d35846 feat(nodes): multi drag 2020-11-05 14:32:10 +01:00
moklick 7d4a6d7c36 Merge branch 'main' into feat/multiselect 2020-11-05 14:19:09 +01:00
Rhys Lloyd 20c7f1622c Resolve #661
Forward positional data to Node Component.
2020-11-05 09:14:45 +10:30
moklick ddd3baa5f7 refactor(handle-handling): cleanup 2020-10-29 12:36:10 +01:00
Naden a3e9cbf9dc Cleanup of jasonpul's connection-validation branch 2020-10-27 14:51:54 +11:00
moklick f99d0170ea refactor(nodes): pass isDragging prop closes #624 2020-10-22 17:20:56 +02:00
moklick 65a1b5e07a feat(elements): multiselect 2020-10-22 00:03:30 +02:00
moklick 011e4c0aaf style(comps): dont use inline styles for minimap and edges #491 2020-10-06 18:00:08 +02:00
Christopher Möller bb2675a1ea feat(selection): find react-flow parent from event target instead of document 2020-10-06 14:19:43 +02:00
Christopher Möller 0045058295 feat(selection): clear user selection when mouse leaves the pane 2020-10-06 14:16:16 +02:00
jasonpul d9ba18d49c broke out handleId by itself rather than joined with nodeID, modded necessary functions to give handles not assigned IDs an empty string for backwards compadibility. Also modded handles so that only target-source and source-target connections are allowed, and no repeat connections are allowed. 2020-10-01 15:47:37 -04:00
jasonpul bee2ca5c0c initial working mod with nodeId and handleId split up in Connection type so that target-target and source-source connections cannot be made 2020-10-01 12:48:56 -04:00
moklick 988389bedf refactor(flows): support muliple flows on one site 2020-10-01 17:59:51 +02:00
moklick 993055e08b refactor(edge-utils): check center params for undefined 2020-09-27 22:28:43 +02:00
moklick b7e27094bb feat(edge-utils): add center üaram to bezier and step edge helpers closes #522 2020-09-27 22:26:41 +02:00
moklick de3757ce6f fix(nodes): click after drag closes #531 2020-09-27 13:01:45 +02:00
moklick 1f7d88fd5e feat(connectionline): custom component option #516 2020-09-19 13:38:40 +02:00
moklick 5a504df0d6 fix(userselection): dont unset selection on startup #515 2020-09-18 12:56:19 +02:00
moklick 0b15211e18 refactor(edges): pass original source and target ids, cleanup #476 2020-09-15 11:17:06 +02:00
moklick 3693602cf8 fix(nodes): handle isHidden on start closes #506 2020-09-14 12:16:31 +02:00
moklick ce1ddcb681 refactor(selection): cleanup 2020-09-14 10:03:14 +02:00
moklick db813eac0b refactor(wrapNode): cleanup 2020-09-11 17:28:42 +02:00
moklick 8a0a928e17 refactor(nodes): always render nodes that are dragged closes #477 2020-09-11 17:12:09 +02:00
moklick d17e6ebaea refactor(wrapNode): simplify dragging behaviour 2020-09-11 16:36:23 +02:00
moklick 4cc6b0af02 fix(selection): dont render selection when another node gets selected 2020-09-11 11:04:38 +02:00
moklick 121952bba7 feat(selection): add context menu handler closes #478 2020-09-11 02:01:33 +02:00
moklick fe3dd87d24 fix(selection): handle snap grid correctly 2020-09-11 01:39:40 +02:00
moklick 0cc9526630 refactor(wrapNode): clean up event handlers closes #482 2020-09-10 17:56:36 +02:00
moklick e06ffe8b9a refactor(draggable): pass nodeRef to draggable comp closes #486 2020-09-05 12:00:09 +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 ae623be738 refactor(nodes): use opacity for hiding nodes on start 2020-08-20 14:54:23 +02:00
moklick 58b0d88208 refactor(nodes): no jumping nodes on start 2020-08-20 14:54:23 +02:00
moklick ecc4ae8b07 refactor(wrapNode): check if dom node exists when updating dimensions #434 2020-08-19 18:58:25 +02:00
Nate Amack 34473166cb feat(onElementClick): always allow onElementClick to run 2020-08-18 10:59:22 -06:00
moklick 07e597fbb1 refactor(edges): pass data in onClick handler closes #430 2020-08-13 09:28:02 +02:00
moklick ee74c90f15 feat(edges): add labelBgBorderRadius option closes #421 2020-08-12 13:00:54 +02:00
moklick e4233aa9b3 fix(nodes): fire click event when node is selectable closes #424 2020-08-11 19:18:48 +02:00
moklick 6bbc152041 feat(edge-options): add labelBgPadding #421 2020-08-11 10:36:22 +02:00
moklick 6d651bdc98 fix(edges): pass className to edge closes #420 2020-08-11 09:57:45 +02:00
moklick ccf03eb604 feat(lib): export edge utils #418 2020-08-10 23:39:25 +02:00
moklick e5f664f766 refactor(connection): fire onConnect after onConnectStop closes #405 2020-08-10 12:11:19 +02:00
moklick 59742c9526 refactor(variables): dont use abbreviations 2020-08-10 12:10:17 +02:00
Nate Amack fddb3e777d feat(props): add mouse event to onConnectStart and onConnectStop 2020-08-04 12:22:38 -06:00