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
895e0bc524
refactor(store): use store.setState directly instead of actions
2021-12-11 05:22:41 +01:00
moklick
330eefe695
refactor(selection): only fire selection changes that changed
2021-11-26 18:42:52 +01:00
moklick
0974aa5732
refactor(nodes): only use node internals
2021-11-18 13:01:11 +01:00
moklick
a79e953ab3
refactor(boolean-props): omit is prefix
2021-11-09 12:35:21 +01:00
moklick
410b12946d
refactor(state): separate nodes and edges
2021-10-19 11:09:49 +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
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
d594d91f72
fix(onElementsRemove): always return all connected edges closes #750
2020-12-08 10:51:27 +01:00
moklick
959216f6fc
refactor(keycodes): allow strings and numbers as key codes
2020-11-10 14:27:15 +01:00
moklick
0fbefe5a58
refactor(GraphView): reduce amounts of re-renderings
2020-11-09 22:24:12 +01:00
moklick
fe3db783f1
refactor(global-keyhandler): cleanup
2020-11-05 15:32:23 +01:00
moklick
65a1b5e07a
feat(elements): multiselect
2020-10-22 00:03:30 +02:00
moklick
6cb3c707bf
refactor(store): rename/cleanup setNodesSection action
2020-08-04 00:42:54 +02:00
moklick
56cfc8d731
refactor(easy-peasy): return single values from useStoreState
2020-05-25 17:12:11 +02:00
moklick
17614bda6b
refactor(callbacks): dont provide noops as defaults, but make cbs optional
2020-05-25 16:24:50 +02:00
moklick
f154f59e74
feat(wrapper): add onSelectionChange handler
2020-05-25 14:00:46 +02:00
Moritz and GitHub
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
Moritz and GitHub
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