chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -189,6 +189,7 @@ const EdgeWrapper = defineComponent({
|
||||
'centerX': sourceX,
|
||||
'centerY': sourceY,
|
||||
'radius': edgeUpdaterRadius.value,
|
||||
'type': 'source',
|
||||
'data-type': 'source',
|
||||
}),
|
||||
),
|
||||
@@ -208,6 +209,7 @@ const EdgeWrapper = defineComponent({
|
||||
'centerX': targetX,
|
||||
'centerY': targetY,
|
||||
'radius': edgeUpdaterRadius.value,
|
||||
'type': 'target',
|
||||
'data-type': 'target',
|
||||
}),
|
||||
),
|
||||
|
||||
@@ -56,6 +56,7 @@ export function createHooks(): FlowHooks {
|
||||
edgeUpdateEnd: createExtendedEventHook(),
|
||||
updateNodeInternals: createExtendedEventHook(),
|
||||
error: createExtendedEventHook((err) => warn(err.message)),
|
||||
}
|
||||
}
|
||||
|
||||
export function useHooks(emit: (...args: any[]) => void, hooks: Ref<FlowHooks>) {
|
||||
|
||||
Reference in New Issue
Block a user