Commit Graph
2181 Commits
Author SHA1 Message Date
moklick 1879ba1e4e refactor(edgerenderer): dont draw edge when node has no height or width 2019-10-23 17:12:02 +02:00
moklick 2f9b0a800e docs(readme): format 2019-10-23 17:03:38 +02:00
moklick 0fdacc4564 docs(readme): add custom nodes and custom edges sections 2019-10-23 16:59:51 +02:00
moklick cf118f1c8c fix(fitview): emtpy graph doesnt crash closes #50 2019-10-23 16:16:54 +02:00
MoritzandGitHub 390c7f49f5 Merge pull request #54 from wbkd/develop
Develop
2019-10-23 14:21:36 +02:00
MoritzandGitHub b63127277f Merge branch 'master' into develop 2019-10-23 14:04:11 +02:00
moklick a05e395256 chore(build): version bump 2019-10-23 14:01:21 +02:00
moklick 15fb49ea75 fix(selection): work correctly when snapToGrid = true 2019-10-23 13:59:56 +02:00
moklick c76483a264 fix(graph.ts): overlapping area calculation 2019-10-23 13:49:41 +02:00
AndyLndandMoritz 66711f19fa refactor: EdgeRenderer (#53) 2019-10-22 22:37:33 +02:00
moklick 02005917f8 refactor(examples): rename Advanced to CustomNodes, use func component 2019-10-22 22:37:05 +02:00
MoritzandGitHub f85f2f8c9a Develop (#52)
* docs(readme): add plugin section

* refactor(examples): use func components

* docs(readme): format

* refactor: NodeRenderer (#51)

* refactor: NodeRenderer

* fix getNodesInside partially param

* add `skipInvisible` prop

* refactor(noderenderer): rename skipInvisble to onlyRenderVisibleNodes

closes #40
2019-10-22 21:03:48 +02:00
AndyLndandMoritz bd60ad0ecd refactor: NodeRenderer (#51)
* refactor: NodeRenderer

* fix getNodesInside partially param

* add `skipInvisible` prop

* refactor(noderenderer): rename skipInvisble to onlyRenderVisibleNodes

closes #40
2019-10-22 21:03:11 +02:00
moklick 429ede3386 docs(readme): format 2019-10-22 17:49:35 +02:00
moklick 76ec1d9a7d refactor(examples): use func components 2019-10-22 17:47:27 +02:00
moklick f9399953c6 docs(readme): add plugin section 2019-10-22 17:10:48 +02:00
AndyLndandMoritz 8ca5c0f84b refactor: Change Position into enum (#48) 2019-10-22 16:37:47 +02:00
AndyLndandMoritz 59caff6505 refactor: graph.ts (#47) 2019-10-22 16:08:45 +02:00
MoritzandGitHub d84de2954b Develop (#45)
* chore(netlify): add redirects

* chore(readme): add props section
2019-10-22 14:22:24 +02:00
AndyLndandMoritz dcc38b23d8 Feat/minimap (#44)
* feat: New minimap

* imporved preview

* better start values

* smarter destructure

* getNodesInside refactor

* refactor(minimap): add maskColor and nodeBorderRadius props

* refactor(gitignore): add dist

* refactor(minimap): show empty minimap when there are no nodes

closes #39
2019-10-22 14:15:36 +02:00
moklick 99dcc775b4 feat(snap): snap initial nodes to grid 2019-10-21 21:27:00 +02:00
moklick 0fccc63601 chore(netlify): add redirects 2019-10-21 21:13:44 +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
dependabot-preview[bot]andGitHub ce210eb5dc Merge pull request #38 from wbkd/dependabot/npm_and_yarn/rollup-1.25.1 2019-10-21 05:14:51 +00:00
dependabot-preview[bot]andGitHub a6b5645ab0 chore(deps-dev): bump rollup from 1.24.0 to 1.25.1
Bumps [rollup](https://github.com/rollup/rollup) from 1.24.0 to 1.25.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.24.0...v1.25.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 05:12:03 +00:00
MoritzandGitHub 8b719089ee chore(dependabot): from daily to weekly 2019-10-17 23:54:26 +02:00
dependabot-preview[bot]andGitHub 12f525e464 Merge pull request #37 from wbkd/dependabot/npm_and_yarn/types/react-16.9.9 2019-10-17 10:39:46 +00:00
dependabot-preview[bot]andGitHub 9b685c197a chore(deps-dev): bump @types/react from 16.9.7 to 16.9.9
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.7 to 16.9.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-17 10:37:59 +00:00
dependabot-preview[bot]andGitHub c42fb76f8d Merge pull request #36 from wbkd/dependabot/npm_and_yarn/types/react-16.9.7 2019-10-16 11:21:35 +00:00
dependabot-preview[bot]andGitHub 3c93ad29a2 chore(deps-dev): bump @types/react from 16.9.6 to 16.9.7
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.6 to 16.9.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 11:19:27 +00: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
dependabot-preview[bot]andGitHub 1651ed332a Merge pull request #33 from wbkd/dependabot/npm_and_yarn/rollup-1.24.0 2019-10-15 10:55:35 +00:00
dependabot-preview[bot]andGitHub 3cf4939e35 Merge pull request #31 from wbkd/dependabot/npm_and_yarn/types/react-dom-16.9.2 2019-10-15 10:54:31 +00:00
dependabot-preview[bot]andGitHub 2093eaa6ff chore(deps-dev): bump rollup from 1.23.1 to 1.24.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.23.1 to 1.24.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.23.1...v1.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 10:53:12 +00:00
dependabot-preview[bot]andGitHub c9ca43c587 chore(deps-dev): bump @types/react-dom from 16.9.1 to 16.9.2
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 16.9.1 to 16.9.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 10:52:23 +00:00
dependabot-preview[bot]andGitHub dde9d1db90 Merge pull request #32 from wbkd/dependabot/npm_and_yarn/start-server-and-test-1.10.6 2019-10-15 10:51:16 +00:00
dependabot-preview[bot]andGitHub 834b631036 Merge pull request #30 from wbkd/dependabot/npm_and_yarn/autoprefixer-9.6.5 2019-10-15 10:50:25 +00:00
dependabot-preview[bot]andGitHub c6e314dc45 chore(deps-dev): bump start-server-and-test from 1.10.5 to 1.10.6
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.10.5...v1.10.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 10:49:25 +00:00
dependabot-preview[bot]andGitHub a0461dc50d chore(deps-dev): bump autoprefixer from 9.6.4 to 9.6.5
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.6.4 to 9.6.5.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.6.4...9.6.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 10:48:46 +00:00
dependabot-preview[bot]andGitHub 325d432332 Merge pull request #29 from wbkd/dependabot/npm_and_yarn/types/react-16.9.6 2019-10-15 10:46:54 +00:00
dependabot-preview[bot]andGitHub c0ecce6c0a chore(deps-dev): bump @types/react from 16.9.5 to 16.9.6
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.5 to 16.9.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 10:44:49 +00:00
dependabot-preview[bot]andGitHub 07de541127 Merge pull request #28 from wbkd/dependabot/npm_and_yarn/husky-3.0.9 2019-10-14 05:10:39 +00:00
dependabot-preview[bot]andGitHub 27ab73594c Merge pull request #27 from wbkd/dependabot/npm_and_yarn/welldone-software/why-did-you-render-3.3.8 2019-10-14 05:09:07 +00:00
dependabot-preview[bot]andGitHub 4197f14d7a chore(deps-dev): bump husky from 3.0.8 to 3.0.9
Bumps [husky](https://github.com/typicode/husky) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v3.0.8...v3.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-14 05:08:41 +00:00
dependabot-preview[bot]andGitHub ab00d10201 chore(deps): bump @welldone-software/why-did-you-render
Bumps [@welldone-software/why-did-you-render](https://github.com/welldone-software/why-did-you-render) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/welldone-software/why-did-you-render/releases)
- [Commits](https://github.com/welldone-software/why-did-you-render/compare/v3.3.7...v3.3.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-14 05:06:30 +00:00
dependabot-preview[bot]andGitHub 63c8a60adf Merge pull request #26 from wbkd/dependabot/npm_and_yarn/babel/core-7.6.4 2019-10-11 05:34:37 +00:00
dependabot-preview[bot]andGitHub 70c40a111f chore(deps-dev): bump @babel/core from 7.6.3 to 7.6.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.6.3 to 7.6.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.3...v7.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-11 05:30:27 +00:00
dependabot-preview[bot]andGitHub b10a0a200a Merge pull request #23 from wbkd/dependabot/npm_and_yarn/typescript-3.6.4 2019-10-10 06:04:48 +00:00
dependabot-preview[bot]andGitHub 09f2316382 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>
2019-10-10 05:57:42 +00:00
dependabot-preview[bot]andGitHub 664c18aae9 Merge pull request #22 from wbkd/dependabot/npm_and_yarn/start-server-and-test-1.10.5 2019-10-10 05:55:55 +00:00