Commit Graph
2471 Commits
Author SHA1 Message Date
moklick 8dcb8758a8 feat(nodes): add group type 2022-01-29 22:14:45 +01:00
moklick 578c278b31 refactor(wrapnode): create mouse handler util hook 2022-01-28 17:05:40 +01:00
moklick 588b590e14 refactor(wrapnode): pass shallow clones to handlers 2022-01-28 16:46:35 +01:00
moklick c40a36fdb6 refactor(wrapnode): get node from store in event handlers 2022-01-28 15:02:52 +01:00
moklick 7e915ad39f refactor(nodes): re-init when sourcePos, targetPos or type changes 2022-01-28 14:48:14 +01:00
moklick 8d5231b043 chore(version): bump 2022-01-28 13:27:27 +01:00
moklick 1e8d578bb1 chore(examples): cleanup 2022-01-28 13:26:23 +01:00
moklick ee1a393dcb refactor(changes): handle expand parent on dimension update 2022-01-28 13:26:16 +01:00
moklick 1b45a3f85d fix(fitview): only fit view once 2022-01-28 13:25:56 +01:00
Christopher Möller af52bab2a5 refactor(fitView): use same fitView function for viewport helper and initial prop 2022-01-27 13:00:03 +01:00
moklick 0244c93cb9 chore(version): bump 2022-01-25 13:55:26 +01:00
moklick 067d681485 refactor(types): add NodePositionChange type 2022-01-25 13:54:33 +01:00
Christopher MöllerandGitHub 2a4dfce61c Update README.md 2022-01-21 11:23:34 +01:00
moklick 0cfcf656a0 refactor(defaultNode/Edges): always trigger onNodesChange and onEdgesChange 2022-01-20 17:55:27 +01:00
moklick 2736492bb7 chore(version): bump 2022-01-20 12:03:42 +01:00
moklick bfea566d70 fix(exports): add hooks 2022-01-20 12:02:45 +01:00
moklick a182458781 feat(hooks): add useViewport 2022-01-20 10:03:19 +01:00
moklick 2f4d1e6796 chore(version): bump 2022-01-19 22:17:57 +01:00
moklick e52c5eda19 refactor(types): drop NodeInternalsItem type 2022-01-19 22:17:07 +01:00
moklick 08b2696e6b feat(hooks): add useNodes and useEdges 2022-01-19 22:16:53 +01:00
Christopher Möller f95f390cb3 chore(nodes): prevent crashing when data is not set on nodes object 2022-01-19 18:47:52 +01:00
Christopher Möller c2bae79916 feat(hooks): add useReactFlow hook, refactor types and properties 2022-01-19 18:31:49 +01:00
Christopher MöllerandGitHub 1755da3089 Merge pull request #1843 from wbkd/v10-default-nodes-edges
feat(general): add defaultNodes, defaultEdges and defaultEdgeOptions
2022-01-19 10:58:10 +01:00
moklick 97b5327e1e refactor(controls): add titles for buttons 2022-01-18 15:49:18 +01:00
moklick 634b592b3a feat(general): add defaultNodes, defaultEdges and defaultEdgeOptions 2022-01-18 13:05:41 +01:00
moklick 660ec00be5 refactor(store): cleanup 2022-01-17 15:15:48 +01:00
moklick 3f1d1865e0 chore(version): bump 2022-01-13 10:47:35 +01:00
moklick f96391f0a3 Merge branch 'main' into v10 2022-01-11 13:14:57 +01:00
moklick 237326c68c chore: release v9.7.3 2022-01-11 13:13:34 +01:00
moklick 94440f86c0 chore(deps): update 2022-01-11 13:12:31 +01:00
Moritz KlackandGitHub 1ac56480c6 Merge pull request #1824 from SpencerWhitehead7/maint/@types-devDeps-and-npm-audit-fix
Maint/@types dev deps and npm audit fix
2022-01-11 13:03:31 +01:00
Spencer Whitehead 14ad00f383 maint: npm audit fix 2022-01-08 23:13:24 -05:00
Spencer Whitehead 51a1fd57fb maint: move @types to devDeps 2022-01-08 23:13:05 -05:00
moklick 0b241d27c1 feat(attribution): add react flow attribution 2022-01-05 16:45:04 +01:00
moklick d2853182f4 chore(version): bump 2022-01-05 15:17:04 +01:00
moklick eaeebdd12e feat(subflow): add extendParent option 2022-01-04 11:15:44 +01:00
moklick f01e239947 refactor(useKeyPress): check if key code is string 2022-01-03 17:54:26 +01:00
moklick 7a7ddbedb6 Merge branch 'main' into v10 2022-01-03 17:20:53 +01:00
moklick 3ef182444f chore: release v9.7.2 2022-01-03 17:17:51 +01:00
moklick f248a70fa8 chore(dependabot): check monthly 2022-01-03 17:09:43 +01:00
Moritz KlackandGitHub 48394995f1 Merge pull request #1816 from wbkd/dependabot/npm_and_yarn/main/babel/preset-env-7.16.7
chore(deps-dev): bump @babel/preset-env from 7.16.5 to 7.16.7
2022-01-03 17:07:18 +01:00
Moritz KlackandGitHub c29cb883ab Merge pull request #1812 from wbkd/dependabot/npm_and_yarn/main/babel/core-7.16.7
chore(deps-dev): bump @babel/core from 7.16.5 to 7.16.7
2022-01-03 17:07:08 +01:00
dependabot[bot]andGitHub aca4610d3b chore(deps-dev): bump @babel/preset-env from 7.16.5 to 7.16.7
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.5 to 7.16.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.7/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 16:07:06 +00:00
dependabot[bot]andGitHub 91f3672187 chore(deps-dev): bump @babel/core from 7.16.5 to 7.16.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.16.5 to 7.16.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.7/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 16:06:58 +00:00
Moritz KlackandGitHub 233e5fddbc Merge pull request #1813 from wbkd/dependabot/npm_and_yarn/main/rollup/plugin-replace-3.0.1
chore(deps-dev): bump @rollup/plugin-replace from 3.0.0 to 3.0.1
2022-01-03 17:06:38 +01:00
Moritz KlackandGitHub 5bcc29c9fe Merge pull request #1811 from wbkd/dependabot/npm_and_yarn/main/babel/plugin-transform-runtime-7.16.7
chore(deps-dev): bump @babel/plugin-transform-runtime from 7.16.5 to 7.16.7
2022-01-03 17:06:07 +01:00
dependabot[bot]andGitHub 43d16425a2 chore(deps-dev): bump @rollup/plugin-replace from 3.0.0 to 3.0.1
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/alias-v3.0.1/packages/replace)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 16:06:02 +00:00
dependabot[bot]andGitHub f35e5d294e chore(deps-dev): bump @babel/plugin-transform-runtime
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.16.5 to 7.16.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.7/packages/babel-plugin-transform-runtime)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 16:05:59 +00:00
Moritz KlackandGitHub eaef229c66 Merge pull request #1815 from wbkd/dependabot/npm_and_yarn/main/babel/runtime-7.16.7
chore(deps): bump @babel/runtime from 7.16.5 to 7.16.7
2022-01-03 17:05:35 +01:00
Moritz KlackandGitHub f15a039d88 Merge pull request #1810 from wbkd/dependabot/npm_and_yarn/main/babel/preset-react-7.16.7
chore(deps-dev): bump @babel/preset-react from 7.16.5 to 7.16.7
2022-01-03 17:05:25 +01:00