refactor(core): remove nodes property from ConnectionLineProps
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -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)})`,
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user