Commit Graph
44 Commits
Author SHA1 Message Date
moklick fc9cf9604c feat(package): add umd version 2022-03-30 18:20:43 +02:00
Ze-Zheng Wu c1a29beb1d assume toPosition is opposite to fromPosition 2022-03-18 19:00:03 +08:00
Ze-Zheng Wu 0ff63803b6 refactor Bezier function 2022-03-18 18:18:39 +08:00
Ze-Zheng Wu 2199ca3fd4 fix typo 2022-03-18 18:18:31 +08:00
Ze-Zheng Wu 9cc873d64a refactor connection line 2022-03-18 18:18:15 +08:00
moklick bef6157097 refactor(bezier): handle undirectional flows, use simple bezier for connection closes #1971 2022-03-17 13:09:17 +01:00
moklick bc5d1df10e refactor(edges): add BaseEdge 2022-03-14 16:27:44 +01:00
moklick b362c11851 refactor(edges): use new edge as default, add simplebezier 2022-03-14 16:01:00 +01:00
moklick e52c5eda19 refactor(types): drop NodeInternalsItem type 2022-01-19 22:17:07 +01:00
moklick 81585dbff5 refactor(general): cleanup 2021-12-09 09:17:36 +01:00
moklick 2e83af4638 Merge branch 'main' into v10 2021-12-04 01:01:25 +01:00
moklick 0974aa5732 refactor(nodes): only use node internals 2021-11-18 13:01:11 +01:00
moklick 8a2ac1e31e refactor(types): cleanup 2021-11-09 14:52:39 +01:00
moklick 996b1b51f5 refactor(store): rename nodeLookup to nodeInternals 2021-11-04 18:13:21 +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 5547b0d6cc refactor(nodelookup): use as normale store item 2021-11-04 14:03:22 +01:00
Christopher Möller 1b390e103d feat(stacking): simplify zIndex and treeLevel behaviour 2021-11-04 12:42:14 +01:00
moklick 3cc33aa7cb refactor(conenctionline): simplify getSourceHandle helper 2021-11-02 14:49:16 +01:00
Christopher Möller 2252ea11ae feat(nested-nodes): change data structure to flat array of nodes 2021-10-21 15:39:27 +02:00
Christopher Möller 9ad894d2df feat(nodes): add helper functions to iterate over child nodes 2021-10-21 11:53:44 +02:00
Christopher Möller 767fbd4377 feat(noderenderer): render child nodes 2021-10-20 16:57:44 +02:00
moklick 410b12946d refactor(state): separate nodes and edges 2021-10-19 11:09:49 +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
Clément Loridan ae4bce1295 fix(connectionLine): sourceHandle with connectionMode = loose 2021-09-22 18:07:24 +02:00
DiamondDrake b7e63c17e7 Extend Connection Line props
Include Node and Handle in props passed to custom connection lines for advanced usage.
2021-07-20 15:39:11 -04:00
moklick ddd3baa5f7 refactor(handle-handling): cleanup 2020-10-29 12:36:10 +01:00
moklick 1f7d88fd5e feat(connectionline): custom component option #516 2020-09-19 13:38:40 +02:00
moklick ccf03eb604 feat(lib): export edge utils #418 2020-08-10 23:39:25 +02:00
moklick 8a16727cf8 refactor(edge-types-example): cleanup 2020-07-21 16:48:23 +02:00
moklick 1b3f58486a refactor(classnames): use faster classcat alternative 2020-07-14 10:11:26 +02:00
moklick 152acbe70a feat(connectionline): add step and smoothstep types 2020-07-13 18:02:59 +02:00
moklick 1d8a9d6d87 feat(graph): more adjustable interaction closes #329, closes #291 2020-07-13 17:36:15 +02:00
moklick 5a3adab3a0 refactor(internals): rename __rg to __rf 2020-06-05 00:17:28 +02:00
moklick ce32d34c6b fix(connectionline): draw line from handle where user starts closes #270 2020-06-01 23:14:14 +02:00
moklick c620d0f40c refactor(connectionLine): create connection line type enum 2020-05-29 18:53:23 +02:00
moklick 11a3605c1b refactor(connectionline): handle horizontal flows correctly closes #253 2020-05-28 11:30:05 +02:00
moklick 7a2bff2502 fix(connectionline): set stroke color 2020-05-11 17:49:07 +02:00
moklick 9e534f83ff fix(connection): no fill fixes #210 2020-05-11 17:07:04 +02:00
moklick 51cbb44492 fix(nodes): connection from output node 2020-05-06 09:38:38 +02:00
MoritzandGitHub 873fb50b19 Graph Prop: isInteractive (#56)
* feat(props): add isInteractive

* refactor(selection): dont allow if not interactive

* feat(renderer): add class if is interactive

* chore(inactive): add tests

* refactor(inactive): no connection line, no edge selection

closes #49
2019-10-23 18:42:17 +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