Commit Graph

312 Commits

Author SHA1 Message Date
Christopher Möller
c29decade5 feat(stacking): disable auto layering, instead configure via zIndex prop 2021-11-10 18:06:28 +01:00
moklick
a79e953ab3 refactor(boolean-props): omit is prefix 2021-11-09 12:35:21 +01:00
moklick
b0bfefeef4 chore(example): add debug node 2021-11-08 17:55:02 +01:00
Christopher Möller
1425a4363b fix(nested): add nested nodes example, always show nodes on top while dragging or selected 2021-11-05 17:42:18 +01:00
moklick
fdf2571402 feat(nodes): add extent option 2021-11-04 21:43:47 +01:00
moklick
996b1b51f5 refactor(store): rename nodeLookup to nodeInternals 2021-11-04 18:13:21 +01:00
moklick
72f1d8b4e3 refactor(stlyes): use react-flow__container helper 2021-11-04 15:13:14 +01:00
Christopher Möller
1b390e103d feat(stacking): simplify zIndex and treeLevel behaviour 2021-11-04 12:42:14 +01:00
Christopher Möller
79e46d90ad wip: multiple edge renderers 2021-11-03 17:51:39 +01:00
moklick
248b563231 refactor(nodes): use relative positions for children 2021-11-02 18:58:47 +01:00
moklick
65991de037 chore(examples): add layouting with new api 2021-11-02 12:52:24 +01:00
Christopher Möller
241f604125 feat(nested-nodes): simplify nested node rendering 2021-10-27 15:38:29 +02:00
Christopher Möller
dc36ebf31f feat(nested-nodes): callback for parent node size change 2021-10-22 15:13:14 +02:00
Christopher Möller
8b95cd712f feat(noderenderer): render nodes recursively 2021-10-22 12:09:01 +02:00
Christopher Möller
2252ea11ae feat(nested-nodes): change data structure to flat array of nodes 2021-10-21 15:39:27 +02:00
Christopher Möller
b15d3012e0 fix(nested-nodes): fix getSourceTargetNode for childNodes 2021-10-21 14:08:39 +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
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
f957462eb6 chore(examples): add old api examples 2021-10-20 10:23:09 +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
b08809d810 feat(markers): add option to control orientation of markers 2021-10-15 13:07:02 +02:00
Christopher Möller
1b73c8fff5 feat(markers): add more properties for custom markers 2021-10-15 11:51:54 +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
Christopher Möller
eed5717821 Merge branch 'main' into v10 2021-10-14 14:03:03 +02:00
moklick
ceb96201de refactor(floating-edges-example): comments and cleanup 2021-10-14 12:29:05 +02:00
moklick
ab2391fd51 refactor(floating-edge-example): cleanup 2021-10-14 11:34:06 +02:00
moklick
a50f9c69af Merge branch 'main' into node-as-handle-example 2021-10-14 10:57:08 +02:00
moklick
a76b111365 chore(examples): add old api src 2021-10-14 10:54:40 +02:00
Christopher Möller
ecc02a1ee9 feat(floatingedge): configure connectionline 2021-10-14 10:52:46 +02:00
Christopher Möller
b36c713650 feat(example): add example with floating edge and whole node as handle 2021-10-14 09:15:04 +02:00
moklick
3f8c252096 refactor(graphview): use one hook 2021-10-13 13:52:45 +02:00
moklick
e01249a87c refactor(examples): hide old api examples 2021-10-09 16:49:41 +02:00
Moritz Klack
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
c5ce586dd9 test(draghandle): add basic tests #1552 2021-10-05 10:45:51 +02:00
moklick
e894d1da52 chore(examples): update deps 2021-10-04 10:50:28 +02:00
Ítalo Andrade
25bc0d2fe1 typo
yeah, that's a personal ocd problem
2021-10-01 17:32:27 +02:00
moklick
1aacf04433 fix(onMoveStart): trigger always closes #1452 2021-09-01 22:36:37 +02:00
moklick
08bbfc7616 chore(examples): custom node pass isConnectable 2021-07-20 12:23:00 +02:00
moklick
af5a2ab791 chore(examples): update deps 2021-06-23 14:21:51 +02:00
Moritz Klack
83383c4a14 Merge pull request #1283 from Ark-kun/Made-example-section-discoverable
Made example section discoverable on widescreen monitors
2021-06-22 14:16:52 +02:00
Alexey Volkov
9098083b6e Examples - Drag and drop - Using the theme styles for the sidebar nodes
Otherwise the styles diverge and nodes look different on the sidebar and the canvas.
2021-06-16 20:03:29 -07:00
Alexey Volkov
c87685be92 Made example section discoverable 2021-06-16 19:36:56 -07:00
moklick
27e2781d8c feat(props): add onEdgeUpdateEnd handler closes #1157 2021-05-29 15:12:31 +02:00
moklick
3124d46732 refactor(edge-updater): pass handle type #1212 2021-05-28 14:26:03 +02:00
moklick
cc0a83744d chore(example): remove unused func 2021-05-23 19:16:29 +02:00
moklick
b1a0106f06 chore(examples): useUpdateNodeInterals handle position 2021-04-30 17:23:03 +02:00
moklick
3232a33e9e feat(edgeUpdate): add onEdgeUpdateStart handler closes #1120 2021-04-30 16:09:46 +02:00
moklick
b2213bd9b5 chore(examples): add another custom edge 2021-04-29 17:49:15 +02:00