moklick
cc7debf8de
refactor(utils): cleanup
2021-11-04 16:10:35 +01:00
moklick
b4b15612a3
refactor(graphView): add useOnLoadHandler
2021-11-04 15:51:20 +01:00
moklick
50250e5670
refactor(connectionline): use abs pos
2021-11-04 15:32:04 +01:00
moklick
72f1d8b4e3
refactor(stlyes): use react-flow__container helper
2021-11-04 15:13:14 +01:00
moklick
31ad12ec9c
refactor(nodelookup): use ref for node renderer
2021-11-04 14:33:21 +01:00
moklick
a3a9249d17
fix(minimap): use abs pos
2021-11-04 14:14:11 +01:00
moklick
1db53e8fe2
chore(package): bump version
2021-11-04 14:05:30 +01:00
moklick
8e972327b4
Merge branch 'refactor/nested-relative' of github.com:wbkd/react-flow into refactor/nested-relative
2021-11-04 14:03:37 +01:00
moklick
5547b0d6cc
refactor(nodelookup): use as normale store item
2021-11-04 14:03:22 +01:00
moklick
7333873822
refactor(nodelookup): add treelevel
2021-11-03 10:03:23 +01:00
moklick
248b563231
refactor(nodes): use relative positions for children
2021-11-02 18:58:47 +01:00
moklick
8cd969dd84
refactor(wrapNode): call update dim when node is not initialized
2021-11-02 14:33:09 +01:00
moklick
65991de037
chore(examples): add layouting with new api
2021-11-02 12:52:24 +01:00
moklick
6e3ff4e849
refactor(wrapNode): call updateNodeDim when target or source pos changes
2021-11-02 12:52:06 +01:00
moklick
74e860587c
refactor(node): pass width and height dep to style memo
2021-11-01 18:12:53 +01:00
moklick
e8d26002a1
refactor(node-renderer): do not mutate node styles
2021-10-25 16:56:54 +02:00
moklick
c42ba1fa1d
fix(hooks/keypress): check if document is defined
2021-10-25 13:04:15 +02:00
moklick
8f23321bd0
refactor(hooks): add useVisibleNodes and useVisibleEdges
2021-10-21 09:05:56 +02:00
moklick
450cb90e67
refactor(nested-nodes): zIndex
2021-10-20 19:26:22 +02:00
moklick
a0b8aa6fcb
Merge branch 'v10' into refactor/nodes-edges-state
2021-10-20 10:52:11 +02:00
moklick
f957462eb6
chore(examples): add old api examples
2021-10-20 10:23:09 +02:00
moklick
1525af39cf
refactor(elements): render only visible elements
2021-10-19 14:57:34 +02:00
moklick
410b12946d
refactor(state): separate nodes and edges
2021-10-19 11:09:49 +02:00
Moritz Klack and GitHub
fa3554060b
Merge pull request #1584 from wbkd/node-as-handle-example
...
chore(examples): add floating edge example
2021-10-14 12:39:43 +02:00
moklick
ceb96201de
refactor(floating-edges-example): comments and cleanup
2021-10-14 12:29:05 +02:00
moklick
b9b597b1ac
chore: release v9.6.9
2021-10-14 11:41:10 +02:00
Moritz Klack and GitHub
620c306072
Merge pull request #1569 from wbkd/dependabot/npm_and_yarn/main/types/react-redux-7.1.19
...
chore(deps): bump @types/react-redux from 7.1.18 to 7.1.19
2021-10-14 11:36:40 +02:00
Moritz Klack and GitHub
2bd50818a6
Merge pull request #1568 from wbkd/dependabot/npm_and_yarn/main/postcss-8.3.9
...
chore(deps-dev): bump postcss from 8.3.8 to 8.3.9
2021-10-14 11:36:27 +02:00
Moritz Klack and GitHub
bbc53a4356
Merge pull request #1570 from wbkd/dependabot/npm_and_yarn/main/babel/plugin-transform-runtime-7.15.8
...
chore(deps-dev): bump @babel/plugin-transform-runtime from 7.15.0 to 7.15.8
2021-10-14 11:36:17 +02:00
Moritz Klack and GitHub
b9e1896651
Merge pull request #1571 from wbkd/dependabot/npm_and_yarn/main/autoprefixer-10.3.7
...
chore(deps-dev): bump autoprefixer from 10.3.6 to 10.3.7
2021-10-14 11:35:34 +02:00
Moritz Klack and GitHub
60eccc5eeb
Merge pull request #1572 from wbkd/dependabot/npm_and_yarn/main/babel/core-7.15.8
...
chore(deps-dev): bump @babel/core from 7.15.5 to 7.15.8
2021-10-14 11:35:25 +02:00
Moritz Klack and GitHub
df045383f3
Merge pull request #1573 from wbkd/dependabot/npm_and_yarn/main/babel/preset-env-7.15.8
...
chore(deps-dev): bump @babel/preset-env from 7.15.6 to 7.15.8
2021-10-14 11:35:17 +02:00
moklick
9d1d6c79d5
Merge branch 'main' of github.com:wbkd/react-flow
2021-10-14 11:34:27 +02:00
moklick
ab2391fd51
refactor(floating-edge-example): cleanup
2021-10-14 11:34:06 +02:00
moklick
a50f9c69af
Merge branch 'main' into node-as-handle-example
2021-10-14 10:57:08 +02:00
moklick
a76b111365
chore(examples): add old api src
2021-10-14 10:54:40 +02:00
Moritz Klack and GitHub
17a3399fef
Merge pull request #1581 from wbkd/feat-improve-bezier
...
feat(BezierEdge): use quadratic bezier curve
2021-10-14 10:36:44 +02:00
moklick
3dc79276ad
refactor(store): cleanup
2021-10-13 16:30:34 +02:00
moklick
1f41cc0d9a
refactor(zustand): use shallow when needed
2021-10-13 16:19:46 +02:00
moklick
3f8c252096
refactor(graphview): use one hook
2021-10-13 13:52:45 +02:00
moklick
ee0d29029a
refactor(state): replace redux with zustand
2021-10-13 12:54:01 +02:00
moklick
e01249a87c
refactor(examples): hide old api examples
2021-10-09 16:49:41 +02:00
moklick
32ee964044
refactor(elements): split into nodes and edges
2021-10-09 11:33:10 +02:00
moklick
ae621d084c
chore(selection-listener): remove easy-peasy related comment
2021-10-06 10:30:08 +02:00
Moritz Klack and GitHub
be3b451d1d
Refactor: add possibility to use different keys or combinations as a key code ( #1554 )
...
* feat(keys): support for combinations and multiple possibilites for one action
* refactor(globalKeyHandler): pass deps to useEffect
* refactor(examples): define key codes outside of the component
2021-10-05 15:27:07 +02:00
moklick
654c9e5235
chore: release v9.6.8
2021-10-05 15:12:33 +02:00
moklick
c5ce586dd9
test(draghandle): add basic tests #1552
2021-10-05 10:45:51 +02:00
moklick
5d2f08cb54
Merge branch 'datoslabs-add-node-dragHandle'
2021-10-05 10:10:29 +02:00
moklick
8c4fafa5bf
Merge branch 'main' of github.com:wbkd/react-flow
2021-10-04 10:59:48 +02:00
Moritz Klack and GitHub
6ed16d662a
Merge pull request #1512 from SeonghoJin/added-dependency-of-onConnectEdge-and-onUpdateEdge
...
Fix when it disappears when connecting an edge to update to a new node
2021-10-04 10:59:27 +02:00
moklick
e894d1da52
chore(examples): update deps
2021-10-04 10:50:28 +02:00
moklick
8171c3b5ca
chore(package.json): add engines
2021-10-04 10:43:19 +02:00
Moritz Klack and GitHub
ab26c312b6
Merge pull request #1546 from wbkd/dependabot/npm_and_yarn/main/postcss-8.3.8
...
chore(deps-dev): bump postcss from 8.3.6 to 8.3.8
2021-10-04 10:34:06 +02:00
Moritz Klack and GitHub
d7f7c7db9f
Merge pull request #1545 from wbkd/dependabot/npm_and_yarn/main/rollup/plugin-commonjs-21.0.0
...
chore(deps-dev): bump @rollup/plugin-commonjs from 20.0.0 to 21.0.0
2021-10-04 10:33:37 +02:00
Moritz Klack and GitHub
aad99e66cc
Merge pull request #1547 from wbkd/dependabot/npm_and_yarn/main/postcss-cli-9.0.1
...
chore(deps-dev): bump postcss-cli from 8.3.1 to 9.0.1
2021-10-04 10:33:16 +02:00
Moritz Klack and GitHub
57376403f6
Merge pull request #1544 from wbkd/dependabot/npm_and_yarn/main/rollup/plugin-node-resolve-13.0.5
...
chore(deps-dev): bump @rollup/plugin-node-resolve from 13.0.4 to 13.0.5
2021-10-04 10:30:45 +02:00
Moritz Klack and GitHub
e2e838b049
Merge pull request #1543 from wbkd/dependabot/npm_and_yarn/main/release-it-14.11.6
...
chore(deps-dev): bump release-it from 14.11.5 to 14.11.6
2021-10-04 10:30:36 +02:00
Moritz Klack and GitHub
cb5324de3d
Merge pull request #1496 from wbkd/dependabot/npm_and_yarn/main/babel/runtime-7.15.4
...
chore(deps): bump @babel/runtime from 7.15.3 to 7.15.4
2021-10-04 10:29:51 +02:00
Moritz Klack and GitHub
4040b9d3be
Merge pull request #1498 from wbkd/dependabot/npm_and_yarn/main/start-server-and-test-1.14.0
...
chore(deps-dev): bump start-server-and-test from 1.13.1 to 1.14.0
2021-10-04 10:29:18 +02:00
Moritz Klack and GitHub
d770e56cd4
Merge pull request #1501 from wbkd/dependabot/npm_and_yarn/main/babel/core-7.15.5
...
chore(deps-dev): bump @babel/core from 7.15.0 to 7.15.5
2021-10-04 10:29:04 +02:00
Moritz Klack and GitHub
f8d2fb6ef5
Merge pull request #1500 from wbkd/dependabot/npm_and_yarn/main/react-redux-7.2.5
...
chore(deps): bump react-redux from 7.2.4 to 7.2.5
2021-10-04 10:14:58 +02:00
Moritz Klack and GitHub
97c928ee18
Merge pull request #1510 from wbkd/dependabot/npm_and_yarn/main/typescript-4.4.3
...
chore(deps-dev): bump typescript from 4.4.2 to 4.4.3
2021-10-04 10:14:38 +02:00
Moritz Klack and GitHub
f34b19841b
Merge pull request #1511 from wbkd/dependabot/npm_and_yarn/main/babel/preset-env-7.15.6
...
chore(deps-dev): bump @babel/preset-env from 7.15.0 to 7.15.6
2021-10-04 10:14:25 +02:00
Moritz Klack and GitHub
167ec7448f
Merge pull request #1520 from wbkd/dependabot/npm_and_yarn/main/prettier-2.4.1
...
chore(deps-dev): bump prettier from 2.3.2 to 2.4.1
2021-10-04 10:14:12 +02:00
Moritz Klack and GitHub
577c1792e4
Merge pull request #1531 from wbkd/dependabot/npm_and_yarn/main/autoprefixer-10.3.6
...
chore(deps-dev): bump autoprefixer from 10.3.3 to 10.3.6
2021-10-04 10:14:01 +02:00
Moritz Klack and GitHub
a5e4000c03
Merge pull request #1541 from wbkd/dependabot/npm_and_yarn/main/cypress-8.5.0
...
chore(deps-dev): bump cypress from 8.3.1 to 8.5.0
2021-10-04 10:13:53 +02:00
Moritz Klack and GitHub
03e6c12091
Merge pull request #1542 from wbkd/dependabot/npm_and_yarn/main/rollup-2.58.0
...
chore(deps-dev): bump rollup from 2.56.3 to 2.58.0
2021-10-04 10:13:44 +02:00
Moritz Klack and GitHub
487fb35922
Merge pull request #1539 from italodeandra/patch-1
...
fix typo
2021-10-04 10:13:20 +02:00
moklick
b3f102ce1b
chore: release v9.6.7
2021-09-01 23:08:25 +02:00
moklick
4a5ceb3fd7
refactor(handle): forward ref closes #1458 closes #1385
2021-09-01 23:04:24 +02:00
moklick
e744c41821
refactor(ts): ignore for shadow root elementFromPoint
2021-09-01 22:37:01 +02:00
moklick
1aacf04433
fix(onMoveStart): trigger always closes #1452
2021-09-01 22:36:37 +02:00
Moritz Klack and GitHub
a90d314f39
Merge pull request #1409 from wbkd/dependabot/npm_and_yarn/main/rollup/plugin-commonjs-20.0.0
...
chore(deps-dev): bump @rollup/plugin-commonjs from 19.0.1 to 20.0.0
2021-09-01 22:26:51 +02:00
Moritz Klack and GitHub
177a8ed4f1
Merge pull request #1427 from wbkd/dependabot/npm_and_yarn/main/babel/plugin-transform-runtime-7.15.0
...
chore(deps-dev): bump @babel/plugin-transform-runtime from 7.14.5 to 7.15.0
2021-09-01 22:26:43 +02:00
Moritz Klack and GitHub
446143bdcb
Merge pull request #1404 from wbkd/dependabot/npm_and_yarn/main/start-server-and-test-1.13.1
...
chore(deps-dev): bump start-server-and-test from 1.13.0 to 1.13.1
2021-09-01 22:26:27 +02:00
Moritz Klack and GitHub
7f678a3fa8
Merge pull request #1408 from wbkd/dependabot/npm_and_yarn/main/postcss-nested-5.0.6
...
chore(deps-dev): bump postcss-nested from 5.0.5 to 5.0.6
2021-09-01 22:26:20 +02:00
Moritz Klack and GitHub
df70323ac4
Merge pull request #1429 from wbkd/dependabot/npm_and_yarn/main/redux-4.1.1
...
chore(deps): bump redux from 4.1.0 to 4.1.1
2021-09-01 22:25:59 +02:00
Moritz Klack and GitHub
7bf680fbb4
Merge pull request #1430 from wbkd/dependabot/npm_and_yarn/main/babel/preset-env-7.15.0
...
chore(deps-dev): bump @babel/preset-env from 7.14.8 to 7.15.0
2021-09-01 22:25:50 +02:00
Moritz Klack and GitHub
29507475b9
Merge pull request #1431 from wbkd/dependabot/npm_and_yarn/main/babel/core-7.15.0
...
chore(deps-dev): bump @babel/core from 7.14.8 to 7.15.0
2021-09-01 22:24:06 +02:00
Moritz Klack and GitHub
5bc06d1f14
Merge pull request #1446 from wbkd/dependabot/npm_and_yarn/main/release-it-14.11.5
...
chore(deps-dev): bump release-it from 14.10.1 to 14.11.5
2021-09-01 22:23:58 +02:00
Moritz Klack and GitHub
536bda55db
Merge pull request #1490 from wbkd/dependabot/npm_and_yarn/main/autoprefixer-10.3.3
...
chore(deps-dev): bump autoprefixer from 10.3.1 to 10.3.3
2021-09-01 22:23:49 +02:00
Moritz Klack and GitHub
f9b085718d
Merge pull request #1488 from wbkd/dependabot/npm_and_yarn/main/react-draggable-4.4.4
...
chore(deps): bump react-draggable from 4.4.3 to 4.4.4
2021-09-01 22:23:32 +02:00
Moritz Klack and GitHub
b6524f3058
Merge pull request #1489 from wbkd/dependabot/npm_and_yarn/main/typescript-4.4.2
...
chore(deps-dev): bump typescript from 4.3.5 to 4.4.2
2021-09-01 22:18:46 +02:00
Moritz Klack and GitHub
eee79ee678
Merge pull request #1486 from wbkd/dependabot/npm_and_yarn/main/babel/runtime-7.15.3
...
chore(deps): bump @babel/runtime from 7.14.8 to 7.15.3
2021-09-01 22:10:21 +02:00
Moritz Klack and GitHub
2ee4475549
Merge pull request #1487 from wbkd/dependabot/npm_and_yarn/main/rollup-plugin-postcss-4.0.1
...
chore(deps-dev): bump rollup-plugin-postcss from 4.0.0 to 4.0.1
2021-09-01 22:10:10 +02:00
Moritz Klack and GitHub
d8516a72b5
Merge pull request #1474 from wbkd/dependabot/npm_and_yarn/main/cypress-8.3.1
...
chore(deps-dev): bump cypress from 8.0.0 to 8.3.1
2021-09-01 22:09:06 +02:00
Moritz Klack and GitHub
b8fe1f8841
Merge pull request #1475 from wbkd/dependabot/npm_and_yarn/main/rollup-2.56.3
...
chore(deps-dev): bump rollup from 2.54.0 to 2.56.3
2021-09-01 22:08:34 +02:00
moklick
64d1913356
chore: release v9.6.6
2021-07-26 13:45:02 +02:00
Moritz Klack and GitHub
978bd9ac16
Merge pull request #1386 from wbkd/dependabot/npm_and_yarn/main/rollup-2.54.0
...
chore(deps-dev): bump rollup from 2.53.2 to 2.54.0
2021-07-26 13:39:33 +02:00
Moritz Klack and GitHub
ab97a12237
Merge pull request #1387 from wbkd/dependabot/npm_and_yarn/main/rollup/plugin-node-resolve-13.0.4
...
chore(deps-dev): bump @rollup/plugin-node-resolve from 13.0.2 to 13.0.4
2021-07-26 13:39:26 +02:00
Moritz Klack and GitHub
7ecebe2844
Merge pull request #1388 from wbkd/dependabot/npm_and_yarn/main/babel/core-7.14.8
...
chore(deps-dev): bump @babel/core from 7.14.6 to 7.14.8
2021-07-26 13:39:17 +02:00
Moritz Klack and GitHub
200bab3973
Merge pull request #1389 from wbkd/dependabot/npm_and_yarn/main/postcss-8.3.6
...
chore(deps-dev): bump postcss from 8.3.5 to 8.3.6
2021-07-26 13:39:10 +02:00
Moritz Klack and GitHub
32b255cd93
Merge pull request #1390 from wbkd/dependabot/npm_and_yarn/main/babel/runtime-7.14.8
...
chore(deps): bump @babel/runtime from 7.14.6 to 7.14.8
2021-07-26 13:31:45 +02:00
Moritz Klack and GitHub
abf2c41aca
Merge pull request #1391 from wbkd/dependabot/npm_and_yarn/main/babel/preset-env-7.14.8
...
chore(deps-dev): bump @babel/preset-env from 7.14.7 to 7.14.8
2021-07-26 13:31:37 +02:00
Moritz Klack and GitHub
41a4e91f55
Merge pull request #1392 from wbkd/dependabot/npm_and_yarn/main/release-it-14.10.1
...
chore(deps-dev): bump release-it from 14.10.0 to 14.10.1
2021-07-26 13:31:29 +02:00
Moritz Klack and GitHub
6190960c89
Merge pull request #1393 from wbkd/dependabot/npm_and_yarn/main/start-server-and-test-1.13.0
...
chore(deps-dev): bump start-server-and-test from 1.12.6 to 1.13.0
2021-07-26 13:31:20 +02:00
Moritz Klack and GitHub
ceca35f763
Merge pull request #1394 from wbkd/dependabot/npm_and_yarn/main/cypress-8.0.0
...
chore(deps-dev): bump cypress from 7.7.0 to 8.0.0
2021-07-26 13:31:11 +02:00
Moritz Klack and GitHub
da768967f1
Merge pull request #1372 from RickeyWard/ConnectionLinesEx
...
Extend Connection Lines
2021-07-24 14:12:23 +02:00
moklick
037c44ed6a
chore: release v9.6.5
2021-07-20 19:27:48 +02:00
moklick
41db69e06c
fix(nodes): dont select nodes when selectable=false closes #1324
2021-07-20 17:59:04 +02:00