braks
|
1e2a51ebb5
|
chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-04-11 20:28:02 +02:00 |
|
braks
|
5560949ed1
|
chore: lint files
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-04-11 20:28:02 +02:00 |
|
braks
|
f19e210442
|
refactor(core): replace computed arg with getter fn
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-04-11 20:28:02 +02:00 |
|
braks
|
8c3f54ec28
|
feat(core): add onError hook
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-23 15:58:30 +01:00 |
|
braks
|
fe46e6f103
|
fix(core,nodes): rename parentNode prop to parent
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-17 19:44:34 +01:00 |
|
braks
|
0476dffa98
|
fix(core,nodes): unwrap refs and pass props
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-17 19:44:34 +01:00 |
|
braks
|
ccb302f132
|
chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-17 17:27:48 +01:00 |
|
braks
|
d8434e6e8f
|
fix(core,nodes): use render fn for node wrapper
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-17 17:27:48 +01:00 |
|
braks
|
8cf8c51e0e
|
fix(core): blur node after unselect
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-06 23:07:59 +01:00 |
|
braks
|
566ba8e1f6
|
chore(core): revert node renderer & wrapper
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-02 08:47:38 +01:00 |
|
braks
|
7c026f084a
|
fix(core): prevent selecting nodes on drag when selectable disabled
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-02 08:47:38 +01:00 |
|
braks
|
e3e35109f1
|
refactor(core): cleanup node styles
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-02 08:47:38 +01:00 |
|
braks
|
4d535ed34c
|
refactor(core): cleanup edge and node renderer
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-02 08:47:38 +01:00 |
|
braks
|
325efba856
|
refactor(core): use lifecycle hooks to observe node dimensions
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-24 20:07:13 +01:00 |
|
braks
|
0ffc2f1dff
|
fix(core): check if node el exists before observing
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-24 20:07:13 +01:00 |
|
braks
|
79e7f3ccdb
|
fix(core): cast zIndex to number in node wrapper
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-24 20:07:13 +01:00 |
|
braks
|
fa6cb4c6d9
|
refactor(core): use snap grid to clamp initial node pos
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-22 20:20:11 +01:00 |
|
braks
|
aafd8622f4
|
chore(core): update functional component types
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-22 20:20:11 +01:00 |
|
 Alex Van LiewandBraks
|
b19b9a871b
|
fix: add compatConfig to all components
|
2023-02-15 10:19:26 +01:00 |
|
braks
|
a5ee9d978c
|
refactor(core): use watcheffect to observe node dimensions
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-10 15:53:38 +01:00 |
|
braks
|
0dcfd6f9a4
|
feat(core): add auto pan on node drag
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-01 23:32:45 +01:00 |
|
braks
|
f0d4763a99
|
refactor(core): use removeSelectedNodes in click handler
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-19 09:21:55 +01:00 |
|
braks
|
f0fde0ac96
|
refactor(core): wait for next tick to expand parent if parent is not initialized yet
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-18 20:47:32 +01:00 |
|
braks
|
203b4815f8
|
chore(core): replace getNode with findNode
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-18 20:47:32 +01:00 |
|
braks
|
f411f5b560
|
chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-18 20:47:32 +01:00 |
|
braks
|
3e11a3126f
|
chore(core): rename updatePosition to clampPosition
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-18 20:47:32 +01:00 |
|
braks
|
000cfd9e9c
|
fix(core): increase timeout to 1
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-18 20:47:32 +01:00 |
|
braks
|
19582de021
|
fix(core): wait until node is initialized to clamp when extent is parent
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-18 20:47:32 +01:00 |
|
braks
|
de311361bf
|
revert(core): await node initialization before clamping initial pos
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-18 20:47:32 +01:00 |
|
braks
|
84ffd50429
|
chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-18 20:47:32 +01:00 |
|
braks
|
390175226e
|
fix(core): add timeout when updating positions after extent changes
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-18 14:00:55 +01:00 |
|
braks
|
9e1ba45839
|
fix(core): check if position is a number and not if it's truthy
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-16 18:39:28 +01:00 |
|
braks
|
ab2a87f9c3
|
fix(core): bubble up keydown event in node wrapper
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-12 22:29:13 +01:00 |
|
braks
|
06451b4d0d
|
chore(core): update pos on zindex change
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-10 11:10:40 +01:00 |
|
braks
|
8c84d5cea4
|
feat(core): use zIndex or style for node elevation
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-10 11:10:40 +01:00 |
|
braks
|
75c11e5f3e
|
refactor(core): do not update positions when updateNodeInternals is triggered
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-07 18:04:19 +01:00 |
|
braks
|
afe024900c
|
refactor(core): only apply new positions if there are changes
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-07 18:04:19 +01:00 |
|
braks
|
67687348f0
|
refactor(core): skip updating position if extent has not changed
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-07 18:04:19 +01:00 |
|
braks
|
7a416eae61
|
refactor(core): use pre flush in NodeWrapper
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-07 18:04:19 +01:00 |
|
braks
|
bd3720a70d
|
chore: bump version
|
2023-01-06 18:34:30 +01:00 |
|
braks
|
fe4309b587
|
chore(core): cleanup node wrapper
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-05 13:06:26 +01:00 |
|
braks
|
6aec81532c
|
fix(core): calculate position and computedPos correctly in calcNextPosition
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-05 13:06:26 +01:00 |
|
braks
|
94344a6d42
|
fix(core): reapply node extent on change
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-04 14:01:31 +01:00 |
|
braks
|
732e773075
|
refactor(core): allow omitting width/height styles for parent nodes
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-01-04 13:12:00 +01:00 |
|
braks
|
e23ca5f9ce
|
chore(core,nodes): cleanup node wrapper
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2022-12-25 17:38:56 +01:00 |
|
braks
|
2b513b5ae7
|
refactor(core,nodes): remove snapGrid option from nodes - use global one instead
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2022-12-25 17:38:56 +01:00 |
|
braks
|
4260e3158f
|
refactor(core,nodes): move velocity logic into useUpdateNodePositions
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2022-12-25 17:38:56 +01:00 |
|
braks
|
06dc2ee941
|
refactor(core,nodes): use pre flush for dimensions update on handle change
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2022-12-20 00:38:56 +01:00 |
|
braks
|
12c9e4e07b
|
chore(core,nodes): remove mounted hook for initial clamp
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2022-12-20 00:38:56 +01:00 |
|
braks
|
dd1b15029d
|
fix(core): drag position update
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2022-12-20 00:38:56 +01:00 |
|