Commit Graph
378 Commits
Author SHA1 Message Date
moklick 0a77162ddb refactor(nodes): handle selection when selectNodesOnDrag=false 2020-11-05 15:36:35 +01:00
moklick fe3db783f1 refactor(global-keyhandler): cleanup 2020-11-05 15:32:23 +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
moklick 8cdd9fd800 fix(selection): unset selection when shift pressed #641 2020-11-05 14:14:10 +01:00
Moritz KlackandGitHub 40ef6e076e Merge pull request #662 from justrhysism/feat/forward-node-position-661
Forward position to NodeComponent
2020-11-05 11:50:49 +01:00
Rhys Lloyd 20c7f1622c Resolve #661
Forward positional data to Node Component.
2020-11-05 09:14:45 +10:30
Rhys LloydandGitHub 4a5f0b5a76 Resolve #659
Set border-box explicitly so upstream frameworks don't upset the layout.
2020-11-05 08:08:56 +10:30
Christopher Möller de1f7dba5d prevent page bouncing when panOnScroll is enabled #359 2020-11-03 16:10:24 +01:00
moklick b88729fbf1 feat(panOnScroll): add speed option 2020-11-03 15:58:47 +01:00
Christopher Möller febf3012d7 fix zoom behaviour while selection key is pressed 2020-11-02 13:19:04 +01:00
Christopher Möller d64cdcec66 rewrite d3-zoom hook as react component, add pan behaviour with d3-zoom event #359 2020-11-02 12:36:10 +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 2c8a5595bb fix(globals): declare __ENV__ 2020-10-29 16:40:41 +01:00
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 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 a79c363195 Merge branch 'main' of github.com:wbkd/react-flow into main 2020-10-22 17:21:02 +02: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 13a3fd46b1 fix(selection): handle overlapping area rounding issues closes #610 2020-10-21 22:13:09 +02:00
jasonpulandGitHub abf00187bb Update graph.ts
added check to verify handle exists in node
2020-10-11 17:51:08 -04:00
moklick d266a48c14 fix(maxZoom): set option correctly closes #563 2020-10-08 15:42:39 +02:00
moklick d8ae6bd9a2 refactor(remove-nodes): check if target has contenteditable attr closes #560 2020-10-07 17:40:35 +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 ee7fcb5bb5 chore(typescript): export interfaces of additional components 2020-10-06 17:12:39 +02:00
Christopher Möller c2635ba23e chore(typescript): export react flow component prop interface 2020-10-06 16:56:53 +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
Christopher Möller 0373b53fc2 feat(renderer): change layer order, allow zoom on nodes and user selection 2020-10-06 13:08:38 +02:00
Christopher Möller 4f757b86b9 feat(renderer): move interactions into seperate wrapper component 2020-10-05 16:37:10 +02:00
moklick c4e4f76a2b refactor(nodes): handle type changes #545 2020-10-05 12:14:22 +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
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 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 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
MoritzandGitHub c317fec81b Merge pull request #532 from is343/feat/controlCallbacks
feat(control): add optional callbacks
2020-09-27 12:56:36 +02:00
moklick de3757ce6f fix(nodes): click after drag closes #531 2020-09-27 13:01:45 +02:00
Ivan S ab92766af5 feat(control): add optional callbacks 2020-09-22 14:17:34 -04: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 63d1e4b218 fix(utils): export getIncomers #510 2020-09-15 10:12:57 +02:00