Commit Graph
467 Commits
Author SHA1 Message Date
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
Long Nguyen 8ea54a6574 Fix: Couldn't drag edge after creating of FlowRenderer 2020-10-13 12:06:55 +09:00
Long Nguyen 57528851ff Fix confict after merge branch master 2020-10-13 11:58:28 +09:00
Long Nguyen bd63a0131a Feature: Draggable edge 2020-10-12 21:34:35 +09: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
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 1425b8ffde refactor(element-parsing): handle elements with integer ids closes #500 2020-09-11 10:54:04 +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 7f64ffe173 feat(utils): add getIncomers function closes #461 2020-09-10 23:54:53 +02:00
moklick 5c2c1eecad feat(paneview): add translateExtent option closes #479 2020-09-10 18:39:40 +02:00