Commit Graph
76 Commits
Author SHA1 Message Date
moklick 2ad60c19a2 refactor(warnings): only show for node_env=development 2022-05-02 14:31:44 +02:00
Christopher Möller 9331ccc544 chore(warnings): add error codes to documentation site 2022-04-28 16:27:19 +02:00
Christopher Möller 922005e236 chore(warnings): format warning logs, add troubleshooting page 2022-04-26 16:33:54 +02:00
moklick 414d7ec993 refactor(useReactFlow): pass generic nodedata and edgedata closes #1944 2022-03-05 12:49:26 +01:00
himself65 d250a7d2cd fix: enhance type 2022-02-06 17:13:51 -06: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 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 801d8f2ad4 fix(subflows): handle selections correctly 2021-11-26 19:35:31 +01:00
moklick 62f1e90244 fix(edges): updatable edge 2021-11-26 07:14:38 +01:00
moklick 8a2ac1e31e refactor(types): cleanup 2021-11-09 14:52:39 +01:00
moklick a79e953ab3 refactor(boolean-props): omit is prefix 2021-11-09 12:35:21 +01:00
moklick cc7debf8de refactor(utils): cleanup 2021-11-04 16:10:35 +01:00
moklick b4b15612a3 refactor(graphView): add useOnLoadHandler 2021-11-04 15:51:20 +01:00
moklick 31ad12ec9c refactor(nodelookup): use ref for node renderer 2021-11-04 14:33:21 +01:00
moklick 74e860587c refactor(node): pass width and height dep to style memo 2021-11-01 18:12:53 +01:00
Christopher Möller 241f604125 feat(nested-nodes): simplify nested node rendering 2021-10-27 15:38:29 +02:00
Christopher Möller b008c7b548 chore(graph-utils): rename elements to edges 2021-10-21 12:04:58 +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 9350884836 fix(perf): improve flattenNodes 2021-10-20 18:06:41 +02:00
Christopher Möller 767fbd4377 feat(noderenderer): render child nodes 2021-10-20 16:57:44 +02:00
moklick a0b8aa6fcb Merge branch 'v10' into refactor/nodes-edges-state 2021-10-20 10:52:11 +02:00
moklick 1525af39cf refactor(elements): render only visible elements 2021-10-19 14:57:34 +02:00
moklick 410b12946d refactor(state): separate nodes and edges 2021-10-19 11:09:49 +02:00
Christopher Möller d3b1148bca feat(markers): implement more generic api for markerEnd and markerStart handling 2021-10-14 17:53:50 +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
moklick 41db69e06c fix(nodes): dont select nodes when selectable=false closes #1324 2021-07-20 17:59:04 +02:00
moklick 1745320101 feat(utils): export getTransformForBounds func 2021-03-01 14:02:42 +01:00
moklick ba5286a105 refactor(elements): split edges and nodes 2021-02-11 18:45:05 +01:00
moklick 201a35dec2 Merge branch 'main' into refactor/redux 2021-02-11 17:52:54 +01:00
moklick 4d382eed57 refactor(store): clean up 2021-01-28 12:33:34 +01:00
moklick 1a9493e3fa feat(props): add nodeExtent prop closes #854 2021-01-26 10:29:38 +01:00
moklick e9a7ade236 refactor(store): use redux instead of easy-peasy 2021-01-19 13:58:24 +01:00
moklick 3a5ecfa666 Merge branch 'next' into feat/dragedge 2020-11-26 15:26:48 +01:00
moklick d17562e1a1 refactor(drag-edge): only handle when update function is passed 2020-11-26 15:17:31 +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 c8d945f39b refactor(store): remove unused viewportBox 2020-11-14 17:04:29 +01:00
moklick 7cc2306975 feat(reactflowInstance): add toObject function closes #603 2020-11-09 18:17:36 +01:00
moklick 2db5a7bce2 refactor(getElements): use internal node position #603 2020-11-09 17:48:51 +01:00
Christopher Möller cf38388f14 refactor(zoom): move zoom methods into own hook, detatch from store 2020-11-09 17:23:59 +01:00
moklick 2f40a83b47 refactor(drag-edge): cleanup drag edge handlers 2020-11-05 17:28:21 +01:00
Moritz KlackandGitHub 9851281709 Merge branch 'main' into drag-edge 2020-11-03 19:59:18 +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 13a3fd46b1 fix(selection): handle overlapping area rounding issues closes #610 2020-10-21 22:13:09 +02:00
Long Nguyen bd63a0131a Feature: Draggable edge 2020-10-12 21:34:35 +09:00
jasonpulandGitHub abf00187bb Update graph.ts
added check to verify handle exists in node
2020-10-11 17:51:08 -04: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 5a504df0d6 fix(userselection): dont unset selection on startup #515 2020-09-18 12:56:19 +02:00