Commit Graph
39 Commits
Author SHA1 Message Date
moklick 3c8720a5cf refactor(onConnect): use onConnect handlers from store #2230 2022-07-18 12:52:17 +02:00
moklick 0d3439903c refactor(connect-events): add onClickConnect events 2022-05-18 23:26:56 +02:00
moklick 7d13461126 refactor(styles): cleanup 2022-05-17 19:03:43 +02:00
hiyangguo a07f3dc528 fix: fixed an issue where Handle component onMouseDown event could not be bind 2022-05-13 19:54:26 +08:00
moklick a45af5f0f8 refactor(handle): only listen to left click events closes #1852 2022-02-22 17:53:50 +01:00
moklick 0cfcf656a0 refactor(defaultNode/Edges): always trigger onNodesChange and onEdgesChange 2022-01-20 17:55:27 +01:00
moklick 634b592b3a feat(general): add defaultNodes, defaultEdges and defaultEdgeOptions 2022-01-18 13:05:41 +01:00
moklick d8b054c7d6 feat(props): add connectOnClick 2021-12-17 10:49:05 +01:00
moklick 3b25086149 feat(nodes): connect on touch device 2021-12-17 10:35:53 +01:00
moklick 895e0bc524 refactor(store): use store.setState directly instead of actions 2021-12-11 05:22:41 +01:00
moklick 81585dbff5 refactor(general): cleanup 2021-12-09 09:17:36 +01:00
moklick 8a2ac1e31e refactor(types): cleanup 2021-11-09 14:52:39 +01:00
moklick 1525af39cf refactor(elements): render only visible elements 2021-10-19 14:57:34 +02:00
moklick 1f41cc0d9a refactor(zustand): use shallow when needed 2021-10-13 16:19:46 +02:00
moklick ee0d29029a refactor(state): replace redux with zustand 2021-10-13 12:54:01 +02:00
moklick 32ee964044 refactor(elements): split into nodes and edges 2021-10-09 11:33:10 +02:00
moklick 4a5ceb3fd7 refactor(handle): forward ref closes #1458 closes #1385 2021-09-01 23:04:24 +02:00
moklick 27e2781d8c feat(props): add onEdgeUpdateEnd handler closes #1157 2021-05-29 15:12:31 +02:00
moklick 3124d46732 refactor(edge-updater): pass handle type #1212 2021-05-28 14:26:03 +02:00
moklick c63992e3ff Revert "Merge pull request #1003 from TheUnderScorer/main"
This reverts commit 106f1f0b61, reversing
changes made to 9206e65522.
2021-03-29 13:26:31 +02:00
Przemysław Żydek 96290483b1 feat(components): Support passing shadow root as document 2021-03-22 11:34:47 +01:00
moklick 5a36bf68ac refactor(components): always import HTMLAttributes from react 2021-03-01 15:42:34 +01:00
moklick e9a7ade236 refactor(store): use redux instead of easy-peasy 2021-01-19 13:58:24 +01:00
moklick 1c01520a26 refactor(handle): pass children and standard HTMLAttributes props closes #833 2021-01-14 16:33:38 +01:00
moklick c429ae7ca4 feat(props): add connection mode closes #702 2020-11-30 13:09:56 +01:00
moklick 5b4b114935 feat(props): add onConnectEnd function #451 2020-08-21 09:40:27 +02:00
moklick 59742c9526 refactor(variables): dont use abbreviations 2020-08-10 12:10:17 +02:00
moklick 5f91498d19 feat(connection): add start and stop props closes #380 2020-08-01 12:54:14 +02:00
moklick 30e811225a refactor(components): show displayName in react profiler correctly 2020-07-27 18:50:53 +02:00
moklick 1b3f58486a refactor(classnames): use faster classcat alternative 2020-07-14 10:11:26 +02:00
moklick 1d8a9d6d87 feat(graph): more adjustable interaction closes #329, closes #291 2020-07-13 17:36:15 +02:00
moklick ce32d34c6b fix(connectionline): draw line from handle where user starts closes #270 2020-06-01 23:14:14 +02:00
moklick f2313916b6 feat(handle): add class name prop type 2020-05-29 16:50:59 +02:00
moklick 714cecaba9 refactor(easy-peasy): return single values from useStoreActions 2020-05-25 17:14:09 +02:00
moklick 1e447a204c refactor(types): use types for prop type functions 2020-05-15 21:53:13 +02:00
AndyandGitHub 8b2640bd42 Handle Properties
* id is used in an example
* isValidConnection has to take the connection argument to validate
2020-05-14 19:26:24 +02:00
AndyLndandMoritz 8ca5c0f84b refactor: Change Position into enum (#48) 2019-10-22 16:37:47 +02:00
MoritzandGitHub a793f8c2ff develop (#43)
* fix(ts): use strict mode strictNullChecks etc

* chore: Use extended React.HTMLAttributes<> (#41)

* refactor(code-format): add prettier closes #42

* feat(renderer): add snap to grid option closes #20

* chore(dependabot): use develop as target branch
2019-10-21 20:58:28 +02:00
MoritzandGitHub c5632323c3 Develop (#35)
* refactor(ts): add ReactFlowProps

* Refactor/grid.tsx (#24)

* chore(deps-dev): bump start-server-and-test from 1.10.4 to 1.10.5

Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.10.4 to 1.10.5.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.10.4...v1.10.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* chore(deps-dev): bump typescript from 3.6.3 to 3.6.4

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.6.3 to 3.6.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.6.3...v3.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* refactor: grid.js -> grid.tsx

* refactor(bg): remove unused renderer

* refactor(connectionline): use ts

* refactor(ts): edges

* chore(build): update

* Refactor/typescript (WIP) (#25)

* refactor(store): use ts

* refactor(edgewrapper): use ts

* fix(handle): provide onConnect default func

* refactor(nodeselection): use ts

* refactor(userselction): use ts

* refactor(plugins): use ts

* refactor(hooks): use ts

* refactor(nodes): use ts

* refactor(edgerenderer): use ts

* refactor(graphview): use ts

* refactor(utils): rename js to ts

* refactor(app): fix ts errors

* fix(ts): errors

* fix(app): ts errors

* refactor(app): ts erros

* refactor(app): ts errors

* fix(utils): removeElements

* feat(example): add empty renderer closes #34

* fix(connect): dont drag node on connect

* chore(build): update
2019-10-15 22:44:10 +02:00