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
|
c9d643d700
|
fix(edges): set source and target position on edge obj
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-17 17:27:48 +01:00 |
|
braks
|
5bd1eed98e
|
fix(core): use computed for edge class and style
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-10 10:40:23 +01:00 |
|
braks
|
046ee41e79
|
fix(core): add connection target handle id to result type
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-08 16:32:11 +01:00 |
|
braks
|
05bc748100
|
feat(core): add isValidConnection prop
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-08 16:32:11 +01:00 |
|
braks
|
dc23bc8920
|
feat(core): pass targetNode and targetHandle as props
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-03-08 16:32:11 +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
|
addd0bbb67
|
chore(core): revert edge 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
|
320ea10c88
|
chore(core): cleanup props
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
|
cc83ba95bd
|
chore(core): cleanup connection line
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-15 00:24:22 +01:00 |
|
braks
|
83636d4e53
|
refactor(core): pass original event to edge update event params
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-15 00:24:22 +01:00 |
|
braks
|
ea0696c566
|
refactor(core): use v-bind to pass connection line props
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-11 02:34:43 +01:00 |
|
braks
|
b7cfec7842
|
fix(core): add missing straight path switch case
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-11 02:13:44 +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
|
c528726f12
|
fix(core): prevent rendering edges that have been removed
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-10 15:44:45 +01:00 |
|
braks
|
db0ec8836f
|
chore(core): remove unnecessary initializers
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-10 11:38:22 +01:00 |
|
braks
|
f849999d20
|
fix(core): avoid triggering edge update when mouse btn is not left
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-07 12:59:26 +01:00 |
|
braks
|
bb2c4f449a
|
chore(core): cleanup and replace const with function
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-07 12:27:41 +01:00 |
|
braks
|
c800a86893
|
fix(core): check if prevClosestHandle exists in pointer up
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-06 01:05:17 +01:00 |
|
braks
|
6c00909f46
|
refactor(core): use opposite position for connection lines
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-05 23:39:15 +01:00 |
|
braks
|
7f26253be1
|
chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-05 22:57:41 +01:00 |
|
braks
|
c36cf59a80
|
feat(core): add connection status to connection lines
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-05 22:57:41 +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
|
93bfa54308
|
chore(core): add missing edge wrapper name
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-01 22:57:05 +01:00 |
|
braks
|
e74a20d923
|
feat(core): implement connection radius
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
|
2023-02-01 22:57:05 +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 |
|