File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ export interface Bounds {
28
28
29
29
// ID types for type safety
30
30
export type NodeId = string
31
- export type SlotId = string
32
31
export type ConnectionId = string
33
32
34
33
// Layout data structures
@@ -42,18 +41,12 @@ export interface NodeLayout {
42
41
bounds : Bounds
43
42
}
44
43
45
- export interface SlotLayout {
46
- id : SlotId
47
- nodeId : NodeId
48
- position : Point // Relative to node
49
- type : 'input' | 'output'
50
- index : number
51
- }
52
-
53
44
export interface ConnectionLayout {
54
45
id : ConnectionId
55
- sourceSlot : SlotId
56
- targetSlot : SlotId
46
+ sourceNodeId : NodeId
47
+ sourceSlotIndex : number
48
+ targetNodeId : NodeId
49
+ targetSlotIndex : number
57
50
// Control points for curved connections
58
51
controlPoints ?: Point [ ]
59
52
}
You can’t perform that action at this time.
0 commit comments