Commit Graph
44 Commits
Author SHA1 Message Date
moklick 2b1366fe46 refactor(edgeRenderer): cleanup 2020-11-15 18:21:32 +01:00
moklick 393defc638 refactor(elements): only render visible handling 2020-11-15 18:05:44 +01:00
moklick b0500bc208 refactor(edges): visible even if source and target are not visible #677 2020-11-15 14:15:35 +01:00
moklick 7d788a1ed7 refactor(edgeRendererUtils): cleanup 2020-11-14 17:26:37 +01:00
moklick 2420cf3689 refactor(onlyRenderVisible): change from nodes to elements #677 2020-11-14 16:46:14 +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
moklick 19f936a107 refactor(props): cleanup 2020-10-05 11:06:40 +02: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
moklick 1f7d88fd5e feat(connectionline): custom component option #516 2020-09-19 13:38:40 +02:00
moklick 0b15211e18 refactor(edges): pass original source and target ids, cleanup #476 2020-09-15 11:17:06 +02:00
moklick ee74c90f15 feat(edges): add labelBgBorderRadius option closes #421 2020-08-12 13:00:54 +02:00
moklick 6bbc152041 feat(edge-options): add labelBgPadding #421 2020-08-11 10:36:22 +02:00
moklick 6d651bdc98 fix(edges): pass className to edge closes #420 2020-08-11 09:57:45 +02:00
moklick 59742c9526 refactor(variables): dont use abbreviations 2020-08-10 12:10:17 +02:00
Nate Amack 97ec24fa14 feat(props): add mouse event to onNodeDragStart, onNodeDragStop, onElementClick, and onPaneClick 2020-08-04 12:05:03 -06:00
moklick c59c8ee693 refactor(edges): simplify selected condition #397 2020-08-04 10:05:15 +02:00
moklick cfaa07dc6b fix(edges): selected condition closes #397 2020-08-04 10:03:44 +02:00
moklick e0a2ceeab0 refacor(graphview): cleanup 2020-08-02 18:55:15 +02:00
moklick 30e811225a refactor(components): show displayName in react profiler correctly 2020-07-27 18:50:53 +02:00
moklick b3391860da feat(edges): add data and classname props, unify node/edge handling closes #357 2020-07-27 12:40:39 +02:00
moklick b51a25191f feat(elements): add isHidden option 2020-07-15 10:31:16 +02:00
moklick 0593db289a feat(edges): add arrow head options 2020-07-14 12:57:12 +02:00
moklick dec1f973cb refactor(edges): create index for all edge types 2020-07-14 09:54:39 +02:00
moklick 1d8a9d6d87 feat(graph): more adjustable interaction closes #329, closes #291 2020-07-13 17:36:15 +02:00
moklick b32d5454e1 feat(edges): add smooth step type 2020-07-13 15:24:14 +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 56cfc8d731 refactor(easy-peasy): return single values from useStoreState 2020-05-25 17:12:11 +02:00
moklick f154f59e74 feat(wrapper): add onSelectionChange handler 2020-05-25 14:00:46 +02:00
moklick 1e447a204c refactor(types): use types for prop type functions 2020-05-15 21:53:13 +02:00
moklick f30999ea7a fix(edges): add step edge to standard types 2020-05-11 22:50:43 +02:00
moklick 7a2bff2502 fix(connectionline): set stroke color 2020-05-11 17:49:07 +02:00
moklick 0c30eebb94 feat(edges): add label props 2020-05-11 12:18:36 +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
moklick 1879ba1e4e refactor(edgerenderer): dont draw edge when node has no height or width 2019-10-23 17:12:02 +02:00
AndyLndandMoritz 66711f19fa refactor: EdgeRenderer (#53) 2019-10-22 22:37:33 +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 4f4f597eb6 refactor(app): rename react-graph to react-flow 2019-10-06 19:13:18 +02:00
moklick 3bb6e892aa refactor(utils): put in folder 2019-10-06 19:05:14 +02:00
moklick cc2775dd78 refactor(app): folder structure, components cleanup 2019-10-06 19:01:02 +02:00