refactor(core): remove nodes property from ConnectionLineProps

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-30 01:06:52 +01:00
committed by Braks
parent 4003101c70
commit 839fa6ba22
2 changed files with 0 additions and 4 deletions
@@ -6,7 +6,6 @@ import { getMarkerId } from '../../utils/graph'
const { sourceNode } = defineProps<{ sourceNode: GraphNode }>()
const {
getNodes,
connectionMode,
connectionStartHandle,
connectionPosition,
@@ -94,7 +93,6 @@ export default {
targetX,
targetY,
targetPosition,
nodes: getNodes,
sourceNode,
sourceHandle,
markerEnd: `url(#${getMarkerId(connectionLineOptions.markerEnd)})`,
-2
View File
@@ -70,8 +70,6 @@ export interface ConnectionLineProps {
connectionLineType: ConnectionLineType
/** extra styles */
connectionLineStyle: CSSProperties
/** All currently stored nodes */
nodes: GraphNode[]
/** The source node of the connection line */
sourceNode: GraphNode
/** The source handle element of the connection line */