Commit Graph
33 Commits
Author SHA1 Message Date
moklick 8acd0c1972 Merge branch 'next' into feat/dragedge 2020-11-30 11:04:31 +01:00
moklick 425fd2e3c0 refactor(onConnectStart): also pass handleId closes #718 2020-11-26 16:20:53 +01:00
moklick 2f40a83b47 refactor(drag-edge): cleanup drag edge handlers 2020-11-05 17:28:21 +01:00
Moritz KlackandGitHub 9851281709 Merge branch 'main' into drag-edge 2020-11-03 19:59:18 +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
Long Nguyen bd63a0131a Feature: Draggable edge 2020-10-12 21:34:35 +09: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 5b4b114935 feat(props): add onConnectEnd function #451 2020-08-21 09:40:27 +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
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 2d4a64d341 refactor(handle): use weaker selectors so its easier to overwrite 2020-06-02 10:23:14 +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
moklick 6c641a15ee fix(nodes): drag nodes on touch screens 2020-05-05 16:03:28 +02:00
moklick 5030f7dc1b feat(node): handle nodrag class 2019-10-24 14:48:35 +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
moklick 492ab71929 fix(connection): remove connecting class on mouse leave 2019-10-07 20:50:02 +02:00
moklick ae1bb70882 feat(handles): validate connection 2019-10-07 19:56:47 +02:00
moklick 4f4f597eb6 refactor(app): rename react-graph to react-flow 2019-10-06 19:13:18 +02:00
moklick cc2775dd78 refactor(app): folder structure, components cleanup 2019-10-06 19:01:02 +02:00