Skip to content

Commit d580a47

Browse files
committed
chore(core): remove default val for interactionWidth when parsing edges
1 parent ec6f870 commit d580a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/utils/graph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const parseEdge = (edge: Edge, defaults?: Partial<GraphEdge>): GraphEdge
122122
data: shallowReactive(edge.data || defaults?.data || {}),
123123
events: shallowReactive(edge.events || defaults?.events || {}),
124124
label: (edge.label && !isString(edge.label) ? markRaw(edge.label) : edge.label) || defaults?.label,
125-
interactionWidth: edge.interactionWidth || defaults?.interactionWidth || 2,
125+
interactionWidth: edge.interactionWidth || defaults?.interactionWidth,
126126
} as GraphEdge)
127127
: defaults
128128

0 commit comments

Comments
 (0)