Commit 77673e3
shuzarevich
feat(flow): add cache, connection worker, virtualization, and zoom during drag
1 parent 2019ea4 commit 77673e3
333 files changed
Lines changed: 4413 additions & 1195 deletions
File tree
- projects
- f-examples
- extensions
- minimap-example
- selection-area
- nodes
- custom-nodes
- drag-handle
- resize-handle
- stress-test
- f-flow/src
- domain
- f-canvas
- add-canvas-to-store
- center-group-or-node
- fit-to-flow
- get-canvas
- input-canvas-position
- input-canvas-scale
- redraw-canvas-with-animation
- remove-canvas-from-store
- reset-scale-and-center
- reset-scale
- update-scale
- f-connection
- add-connection-marker-to-store
- add-connection-to-store
- redraw-connections
- remove-connection-from-store
- remove-connection-marker-from-store
- f-connectors
- add-connector-to-store
- find-connectable-connector-using-priority-and-position
- get-connector-rect-reference
- remove-connector-from-store
- f-draggable
- add-dnd-to-store
- initialize-drag-sequence
- is-drag-started
- on-pointer-move
- prepare-drag-sequence
- remove-dnd-from-store
- f-flow
- add-flow-to-store
- get-flow
- remove-flow-from-store
- f-node
- add-node-to-store
- calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions
- calculate-nodes-bounding-box-normalized-position
- calculate-nodes-bounding-box
- get-child-node-ids
- get-node-padding
- get-parent-nodes
- remove-node-from-store
- update-node-when-state-or-size-changed
- f-selection
- calculate-selectable-items
- clear-selection
- get-current-selection
- select-items
- select
- f-zoom/set-zoom
- get-deep-children-nodes-and-groups
- get-element-rounded-rect
- get-normalized-connector-rect
- get-normalized-element-rect
- get-normalized-point
- sort-item-layers
- sort-items-by-parent
- sort-node-layers-by-groups
- update-item-and-children-layers
- f-cache
- config
- features
- f-cache-connectors
- register-connector
- unregister-connector
- f-cache-nodes
- invalidate-node
- register-node
- unregister-node
- f-cache-rects
- get-cached-rect
- set-connector-rect
- set-node-rect
- update-rect-by-element
- model
- f-canvas
- f-connection-v2/components
- connection-content
- utils
- connection-waypoints
- f-connection-worker
- features
- calculate-connection-worker-connector-rect
- calculate-connection-worker-payload-item
- calculate-connections-using-connection-worker
- connection-worker-run
- disable-connection-worker
- ensure-connection-worker
- handle-connection-worker-message
- is-connection-worker-enabled
- reset-connection-worker-runtime
- resolve-connection-worker-connectors
- resolve-connection-worker-context
- should-use-connection-worker
- model
- worker
- f-connection
- f-connection-for-create
- f-connection
- f-snap-connection
- f-draggable
- connection
- drag-connection-waypoint/drag-connection-waypoint-preparation
- reassign-connection/reassign-connection-preparation
- domain
- detect-connections-under-drag-node
- get-normalized-parent-node-rect
- is-array-has-parent-node
- drag-external-item
- drag-external-item-finalize
- drag-external-item-handler
- drag-external-item-preparation
- drag-node
- attach-drag-node-handler-from-selection
- attach-soft-parent-connection-drag-handlers-to-node
- create-drag-node-handler
- drag-node-dependent-connection-handlers
- drag-node-finalize
- drag-node-handler
- drop-to-group
- drop-to-group-handler
- drop-to-group-preparation
- pinch-to-zoom
- pinch-to-zoom-finalize
- pinch-to-zoom-preparation
- resize-node
- apply-parent-resize-constraints
- resize-node-handler
- resize-node-dependent-connection-handlers
- resize-preparation
- attach-resize-connection-drag-handlers-to-node
- rotate-node
- rotate-node-handler
- rotate-node-preparation
- selection-area/selection-area-handler
- f-flow
- f-minimap
- f-node
- f-storage
- features
- emit-connections-changes
- listen-connections-changes
- listen-count-changes
- listen-data-changed
- listen-nodes-changes
- listen-transform-changes
- notify-data-changed
- f-virtual
- f-zoom
- reactivity
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 17 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
7 | 18 | | |
8 | 19 | | |
9 | | - | |
| 20 | + | |
10 | 21 | | |
11 | | - | |
12 | 22 | | |
13 | | - | |
| |||
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 10 | + | |
15 | 11 | | |
16 | 12 | | |
17 | | - | |
18 | 13 | | |
19 | 14 | | |
20 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
Lines changed: 4 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
7 | 3 | | |
8 | 4 | | |
9 | 5 | | |
10 | 6 | | |
11 | 7 | | |
12 | | - | |
| 8 | + | |
13 | 9 | | |
14 | 10 | | |
15 | 11 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 12 | + | |
20 | 13 | | |
21 | 14 | | |
22 | | - | |
23 | 15 | | |
24 | 16 | | |
25 | 17 | | |
| |||
28 | 20 | | |
29 | 21 | | |
30 | 22 | | |
31 | | - | |
| 23 | + | |
32 | 24 | | |
33 | 25 | | |
34 | 26 | | |
Lines changed: 30 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
7 | 23 | | |
8 | 24 | | |
9 | | - | |
| 25 | + | |
10 | 26 | | |
11 | 27 | | |
12 | | - | |
| 28 | + | |
13 | 29 | | |
14 | | - | |
| 30 | + | |
15 | 31 | | |
16 | 32 | | |
17 | 33 | | |
18 | 34 | | |
19 | | - | |
20 | | - | |
| 35 | + | |
| 36 | + | |
21 | 37 | | |
22 | 38 | | |
23 | 39 | | |
| |||
36 | 52 | | |
37 | 53 | | |
38 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
39 | 59 | | |
40 | 60 | | |
41 | 61 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
10 | 18 | | |
11 | 19 | | |
12 | 20 | | |
Lines changed: 35 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| |||
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | | - | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | | - | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | | - | |
| 51 | + | |
| 52 | + | |
45 | 53 | | |
| 54 | + | |
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
50 | | - | |
51 | 59 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
55 | 71 | | |
56 | 72 | | |
| 73 | + | |
| 74 | + | |
57 | 75 | | |
58 | 76 | | |
59 | 77 | | |
| |||
71 | 89 | | |
72 | 90 | | |
73 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
74 | 101 | | |
This file was deleted.
0 commit comments