@likec4/diagram 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import { DiagramInitialState } from './diagramStore';
2
1
  import { PropsWithChildren } from 'react';
2
+ import { DiagramInitialState } from './diagramStore';
3
3
 
4
- export declare const DiagramContext: import('react').Context<import("zustand/traditional").UseBoundStoreWithEqualityFn<Omit<Omit<import("zustand/vanilla").StoreApi<{
5
- view: import("@likec4/core").DiagramView;
4
+ export declare const DiagramContext: import('react').Context<import('zustand/traditional').UseBoundStoreWithEqualityFn<Omit<Omit<import('zustand/vanilla').StoreApi<{
5
+ view: import('@likec4/core').DiagramView;
6
6
  readonly: boolean;
7
7
  showElementLinks: boolean;
8
8
  fitViewEnabled: boolean;
@@ -11,7 +11,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
11
11
  pannable: boolean;
12
12
  nodesDraggable: boolean;
13
13
  nodesSelectable: boolean;
14
- xyflow: import("..").XYFlowInstance;
14
+ xyflow: import('..').XYFlowInstance;
15
15
  initialized: boolean;
16
16
  xyflowSynced: boolean;
17
17
  activeDynamicViewStep: number | null;
@@ -21,37 +21,37 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
21
21
  hoveredNodeId: string | null;
22
22
  hoveredEdgeId: string | null;
23
23
  dimmed: ReadonlySet<string>;
24
- previousViews: import("@likec4/core").DiagramView[];
24
+ previousViews: import('@likec4/core').DiagramView[];
25
25
  lastOnNavigate: {
26
- fromView: import("@likec4/core").ViewID;
27
- toView: import("@likec4/core").ViewID;
28
- element: import("@likec4/core").DiagramNode;
29
- elementCenterScreenPosition: import("@xyflow/system").XYPosition;
26
+ fromView: import('@likec4/core').ViewID;
27
+ toView: import('@likec4/core').ViewID;
28
+ element: import('@likec4/core').DiagramNode;
29
+ elementCenterScreenPosition: import('@xyflow/system').XYPosition;
30
30
  positionCorrected: boolean;
31
31
  } | null;
32
32
  viewportChanged: boolean;
33
- onChange: import("..").OnChange | null | undefined;
34
- onNavigateTo: import("..").OnNavigateTo | null | undefined;
35
- onNodeClick: import("..").OnNodeClick | null | undefined;
36
- onNodeContextMenu: import("..").OnNodeClick | null | undefined;
37
- onCanvasContextMenu: import("..").OnCanvasClick | null | undefined;
38
- onEdgeClick: import("..").OnEdgeClick | null | undefined;
39
- onEdgeContextMenu: import("..").OnEdgeClick | null | undefined;
40
- onCanvasClick: import("..").OnCanvasClick | null | undefined;
41
- onCanvasDblClick: import("..").OnCanvasClick | null | undefined;
33
+ onChange: import('..').OnChange | null | undefined;
34
+ onNavigateTo: import('..').OnNavigateTo | null | undefined;
35
+ onNodeClick: import('..').OnNodeClick | null | undefined;
36
+ onNodeContextMenu: import('..').OnNodeClick | null | undefined;
37
+ onCanvasContextMenu: import('..').OnCanvasClick | null | undefined;
38
+ onEdgeClick: import('..').OnEdgeClick | null | undefined;
39
+ onEdgeContextMenu: import('..').OnEdgeClick | null | undefined;
40
+ onCanvasClick: import('..').OnCanvasClick | null | undefined;
41
+ onCanvasDblClick: import('..').OnCanvasClick | null | undefined;
42
42
  isDynamicView: () => boolean;
43
- updateView: (view: import("@likec4/core").DiagramView) => void;
43
+ updateView: (view: import('@likec4/core').DiagramView) => void;
44
44
  focusOnNode: (nodeId: string) => void;
45
45
  setHoveredNode: (nodeId: string | null) => void;
46
46
  setHoveredEdge: (edgeId: string | null) => void;
47
47
  setLastClickedNode: (nodeId: string | null) => void;
48
48
  setLastClickedEdge: (edgeId: string | null) => void;
49
49
  resetLastClicked: () => void;
50
- getElement: (id: import("@likec4/core").Fqn) => import("@likec4/core").DiagramNode | null;
51
- triggerOnChange: (changes: import("@likec4/core").NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
52
- triggerOnNavigateTo: (xynodeId: string, event: import("react").MouseEvent<Element, MouseEvent>) => void;
50
+ getElement: (id: import('@likec4/core').Fqn) => import('@likec4/core').DiagramNode | null;
51
+ triggerOnChange: (changes: import('@likec4/core').NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
52
+ triggerOnNavigateTo: (xynodeId: string, event: import('react').MouseEvent<Element, MouseEvent>) => void;
53
53
  fitDiagram: (xyStore: {
54
- getState: () => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
54
+ getState: () => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
55
55
  source: string;
56
56
  target: string;
57
57
  sourceHandle?: string | null;
@@ -61,26 +61,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
61
61
  deletable?: boolean;
62
62
  selectable?: boolean;
63
63
  selected?: boolean;
64
- markerStart?: import("@xyflow/system").EdgeMarkerType;
65
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
64
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
65
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
66
66
  zIndex?: number;
67
67
  ariaLabel?: string;
68
68
  interactionWidth?: number;
69
- label?: import("react").ReactNode;
70
- labelStyle?: import("react").CSSProperties;
69
+ label?: import('react').ReactNode;
70
+ labelStyle?: import('react').CSSProperties;
71
71
  labelShowBg?: boolean;
72
- labelBgStyle?: import("react").CSSProperties;
72
+ labelBgStyle?: import('react').CSSProperties;
73
73
  labelBgPadding?: [number, number];
74
74
  labelBgBorderRadius?: number;
75
- style?: import("react").CSSProperties;
75
+ style?: import('react').CSSProperties;
76
76
  className?: string;
77
- updatable?: import("@xyflow/react").EdgeUpdatable;
77
+ updatable?: import('@xyflow/react').EdgeUpdatable;
78
78
  focusable?: boolean;
79
- data: import("..").RelationshipData;
79
+ data: import('..').RelationshipData;
80
80
  readonly id: string;
81
81
  readonly type: "relationship";
82
82
  }>;
83
- setState: (partial: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
83
+ setState: (partial: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
84
84
  source: string;
85
85
  target: string;
86
86
  sourceHandle?: string | null;
@@ -90,25 +90,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
90
90
  deletable?: boolean;
91
91
  selectable?: boolean;
92
92
  selected?: boolean;
93
- markerStart?: import("@xyflow/system").EdgeMarkerType;
94
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
93
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
94
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
95
95
  zIndex?: number;
96
96
  ariaLabel?: string;
97
97
  interactionWidth?: number;
98
- label?: import("react").ReactNode;
99
- labelStyle?: import("react").CSSProperties;
98
+ label?: import('react').ReactNode;
99
+ labelStyle?: import('react').CSSProperties;
100
100
  labelShowBg?: boolean;
101
- labelBgStyle?: import("react").CSSProperties;
101
+ labelBgStyle?: import('react').CSSProperties;
102
102
  labelBgPadding?: [number, number];
103
103
  labelBgBorderRadius?: number;
104
- style?: import("react").CSSProperties;
104
+ style?: import('react').CSSProperties;
105
105
  className?: string;
106
- updatable?: import("@xyflow/react").EdgeUpdatable;
106
+ updatable?: import('@xyflow/react').EdgeUpdatable;
107
107
  focusable?: boolean;
108
- data: import("..").RelationshipData;
108
+ data: import('..').RelationshipData;
109
109
  readonly id: string;
110
110
  readonly type: "relationship";
111
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
111
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
112
112
  source: string;
113
113
  target: string;
114
114
  sourceHandle?: string | null;
@@ -118,25 +118,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
118
118
  deletable?: boolean;
119
119
  selectable?: boolean;
120
120
  selected?: boolean;
121
- markerStart?: import("@xyflow/system").EdgeMarkerType;
122
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
121
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
122
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
123
123
  zIndex?: number;
124
124
  ariaLabel?: string;
125
125
  interactionWidth?: number;
126
- label?: import("react").ReactNode;
127
- labelStyle?: import("react").CSSProperties;
126
+ label?: import('react').ReactNode;
127
+ labelStyle?: import('react').CSSProperties;
128
128
  labelShowBg?: boolean;
129
- labelBgStyle?: import("react").CSSProperties;
129
+ labelBgStyle?: import('react').CSSProperties;
130
130
  labelBgPadding?: [number, number];
131
131
  labelBgBorderRadius?: number;
132
- style?: import("react").CSSProperties;
132
+ style?: import('react').CSSProperties;
133
133
  className?: string;
134
- updatable?: import("@xyflow/react").EdgeUpdatable;
134
+ updatable?: import('@xyflow/react').EdgeUpdatable;
135
135
  focusable?: boolean;
136
- data: import("..").RelationshipData;
136
+ data: import('..').RelationshipData;
137
137
  readonly id: string;
138
138
  readonly type: "relationship";
139
- }>> | ((state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
139
+ }>> | ((state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
140
140
  source: string;
141
141
  target: string;
142
142
  sourceHandle?: string | null;
@@ -146,25 +146,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
146
146
  deletable?: boolean;
147
147
  selectable?: boolean;
148
148
  selected?: boolean;
149
- markerStart?: import("@xyflow/system").EdgeMarkerType;
150
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
149
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
150
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
151
151
  zIndex?: number;
152
152
  ariaLabel?: string;
153
153
  interactionWidth?: number;
154
- label?: import("react").ReactNode;
155
- labelStyle?: import("react").CSSProperties;
154
+ label?: import('react').ReactNode;
155
+ labelStyle?: import('react').CSSProperties;
156
156
  labelShowBg?: boolean;
157
- labelBgStyle?: import("react").CSSProperties;
157
+ labelBgStyle?: import('react').CSSProperties;
158
158
  labelBgPadding?: [number, number];
159
159
  labelBgBorderRadius?: number;
160
- style?: import("react").CSSProperties;
160
+ style?: import('react').CSSProperties;
161
161
  className?: string;
162
- updatable?: import("@xyflow/react").EdgeUpdatable;
162
+ updatable?: import('@xyflow/react').EdgeUpdatable;
163
163
  focusable?: boolean;
164
- data: import("..").RelationshipData;
164
+ data: import('..').RelationshipData;
165
165
  readonly id: string;
166
166
  readonly type: "relationship";
167
- }>) => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
167
+ }>) => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
168
168
  source: string;
169
169
  target: string;
170
170
  sourceHandle?: string | null;
@@ -174,25 +174,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
174
174
  deletable?: boolean;
175
175
  selectable?: boolean;
176
176
  selected?: boolean;
177
- markerStart?: import("@xyflow/system").EdgeMarkerType;
178
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
177
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
178
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
179
179
  zIndex?: number;
180
180
  ariaLabel?: string;
181
181
  interactionWidth?: number;
182
- label?: import("react").ReactNode;
183
- labelStyle?: import("react").CSSProperties;
182
+ label?: import('react').ReactNode;
183
+ labelStyle?: import('react').CSSProperties;
184
184
  labelShowBg?: boolean;
185
- labelBgStyle?: import("react").CSSProperties;
185
+ labelBgStyle?: import('react').CSSProperties;
186
186
  labelBgPadding?: [number, number];
187
187
  labelBgBorderRadius?: number;
188
- style?: import("react").CSSProperties;
188
+ style?: import('react').CSSProperties;
189
189
  className?: string;
190
- updatable?: import("@xyflow/react").EdgeUpdatable;
190
+ updatable?: import('@xyflow/react').EdgeUpdatable;
191
191
  focusable?: boolean;
192
- data: import("..").RelationshipData;
192
+ data: import('..').RelationshipData;
193
193
  readonly id: string;
194
194
  readonly type: "relationship";
195
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
195
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
196
196
  source: string;
197
197
  target: string;
198
198
  sourceHandle?: string | null;
@@ -202,26 +202,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
202
202
  deletable?: boolean;
203
203
  selectable?: boolean;
204
204
  selected?: boolean;
205
- markerStart?: import("@xyflow/system").EdgeMarkerType;
206
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
205
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
206
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
207
207
  zIndex?: number;
208
208
  ariaLabel?: string;
209
209
  interactionWidth?: number;
210
- label?: import("react").ReactNode;
211
- labelStyle?: import("react").CSSProperties;
210
+ label?: import('react').ReactNode;
211
+ labelStyle?: import('react').CSSProperties;
212
212
  labelShowBg?: boolean;
213
- labelBgStyle?: import("react").CSSProperties;
213
+ labelBgStyle?: import('react').CSSProperties;
214
214
  labelBgPadding?: [number, number];
215
215
  labelBgBorderRadius?: number;
216
- style?: import("react").CSSProperties;
216
+ style?: import('react').CSSProperties;
217
217
  className?: string;
218
- updatable?: import("@xyflow/react").EdgeUpdatable;
218
+ updatable?: import('@xyflow/react').EdgeUpdatable;
219
219
  focusable?: boolean;
220
- data: import("..").RelationshipData;
220
+ data: import('..').RelationshipData;
221
221
  readonly id: string;
222
222
  readonly type: "relationship";
223
223
  }>>), replace?: boolean | undefined) => void;
224
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
224
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
225
225
  source: string;
226
226
  target: string;
227
227
  sourceHandle?: string | null;
@@ -231,25 +231,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
231
231
  deletable?: boolean;
232
232
  selectable?: boolean;
233
233
  selected?: boolean;
234
- markerStart?: import("@xyflow/system").EdgeMarkerType;
235
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
234
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
235
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
236
236
  zIndex?: number;
237
237
  ariaLabel?: string;
238
238
  interactionWidth?: number;
239
- label?: import("react").ReactNode;
240
- labelStyle?: import("react").CSSProperties;
239
+ label?: import('react').ReactNode;
240
+ labelStyle?: import('react').CSSProperties;
241
241
  labelShowBg?: boolean;
242
- labelBgStyle?: import("react").CSSProperties;
242
+ labelBgStyle?: import('react').CSSProperties;
243
243
  labelBgPadding?: [number, number];
244
244
  labelBgBorderRadius?: number;
245
- style?: import("react").CSSProperties;
245
+ style?: import('react').CSSProperties;
246
246
  className?: string;
247
- updatable?: import("@xyflow/react").EdgeUpdatable;
247
+ updatable?: import('@xyflow/react').EdgeUpdatable;
248
248
  focusable?: boolean;
249
- data: import("..").RelationshipData;
249
+ data: import('..').RelationshipData;
250
250
  readonly id: string;
251
251
  readonly type: "relationship";
252
- }>, prevState: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
252
+ }>, prevState: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
253
253
  source: string;
254
254
  target: string;
255
255
  sourceHandle?: string | null;
@@ -259,22 +259,22 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
259
259
  deletable?: boolean;
260
260
  selectable?: boolean;
261
261
  selected?: boolean;
262
- markerStart?: import("@xyflow/system").EdgeMarkerType;
263
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
262
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
263
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
264
264
  zIndex?: number;
265
265
  ariaLabel?: string;
266
266
  interactionWidth?: number;
267
- label?: import("react").ReactNode;
268
- labelStyle?: import("react").CSSProperties;
267
+ label?: import('react').ReactNode;
268
+ labelStyle?: import('react').CSSProperties;
269
269
  labelShowBg?: boolean;
270
- labelBgStyle?: import("react").CSSProperties;
270
+ labelBgStyle?: import('react').CSSProperties;
271
271
  labelBgPadding?: [number, number];
272
272
  labelBgBorderRadius?: number;
273
- style?: import("react").CSSProperties;
273
+ style?: import('react').CSSProperties;
274
274
  className?: string;
275
- updatable?: import("@xyflow/react").EdgeUpdatable;
275
+ updatable?: import('@xyflow/react').EdgeUpdatable;
276
276
  focusable?: boolean;
277
- data: import("..").RelationshipData;
277
+ data: import('..').RelationshipData;
278
278
  readonly id: string;
279
279
  readonly type: "relationship";
280
280
  }>) => void) => () => void;
@@ -284,7 +284,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
284
284
  }>, "subscribe"> & {
285
285
  subscribe: {
286
286
  (listener: (selectedState: {
287
- view: import("@likec4/core").DiagramView;
287
+ view: import('@likec4/core').DiagramView;
288
288
  readonly: boolean;
289
289
  showElementLinks: boolean;
290
290
  fitViewEnabled: boolean;
@@ -293,7 +293,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
293
293
  pannable: boolean;
294
294
  nodesDraggable: boolean;
295
295
  nodesSelectable: boolean;
296
- xyflow: import("..").XYFlowInstance;
296
+ xyflow: import('..').XYFlowInstance;
297
297
  initialized: boolean;
298
298
  xyflowSynced: boolean;
299
299
  activeDynamicViewStep: number | null;
@@ -303,37 +303,37 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
303
303
  hoveredNodeId: string | null;
304
304
  hoveredEdgeId: string | null;
305
305
  dimmed: ReadonlySet<string>;
306
- previousViews: import("@likec4/core").DiagramView[];
306
+ previousViews: import('@likec4/core').DiagramView[];
307
307
  lastOnNavigate: {
308
- fromView: import("@likec4/core").ViewID;
309
- toView: import("@likec4/core").ViewID;
310
- element: import("@likec4/core").DiagramNode;
311
- elementCenterScreenPosition: import("@xyflow/system").XYPosition;
308
+ fromView: import('@likec4/core').ViewID;
309
+ toView: import('@likec4/core').ViewID;
310
+ element: import('@likec4/core').DiagramNode;
311
+ elementCenterScreenPosition: import('@xyflow/system').XYPosition;
312
312
  positionCorrected: boolean;
313
313
  } | null;
314
314
  viewportChanged: boolean;
315
- onChange: import("..").OnChange | null | undefined;
316
- onNavigateTo: import("..").OnNavigateTo | null | undefined;
317
- onNodeClick: import("..").OnNodeClick | null | undefined;
318
- onNodeContextMenu: import("..").OnNodeClick | null | undefined;
319
- onCanvasContextMenu: import("..").OnCanvasClick | null | undefined;
320
- onEdgeClick: import("..").OnEdgeClick | null | undefined;
321
- onEdgeContextMenu: import("..").OnEdgeClick | null | undefined;
322
- onCanvasClick: import("..").OnCanvasClick | null | undefined;
323
- onCanvasDblClick: import("..").OnCanvasClick | null | undefined;
315
+ onChange: import('..').OnChange | null | undefined;
316
+ onNavigateTo: import('..').OnNavigateTo | null | undefined;
317
+ onNodeClick: import('..').OnNodeClick | null | undefined;
318
+ onNodeContextMenu: import('..').OnNodeClick | null | undefined;
319
+ onCanvasContextMenu: import('..').OnCanvasClick | null | undefined;
320
+ onEdgeClick: import('..').OnEdgeClick | null | undefined;
321
+ onEdgeContextMenu: import('..').OnEdgeClick | null | undefined;
322
+ onCanvasClick: import('..').OnCanvasClick | null | undefined;
323
+ onCanvasDblClick: import('..').OnCanvasClick | null | undefined;
324
324
  isDynamicView: () => boolean;
325
- updateView: (view: import("@likec4/core").DiagramView) => void;
325
+ updateView: (view: import('@likec4/core').DiagramView) => void;
326
326
  focusOnNode: (nodeId: string) => void;
327
327
  setHoveredNode: (nodeId: string | null) => void;
328
328
  setHoveredEdge: (edgeId: string | null) => void;
329
329
  setLastClickedNode: (nodeId: string | null) => void;
330
330
  setLastClickedEdge: (edgeId: string | null) => void;
331
331
  resetLastClicked: () => void;
332
- getElement: (id: import("@likec4/core").Fqn) => import("@likec4/core").DiagramNode | null;
333
- triggerOnChange: (changes: import("@likec4/core").NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
334
- triggerOnNavigateTo: (xynodeId: string, event: import("react").MouseEvent<Element, MouseEvent>) => void;
332
+ getElement: (id: import('@likec4/core').Fqn) => import('@likec4/core').DiagramNode | null;
333
+ triggerOnChange: (changes: import('@likec4/core').NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
334
+ triggerOnNavigateTo: (xynodeId: string, event: import('react').MouseEvent<Element, MouseEvent>) => void;
335
335
  fitDiagram: (xyStore: {
336
- getState: () => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
336
+ getState: () => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
337
337
  source: string;
338
338
  target: string;
339
339
  sourceHandle?: string | null;
@@ -343,26 +343,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
343
343
  deletable?: boolean;
344
344
  selectable?: boolean;
345
345
  selected?: boolean;
346
- markerStart?: import("@xyflow/system").EdgeMarkerType;
347
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
346
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
347
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
348
348
  zIndex?: number;
349
349
  ariaLabel?: string;
350
350
  interactionWidth?: number;
351
- label?: import("react").ReactNode;
352
- labelStyle?: import("react").CSSProperties;
351
+ label?: import('react').ReactNode;
352
+ labelStyle?: import('react').CSSProperties;
353
353
  labelShowBg?: boolean;
354
- labelBgStyle?: import("react").CSSProperties;
354
+ labelBgStyle?: import('react').CSSProperties;
355
355
  labelBgPadding?: [number, number];
356
356
  labelBgBorderRadius?: number;
357
- style?: import("react").CSSProperties;
357
+ style?: import('react').CSSProperties;
358
358
  className?: string;
359
- updatable?: import("@xyflow/react").EdgeUpdatable;
359
+ updatable?: import('@xyflow/react').EdgeUpdatable;
360
360
  focusable?: boolean;
361
- data: import("..").RelationshipData;
361
+ data: import('..').RelationshipData;
362
362
  readonly id: string;
363
363
  readonly type: "relationship";
364
364
  }>;
365
- setState: (partial: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
365
+ setState: (partial: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
366
366
  source: string;
367
367
  target: string;
368
368
  sourceHandle?: string | null;
@@ -372,25 +372,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
372
372
  deletable?: boolean;
373
373
  selectable?: boolean;
374
374
  selected?: boolean;
375
- markerStart?: import("@xyflow/system").EdgeMarkerType;
376
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
375
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
376
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
377
377
  zIndex?: number;
378
378
  ariaLabel?: string;
379
379
  interactionWidth?: number;
380
- label?: import("react").ReactNode;
381
- labelStyle?: import("react").CSSProperties;
380
+ label?: import('react').ReactNode;
381
+ labelStyle?: import('react').CSSProperties;
382
382
  labelShowBg?: boolean;
383
- labelBgStyle?: import("react").CSSProperties;
383
+ labelBgStyle?: import('react').CSSProperties;
384
384
  labelBgPadding?: [number, number];
385
385
  labelBgBorderRadius?: number;
386
- style?: import("react").CSSProperties;
386
+ style?: import('react').CSSProperties;
387
387
  className?: string;
388
- updatable?: import("@xyflow/react").EdgeUpdatable;
388
+ updatable?: import('@xyflow/react').EdgeUpdatable;
389
389
  focusable?: boolean;
390
- data: import("..").RelationshipData;
390
+ data: import('..').RelationshipData;
391
391
  readonly id: string;
392
392
  readonly type: "relationship";
393
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
393
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
394
394
  source: string;
395
395
  target: string;
396
396
  sourceHandle?: string | null;
@@ -400,25 +400,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
400
400
  deletable?: boolean;
401
401
  selectable?: boolean;
402
402
  selected?: boolean;
403
- markerStart?: import("@xyflow/system").EdgeMarkerType;
404
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
403
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
404
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
405
405
  zIndex?: number;
406
406
  ariaLabel?: string;
407
407
  interactionWidth?: number;
408
- label?: import("react").ReactNode;
409
- labelStyle?: import("react").CSSProperties;
408
+ label?: import('react').ReactNode;
409
+ labelStyle?: import('react').CSSProperties;
410
410
  labelShowBg?: boolean;
411
- labelBgStyle?: import("react").CSSProperties;
411
+ labelBgStyle?: import('react').CSSProperties;
412
412
  labelBgPadding?: [number, number];
413
413
  labelBgBorderRadius?: number;
414
- style?: import("react").CSSProperties;
414
+ style?: import('react').CSSProperties;
415
415
  className?: string;
416
- updatable?: import("@xyflow/react").EdgeUpdatable;
416
+ updatable?: import('@xyflow/react').EdgeUpdatable;
417
417
  focusable?: boolean;
418
- data: import("..").RelationshipData;
418
+ data: import('..').RelationshipData;
419
419
  readonly id: string;
420
420
  readonly type: "relationship";
421
- }>> | ((state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
421
+ }>> | ((state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
422
422
  source: string;
423
423
  target: string;
424
424
  sourceHandle?: string | null;
@@ -428,25 +428,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
428
428
  deletable?: boolean;
429
429
  selectable?: boolean;
430
430
  selected?: boolean;
431
- markerStart?: import("@xyflow/system").EdgeMarkerType;
432
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
431
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
432
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
433
433
  zIndex?: number;
434
434
  ariaLabel?: string;
435
435
  interactionWidth?: number;
436
- label?: import("react").ReactNode;
437
- labelStyle?: import("react").CSSProperties;
436
+ label?: import('react').ReactNode;
437
+ labelStyle?: import('react').CSSProperties;
438
438
  labelShowBg?: boolean;
439
- labelBgStyle?: import("react").CSSProperties;
439
+ labelBgStyle?: import('react').CSSProperties;
440
440
  labelBgPadding?: [number, number];
441
441
  labelBgBorderRadius?: number;
442
- style?: import("react").CSSProperties;
442
+ style?: import('react').CSSProperties;
443
443
  className?: string;
444
- updatable?: import("@xyflow/react").EdgeUpdatable;
444
+ updatable?: import('@xyflow/react').EdgeUpdatable;
445
445
  focusable?: boolean;
446
- data: import("..").RelationshipData;
446
+ data: import('..').RelationshipData;
447
447
  readonly id: string;
448
448
  readonly type: "relationship";
449
- }>) => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
449
+ }>) => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
450
450
  source: string;
451
451
  target: string;
452
452
  sourceHandle?: string | null;
@@ -456,25 +456,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
456
456
  deletable?: boolean;
457
457
  selectable?: boolean;
458
458
  selected?: boolean;
459
- markerStart?: import("@xyflow/system").EdgeMarkerType;
460
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
459
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
460
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
461
461
  zIndex?: number;
462
462
  ariaLabel?: string;
463
463
  interactionWidth?: number;
464
- label?: import("react").ReactNode;
465
- labelStyle?: import("react").CSSProperties;
464
+ label?: import('react').ReactNode;
465
+ labelStyle?: import('react').CSSProperties;
466
466
  labelShowBg?: boolean;
467
- labelBgStyle?: import("react").CSSProperties;
467
+ labelBgStyle?: import('react').CSSProperties;
468
468
  labelBgPadding?: [number, number];
469
469
  labelBgBorderRadius?: number;
470
- style?: import("react").CSSProperties;
470
+ style?: import('react').CSSProperties;
471
471
  className?: string;
472
- updatable?: import("@xyflow/react").EdgeUpdatable;
472
+ updatable?: import('@xyflow/react').EdgeUpdatable;
473
473
  focusable?: boolean;
474
- data: import("..").RelationshipData;
474
+ data: import('..').RelationshipData;
475
475
  readonly id: string;
476
476
  readonly type: "relationship";
477
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
477
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
478
478
  source: string;
479
479
  target: string;
480
480
  sourceHandle?: string | null;
@@ -484,26 +484,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
484
484
  deletable?: boolean;
485
485
  selectable?: boolean;
486
486
  selected?: boolean;
487
- markerStart?: import("@xyflow/system").EdgeMarkerType;
488
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
487
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
488
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
489
489
  zIndex?: number;
490
490
  ariaLabel?: string;
491
491
  interactionWidth?: number;
492
- label?: import("react").ReactNode;
493
- labelStyle?: import("react").CSSProperties;
492
+ label?: import('react').ReactNode;
493
+ labelStyle?: import('react').CSSProperties;
494
494
  labelShowBg?: boolean;
495
- labelBgStyle?: import("react").CSSProperties;
495
+ labelBgStyle?: import('react').CSSProperties;
496
496
  labelBgPadding?: [number, number];
497
497
  labelBgBorderRadius?: number;
498
- style?: import("react").CSSProperties;
498
+ style?: import('react').CSSProperties;
499
499
  className?: string;
500
- updatable?: import("@xyflow/react").EdgeUpdatable;
500
+ updatable?: import('@xyflow/react').EdgeUpdatable;
501
501
  focusable?: boolean;
502
- data: import("..").RelationshipData;
502
+ data: import('..').RelationshipData;
503
503
  readonly id: string;
504
504
  readonly type: "relationship";
505
505
  }>>), replace?: boolean | undefined) => void;
506
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
506
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
507
507
  source: string;
508
508
  target: string;
509
509
  sourceHandle?: string | null;
@@ -513,25 +513,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
513
513
  deletable?: boolean;
514
514
  selectable?: boolean;
515
515
  selected?: boolean;
516
- markerStart?: import("@xyflow/system").EdgeMarkerType;
517
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
516
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
517
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
518
518
  zIndex?: number;
519
519
  ariaLabel?: string;
520
520
  interactionWidth?: number;
521
- label?: import("react").ReactNode;
522
- labelStyle?: import("react").CSSProperties;
521
+ label?: import('react').ReactNode;
522
+ labelStyle?: import('react').CSSProperties;
523
523
  labelShowBg?: boolean;
524
- labelBgStyle?: import("react").CSSProperties;
524
+ labelBgStyle?: import('react').CSSProperties;
525
525
  labelBgPadding?: [number, number];
526
526
  labelBgBorderRadius?: number;
527
- style?: import("react").CSSProperties;
527
+ style?: import('react').CSSProperties;
528
528
  className?: string;
529
- updatable?: import("@xyflow/react").EdgeUpdatable;
529
+ updatable?: import('@xyflow/react').EdgeUpdatable;
530
530
  focusable?: boolean;
531
- data: import("..").RelationshipData;
531
+ data: import('..').RelationshipData;
532
532
  readonly id: string;
533
533
  readonly type: "relationship";
534
- }>, prevState: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
534
+ }>, prevState: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
535
535
  source: string;
536
536
  target: string;
537
537
  sourceHandle?: string | null;
@@ -541,22 +541,22 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
541
541
  deletable?: boolean;
542
542
  selectable?: boolean;
543
543
  selected?: boolean;
544
- markerStart?: import("@xyflow/system").EdgeMarkerType;
545
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
544
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
545
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
546
546
  zIndex?: number;
547
547
  ariaLabel?: string;
548
548
  interactionWidth?: number;
549
- label?: import("react").ReactNode;
550
- labelStyle?: import("react").CSSProperties;
549
+ label?: import('react').ReactNode;
550
+ labelStyle?: import('react').CSSProperties;
551
551
  labelShowBg?: boolean;
552
- labelBgStyle?: import("react").CSSProperties;
552
+ labelBgStyle?: import('react').CSSProperties;
553
553
  labelBgPadding?: [number, number];
554
554
  labelBgBorderRadius?: number;
555
- style?: import("react").CSSProperties;
555
+ style?: import('react').CSSProperties;
556
556
  className?: string;
557
- updatable?: import("@xyflow/react").EdgeUpdatable;
557
+ updatable?: import('@xyflow/react').EdgeUpdatable;
558
558
  focusable?: boolean;
559
- data: import("..").RelationshipData;
559
+ data: import('..').RelationshipData;
560
560
  readonly id: string;
561
561
  readonly type: "relationship";
562
562
  }>) => void) => () => void;
@@ -564,7 +564,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
564
564
  nextDynamicStep: (increment?: number | undefined) => void;
565
565
  stopDynamicView: () => void;
566
566
  }, previousSelectedState: {
567
- view: import("@likec4/core").DiagramView;
567
+ view: import('@likec4/core').DiagramView;
568
568
  readonly: boolean;
569
569
  showElementLinks: boolean;
570
570
  fitViewEnabled: boolean;
@@ -573,7 +573,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
573
573
  pannable: boolean;
574
574
  nodesDraggable: boolean;
575
575
  nodesSelectable: boolean;
576
- xyflow: import("..").XYFlowInstance;
576
+ xyflow: import('..').XYFlowInstance;
577
577
  initialized: boolean;
578
578
  xyflowSynced: boolean;
579
579
  activeDynamicViewStep: number | null;
@@ -583,37 +583,37 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
583
583
  hoveredNodeId: string | null;
584
584
  hoveredEdgeId: string | null;
585
585
  dimmed: ReadonlySet<string>;
586
- previousViews: import("@likec4/core").DiagramView[];
586
+ previousViews: import('@likec4/core').DiagramView[];
587
587
  lastOnNavigate: {
588
- fromView: import("@likec4/core").ViewID;
589
- toView: import("@likec4/core").ViewID;
590
- element: import("@likec4/core").DiagramNode;
591
- elementCenterScreenPosition: import("@xyflow/system").XYPosition;
588
+ fromView: import('@likec4/core').ViewID;
589
+ toView: import('@likec4/core').ViewID;
590
+ element: import('@likec4/core').DiagramNode;
591
+ elementCenterScreenPosition: import('@xyflow/system').XYPosition;
592
592
  positionCorrected: boolean;
593
593
  } | null;
594
594
  viewportChanged: boolean;
595
- onChange: import("..").OnChange | null | undefined;
596
- onNavigateTo: import("..").OnNavigateTo | null | undefined;
597
- onNodeClick: import("..").OnNodeClick | null | undefined;
598
- onNodeContextMenu: import("..").OnNodeClick | null | undefined;
599
- onCanvasContextMenu: import("..").OnCanvasClick | null | undefined;
600
- onEdgeClick: import("..").OnEdgeClick | null | undefined;
601
- onEdgeContextMenu: import("..").OnEdgeClick | null | undefined;
602
- onCanvasClick: import("..").OnCanvasClick | null | undefined;
603
- onCanvasDblClick: import("..").OnCanvasClick | null | undefined;
595
+ onChange: import('..').OnChange | null | undefined;
596
+ onNavigateTo: import('..').OnNavigateTo | null | undefined;
597
+ onNodeClick: import('..').OnNodeClick | null | undefined;
598
+ onNodeContextMenu: import('..').OnNodeClick | null | undefined;
599
+ onCanvasContextMenu: import('..').OnCanvasClick | null | undefined;
600
+ onEdgeClick: import('..').OnEdgeClick | null | undefined;
601
+ onEdgeContextMenu: import('..').OnEdgeClick | null | undefined;
602
+ onCanvasClick: import('..').OnCanvasClick | null | undefined;
603
+ onCanvasDblClick: import('..').OnCanvasClick | null | undefined;
604
604
  isDynamicView: () => boolean;
605
- updateView: (view: import("@likec4/core").DiagramView) => void;
605
+ updateView: (view: import('@likec4/core').DiagramView) => void;
606
606
  focusOnNode: (nodeId: string) => void;
607
607
  setHoveredNode: (nodeId: string | null) => void;
608
608
  setHoveredEdge: (edgeId: string | null) => void;
609
609
  setLastClickedNode: (nodeId: string | null) => void;
610
610
  setLastClickedEdge: (edgeId: string | null) => void;
611
611
  resetLastClicked: () => void;
612
- getElement: (id: import("@likec4/core").Fqn) => import("@likec4/core").DiagramNode | null;
613
- triggerOnChange: (changes: import("@likec4/core").NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
614
- triggerOnNavigateTo: (xynodeId: string, event: import("react").MouseEvent<Element, MouseEvent>) => void;
612
+ getElement: (id: import('@likec4/core').Fqn) => import('@likec4/core').DiagramNode | null;
613
+ triggerOnChange: (changes: import('@likec4/core').NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
614
+ triggerOnNavigateTo: (xynodeId: string, event: import('react').MouseEvent<Element, MouseEvent>) => void;
615
615
  fitDiagram: (xyStore: {
616
- getState: () => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
616
+ getState: () => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
617
617
  source: string;
618
618
  target: string;
619
619
  sourceHandle?: string | null;
@@ -623,26 +623,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
623
623
  deletable?: boolean;
624
624
  selectable?: boolean;
625
625
  selected?: boolean;
626
- markerStart?: import("@xyflow/system").EdgeMarkerType;
627
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
626
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
627
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
628
628
  zIndex?: number;
629
629
  ariaLabel?: string;
630
630
  interactionWidth?: number;
631
- label?: import("react").ReactNode;
632
- labelStyle?: import("react").CSSProperties;
631
+ label?: import('react').ReactNode;
632
+ labelStyle?: import('react').CSSProperties;
633
633
  labelShowBg?: boolean;
634
- labelBgStyle?: import("react").CSSProperties;
634
+ labelBgStyle?: import('react').CSSProperties;
635
635
  labelBgPadding?: [number, number];
636
636
  labelBgBorderRadius?: number;
637
- style?: import("react").CSSProperties;
637
+ style?: import('react').CSSProperties;
638
638
  className?: string;
639
- updatable?: import("@xyflow/react").EdgeUpdatable;
639
+ updatable?: import('@xyflow/react').EdgeUpdatable;
640
640
  focusable?: boolean;
641
- data: import("..").RelationshipData;
641
+ data: import('..').RelationshipData;
642
642
  readonly id: string;
643
643
  readonly type: "relationship";
644
644
  }>;
645
- setState: (partial: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
645
+ setState: (partial: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
646
646
  source: string;
647
647
  target: string;
648
648
  sourceHandle?: string | null;
@@ -652,25 +652,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
652
652
  deletable?: boolean;
653
653
  selectable?: boolean;
654
654
  selected?: boolean;
655
- markerStart?: import("@xyflow/system").EdgeMarkerType;
656
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
655
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
656
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
657
657
  zIndex?: number;
658
658
  ariaLabel?: string;
659
659
  interactionWidth?: number;
660
- label?: import("react").ReactNode;
661
- labelStyle?: import("react").CSSProperties;
660
+ label?: import('react').ReactNode;
661
+ labelStyle?: import('react').CSSProperties;
662
662
  labelShowBg?: boolean;
663
- labelBgStyle?: import("react").CSSProperties;
663
+ labelBgStyle?: import('react').CSSProperties;
664
664
  labelBgPadding?: [number, number];
665
665
  labelBgBorderRadius?: number;
666
- style?: import("react").CSSProperties;
666
+ style?: import('react').CSSProperties;
667
667
  className?: string;
668
- updatable?: import("@xyflow/react").EdgeUpdatable;
668
+ updatable?: import('@xyflow/react').EdgeUpdatable;
669
669
  focusable?: boolean;
670
- data: import("..").RelationshipData;
670
+ data: import('..').RelationshipData;
671
671
  readonly id: string;
672
672
  readonly type: "relationship";
673
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
673
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
674
674
  source: string;
675
675
  target: string;
676
676
  sourceHandle?: string | null;
@@ -680,25 +680,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
680
680
  deletable?: boolean;
681
681
  selectable?: boolean;
682
682
  selected?: boolean;
683
- markerStart?: import("@xyflow/system").EdgeMarkerType;
684
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
683
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
684
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
685
685
  zIndex?: number;
686
686
  ariaLabel?: string;
687
687
  interactionWidth?: number;
688
- label?: import("react").ReactNode;
689
- labelStyle?: import("react").CSSProperties;
688
+ label?: import('react').ReactNode;
689
+ labelStyle?: import('react').CSSProperties;
690
690
  labelShowBg?: boolean;
691
- labelBgStyle?: import("react").CSSProperties;
691
+ labelBgStyle?: import('react').CSSProperties;
692
692
  labelBgPadding?: [number, number];
693
693
  labelBgBorderRadius?: number;
694
- style?: import("react").CSSProperties;
694
+ style?: import('react').CSSProperties;
695
695
  className?: string;
696
- updatable?: import("@xyflow/react").EdgeUpdatable;
696
+ updatable?: import('@xyflow/react').EdgeUpdatable;
697
697
  focusable?: boolean;
698
- data: import("..").RelationshipData;
698
+ data: import('..').RelationshipData;
699
699
  readonly id: string;
700
700
  readonly type: "relationship";
701
- }>> | ((state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
701
+ }>> | ((state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
702
702
  source: string;
703
703
  target: string;
704
704
  sourceHandle?: string | null;
@@ -708,25 +708,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
708
708
  deletable?: boolean;
709
709
  selectable?: boolean;
710
710
  selected?: boolean;
711
- markerStart?: import("@xyflow/system").EdgeMarkerType;
712
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
711
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
712
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
713
713
  zIndex?: number;
714
714
  ariaLabel?: string;
715
715
  interactionWidth?: number;
716
- label?: import("react").ReactNode;
717
- labelStyle?: import("react").CSSProperties;
716
+ label?: import('react').ReactNode;
717
+ labelStyle?: import('react').CSSProperties;
718
718
  labelShowBg?: boolean;
719
- labelBgStyle?: import("react").CSSProperties;
719
+ labelBgStyle?: import('react').CSSProperties;
720
720
  labelBgPadding?: [number, number];
721
721
  labelBgBorderRadius?: number;
722
- style?: import("react").CSSProperties;
722
+ style?: import('react').CSSProperties;
723
723
  className?: string;
724
- updatable?: import("@xyflow/react").EdgeUpdatable;
724
+ updatable?: import('@xyflow/react').EdgeUpdatable;
725
725
  focusable?: boolean;
726
- data: import("..").RelationshipData;
726
+ data: import('..').RelationshipData;
727
727
  readonly id: string;
728
728
  readonly type: "relationship";
729
- }>) => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
729
+ }>) => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
730
730
  source: string;
731
731
  target: string;
732
732
  sourceHandle?: string | null;
@@ -736,25 +736,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
736
736
  deletable?: boolean;
737
737
  selectable?: boolean;
738
738
  selected?: boolean;
739
- markerStart?: import("@xyflow/system").EdgeMarkerType;
740
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
739
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
740
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
741
741
  zIndex?: number;
742
742
  ariaLabel?: string;
743
743
  interactionWidth?: number;
744
- label?: import("react").ReactNode;
745
- labelStyle?: import("react").CSSProperties;
744
+ label?: import('react').ReactNode;
745
+ labelStyle?: import('react').CSSProperties;
746
746
  labelShowBg?: boolean;
747
- labelBgStyle?: import("react").CSSProperties;
747
+ labelBgStyle?: import('react').CSSProperties;
748
748
  labelBgPadding?: [number, number];
749
749
  labelBgBorderRadius?: number;
750
- style?: import("react").CSSProperties;
750
+ style?: import('react').CSSProperties;
751
751
  className?: string;
752
- updatable?: import("@xyflow/react").EdgeUpdatable;
752
+ updatable?: import('@xyflow/react').EdgeUpdatable;
753
753
  focusable?: boolean;
754
- data: import("..").RelationshipData;
754
+ data: import('..').RelationshipData;
755
755
  readonly id: string;
756
756
  readonly type: "relationship";
757
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
757
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
758
758
  source: string;
759
759
  target: string;
760
760
  sourceHandle?: string | null;
@@ -764,26 +764,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
764
764
  deletable?: boolean;
765
765
  selectable?: boolean;
766
766
  selected?: boolean;
767
- markerStart?: import("@xyflow/system").EdgeMarkerType;
768
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
767
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
768
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
769
769
  zIndex?: number;
770
770
  ariaLabel?: string;
771
771
  interactionWidth?: number;
772
- label?: import("react").ReactNode;
773
- labelStyle?: import("react").CSSProperties;
772
+ label?: import('react').ReactNode;
773
+ labelStyle?: import('react').CSSProperties;
774
774
  labelShowBg?: boolean;
775
- labelBgStyle?: import("react").CSSProperties;
775
+ labelBgStyle?: import('react').CSSProperties;
776
776
  labelBgPadding?: [number, number];
777
777
  labelBgBorderRadius?: number;
778
- style?: import("react").CSSProperties;
778
+ style?: import('react').CSSProperties;
779
779
  className?: string;
780
- updatable?: import("@xyflow/react").EdgeUpdatable;
780
+ updatable?: import('@xyflow/react').EdgeUpdatable;
781
781
  focusable?: boolean;
782
- data: import("..").RelationshipData;
782
+ data: import('..').RelationshipData;
783
783
  readonly id: string;
784
784
  readonly type: "relationship";
785
785
  }>>), replace?: boolean | undefined) => void;
786
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
786
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
787
787
  source: string;
788
788
  target: string;
789
789
  sourceHandle?: string | null;
@@ -793,25 +793,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
793
793
  deletable?: boolean;
794
794
  selectable?: boolean;
795
795
  selected?: boolean;
796
- markerStart?: import("@xyflow/system").EdgeMarkerType;
797
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
796
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
797
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
798
798
  zIndex?: number;
799
799
  ariaLabel?: string;
800
800
  interactionWidth?: number;
801
- label?: import("react").ReactNode;
802
- labelStyle?: import("react").CSSProperties;
801
+ label?: import('react').ReactNode;
802
+ labelStyle?: import('react').CSSProperties;
803
803
  labelShowBg?: boolean;
804
- labelBgStyle?: import("react").CSSProperties;
804
+ labelBgStyle?: import('react').CSSProperties;
805
805
  labelBgPadding?: [number, number];
806
806
  labelBgBorderRadius?: number;
807
- style?: import("react").CSSProperties;
807
+ style?: import('react').CSSProperties;
808
808
  className?: string;
809
- updatable?: import("@xyflow/react").EdgeUpdatable;
809
+ updatable?: import('@xyflow/react').EdgeUpdatable;
810
810
  focusable?: boolean;
811
- data: import("..").RelationshipData;
811
+ data: import('..').RelationshipData;
812
812
  readonly id: string;
813
813
  readonly type: "relationship";
814
- }>, prevState: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
814
+ }>, prevState: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
815
815
  source: string;
816
816
  target: string;
817
817
  sourceHandle?: string | null;
@@ -821,22 +821,22 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
821
821
  deletable?: boolean;
822
822
  selectable?: boolean;
823
823
  selected?: boolean;
824
- markerStart?: import("@xyflow/system").EdgeMarkerType;
825
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
824
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
825
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
826
826
  zIndex?: number;
827
827
  ariaLabel?: string;
828
828
  interactionWidth?: number;
829
- label?: import("react").ReactNode;
830
- labelStyle?: import("react").CSSProperties;
829
+ label?: import('react').ReactNode;
830
+ labelStyle?: import('react').CSSProperties;
831
831
  labelShowBg?: boolean;
832
- labelBgStyle?: import("react").CSSProperties;
832
+ labelBgStyle?: import('react').CSSProperties;
833
833
  labelBgPadding?: [number, number];
834
834
  labelBgBorderRadius?: number;
835
- style?: import("react").CSSProperties;
835
+ style?: import('react').CSSProperties;
836
836
  className?: string;
837
- updatable?: import("@xyflow/react").EdgeUpdatable;
837
+ updatable?: import('@xyflow/react').EdgeUpdatable;
838
838
  focusable?: boolean;
839
- data: import("..").RelationshipData;
839
+ data: import('..').RelationshipData;
840
840
  readonly id: string;
841
841
  readonly type: "relationship";
842
842
  }>) => void) => () => void;
@@ -845,7 +845,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
845
845
  stopDynamicView: () => void;
846
846
  }) => void): () => void;
847
847
  <U>(selector: (state: {
848
- view: import("@likec4/core").DiagramView;
848
+ view: import('@likec4/core').DiagramView;
849
849
  readonly: boolean;
850
850
  showElementLinks: boolean;
851
851
  fitViewEnabled: boolean;
@@ -854,7 +854,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
854
854
  pannable: boolean;
855
855
  nodesDraggable: boolean;
856
856
  nodesSelectable: boolean;
857
- xyflow: import("..").XYFlowInstance;
857
+ xyflow: import('..').XYFlowInstance;
858
858
  initialized: boolean;
859
859
  xyflowSynced: boolean;
860
860
  activeDynamicViewStep: number | null;
@@ -864,37 +864,37 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
864
864
  hoveredNodeId: string | null;
865
865
  hoveredEdgeId: string | null;
866
866
  dimmed: ReadonlySet<string>;
867
- previousViews: import("@likec4/core").DiagramView[];
867
+ previousViews: import('@likec4/core').DiagramView[];
868
868
  lastOnNavigate: {
869
- fromView: import("@likec4/core").ViewID;
870
- toView: import("@likec4/core").ViewID;
871
- element: import("@likec4/core").DiagramNode;
872
- elementCenterScreenPosition: import("@xyflow/system").XYPosition;
869
+ fromView: import('@likec4/core').ViewID;
870
+ toView: import('@likec4/core').ViewID;
871
+ element: import('@likec4/core').DiagramNode;
872
+ elementCenterScreenPosition: import('@xyflow/system').XYPosition;
873
873
  positionCorrected: boolean;
874
874
  } | null;
875
875
  viewportChanged: boolean;
876
- onChange: import("..").OnChange | null | undefined;
877
- onNavigateTo: import("..").OnNavigateTo | null | undefined;
878
- onNodeClick: import("..").OnNodeClick | null | undefined;
879
- onNodeContextMenu: import("..").OnNodeClick | null | undefined;
880
- onCanvasContextMenu: import("..").OnCanvasClick | null | undefined;
881
- onEdgeClick: import("..").OnEdgeClick | null | undefined;
882
- onEdgeContextMenu: import("..").OnEdgeClick | null | undefined;
883
- onCanvasClick: import("..").OnCanvasClick | null | undefined;
884
- onCanvasDblClick: import("..").OnCanvasClick | null | undefined;
876
+ onChange: import('..').OnChange | null | undefined;
877
+ onNavigateTo: import('..').OnNavigateTo | null | undefined;
878
+ onNodeClick: import('..').OnNodeClick | null | undefined;
879
+ onNodeContextMenu: import('..').OnNodeClick | null | undefined;
880
+ onCanvasContextMenu: import('..').OnCanvasClick | null | undefined;
881
+ onEdgeClick: import('..').OnEdgeClick | null | undefined;
882
+ onEdgeContextMenu: import('..').OnEdgeClick | null | undefined;
883
+ onCanvasClick: import('..').OnCanvasClick | null | undefined;
884
+ onCanvasDblClick: import('..').OnCanvasClick | null | undefined;
885
885
  isDynamicView: () => boolean;
886
- updateView: (view: import("@likec4/core").DiagramView) => void;
886
+ updateView: (view: import('@likec4/core').DiagramView) => void;
887
887
  focusOnNode: (nodeId: string) => void;
888
888
  setHoveredNode: (nodeId: string | null) => void;
889
889
  setHoveredEdge: (edgeId: string | null) => void;
890
890
  setLastClickedNode: (nodeId: string | null) => void;
891
891
  setLastClickedEdge: (edgeId: string | null) => void;
892
892
  resetLastClicked: () => void;
893
- getElement: (id: import("@likec4/core").Fqn) => import("@likec4/core").DiagramNode | null;
894
- triggerOnChange: (changes: import("@likec4/core").NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
895
- triggerOnNavigateTo: (xynodeId: string, event: import("react").MouseEvent<Element, MouseEvent>) => void;
893
+ getElement: (id: import('@likec4/core').Fqn) => import('@likec4/core').DiagramNode | null;
894
+ triggerOnChange: (changes: import('@likec4/core').NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
895
+ triggerOnNavigateTo: (xynodeId: string, event: import('react').MouseEvent<Element, MouseEvent>) => void;
896
896
  fitDiagram: (xyStore: {
897
- getState: () => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
897
+ getState: () => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
898
898
  source: string;
899
899
  target: string;
900
900
  sourceHandle?: string | null;
@@ -904,26 +904,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
904
904
  deletable?: boolean;
905
905
  selectable?: boolean;
906
906
  selected?: boolean;
907
- markerStart?: import("@xyflow/system").EdgeMarkerType;
908
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
907
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
908
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
909
909
  zIndex?: number;
910
910
  ariaLabel?: string;
911
911
  interactionWidth?: number;
912
- label?: import("react").ReactNode;
913
- labelStyle?: import("react").CSSProperties;
912
+ label?: import('react').ReactNode;
913
+ labelStyle?: import('react').CSSProperties;
914
914
  labelShowBg?: boolean;
915
- labelBgStyle?: import("react").CSSProperties;
915
+ labelBgStyle?: import('react').CSSProperties;
916
916
  labelBgPadding?: [number, number];
917
917
  labelBgBorderRadius?: number;
918
- style?: import("react").CSSProperties;
918
+ style?: import('react').CSSProperties;
919
919
  className?: string;
920
- updatable?: import("@xyflow/react").EdgeUpdatable;
920
+ updatable?: import('@xyflow/react').EdgeUpdatable;
921
921
  focusable?: boolean;
922
- data: import("..").RelationshipData;
922
+ data: import('..').RelationshipData;
923
923
  readonly id: string;
924
924
  readonly type: "relationship";
925
925
  }>;
926
- setState: (partial: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
926
+ setState: (partial: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
927
927
  source: string;
928
928
  target: string;
929
929
  sourceHandle?: string | null;
@@ -933,25 +933,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
933
933
  deletable?: boolean;
934
934
  selectable?: boolean;
935
935
  selected?: boolean;
936
- markerStart?: import("@xyflow/system").EdgeMarkerType;
937
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
936
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
937
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
938
938
  zIndex?: number;
939
939
  ariaLabel?: string;
940
940
  interactionWidth?: number;
941
- label?: import("react").ReactNode;
942
- labelStyle?: import("react").CSSProperties;
941
+ label?: import('react').ReactNode;
942
+ labelStyle?: import('react').CSSProperties;
943
943
  labelShowBg?: boolean;
944
- labelBgStyle?: import("react").CSSProperties;
944
+ labelBgStyle?: import('react').CSSProperties;
945
945
  labelBgPadding?: [number, number];
946
946
  labelBgBorderRadius?: number;
947
- style?: import("react").CSSProperties;
947
+ style?: import('react').CSSProperties;
948
948
  className?: string;
949
- updatable?: import("@xyflow/react").EdgeUpdatable;
949
+ updatable?: import('@xyflow/react').EdgeUpdatable;
950
950
  focusable?: boolean;
951
- data: import("..").RelationshipData;
951
+ data: import('..').RelationshipData;
952
952
  readonly id: string;
953
953
  readonly type: "relationship";
954
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
954
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
955
955
  source: string;
956
956
  target: string;
957
957
  sourceHandle?: string | null;
@@ -961,25 +961,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
961
961
  deletable?: boolean;
962
962
  selectable?: boolean;
963
963
  selected?: boolean;
964
- markerStart?: import("@xyflow/system").EdgeMarkerType;
965
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
964
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
965
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
966
966
  zIndex?: number;
967
967
  ariaLabel?: string;
968
968
  interactionWidth?: number;
969
- label?: import("react").ReactNode;
970
- labelStyle?: import("react").CSSProperties;
969
+ label?: import('react').ReactNode;
970
+ labelStyle?: import('react').CSSProperties;
971
971
  labelShowBg?: boolean;
972
- labelBgStyle?: import("react").CSSProperties;
972
+ labelBgStyle?: import('react').CSSProperties;
973
973
  labelBgPadding?: [number, number];
974
974
  labelBgBorderRadius?: number;
975
- style?: import("react").CSSProperties;
975
+ style?: import('react').CSSProperties;
976
976
  className?: string;
977
- updatable?: import("@xyflow/react").EdgeUpdatable;
977
+ updatable?: import('@xyflow/react').EdgeUpdatable;
978
978
  focusable?: boolean;
979
- data: import("..").RelationshipData;
979
+ data: import('..').RelationshipData;
980
980
  readonly id: string;
981
981
  readonly type: "relationship";
982
- }>> | ((state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
982
+ }>> | ((state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
983
983
  source: string;
984
984
  target: string;
985
985
  sourceHandle?: string | null;
@@ -989,25 +989,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
989
989
  deletable?: boolean;
990
990
  selectable?: boolean;
991
991
  selected?: boolean;
992
- markerStart?: import("@xyflow/system").EdgeMarkerType;
993
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
992
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
993
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
994
994
  zIndex?: number;
995
995
  ariaLabel?: string;
996
996
  interactionWidth?: number;
997
- label?: import("react").ReactNode;
998
- labelStyle?: import("react").CSSProperties;
997
+ label?: import('react').ReactNode;
998
+ labelStyle?: import('react').CSSProperties;
999
999
  labelShowBg?: boolean;
1000
- labelBgStyle?: import("react").CSSProperties;
1000
+ labelBgStyle?: import('react').CSSProperties;
1001
1001
  labelBgPadding?: [number, number];
1002
1002
  labelBgBorderRadius?: number;
1003
- style?: import("react").CSSProperties;
1003
+ style?: import('react').CSSProperties;
1004
1004
  className?: string;
1005
- updatable?: import("@xyflow/react").EdgeUpdatable;
1005
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1006
1006
  focusable?: boolean;
1007
- data: import("..").RelationshipData;
1007
+ data: import('..').RelationshipData;
1008
1008
  readonly id: string;
1009
1009
  readonly type: "relationship";
1010
- }>) => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1010
+ }>) => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1011
1011
  source: string;
1012
1012
  target: string;
1013
1013
  sourceHandle?: string | null;
@@ -1017,25 +1017,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1017
1017
  deletable?: boolean;
1018
1018
  selectable?: boolean;
1019
1019
  selected?: boolean;
1020
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1021
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1020
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1021
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1022
1022
  zIndex?: number;
1023
1023
  ariaLabel?: string;
1024
1024
  interactionWidth?: number;
1025
- label?: import("react").ReactNode;
1026
- labelStyle?: import("react").CSSProperties;
1025
+ label?: import('react').ReactNode;
1026
+ labelStyle?: import('react').CSSProperties;
1027
1027
  labelShowBg?: boolean;
1028
- labelBgStyle?: import("react").CSSProperties;
1028
+ labelBgStyle?: import('react').CSSProperties;
1029
1029
  labelBgPadding?: [number, number];
1030
1030
  labelBgBorderRadius?: number;
1031
- style?: import("react").CSSProperties;
1031
+ style?: import('react').CSSProperties;
1032
1032
  className?: string;
1033
- updatable?: import("@xyflow/react").EdgeUpdatable;
1033
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1034
1034
  focusable?: boolean;
1035
- data: import("..").RelationshipData;
1035
+ data: import('..').RelationshipData;
1036
1036
  readonly id: string;
1037
1037
  readonly type: "relationship";
1038
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1038
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1039
1039
  source: string;
1040
1040
  target: string;
1041
1041
  sourceHandle?: string | null;
@@ -1045,26 +1045,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1045
1045
  deletable?: boolean;
1046
1046
  selectable?: boolean;
1047
1047
  selected?: boolean;
1048
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1049
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1048
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1049
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1050
1050
  zIndex?: number;
1051
1051
  ariaLabel?: string;
1052
1052
  interactionWidth?: number;
1053
- label?: import("react").ReactNode;
1054
- labelStyle?: import("react").CSSProperties;
1053
+ label?: import('react').ReactNode;
1054
+ labelStyle?: import('react').CSSProperties;
1055
1055
  labelShowBg?: boolean;
1056
- labelBgStyle?: import("react").CSSProperties;
1056
+ labelBgStyle?: import('react').CSSProperties;
1057
1057
  labelBgPadding?: [number, number];
1058
1058
  labelBgBorderRadius?: number;
1059
- style?: import("react").CSSProperties;
1059
+ style?: import('react').CSSProperties;
1060
1060
  className?: string;
1061
- updatable?: import("@xyflow/react").EdgeUpdatable;
1061
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1062
1062
  focusable?: boolean;
1063
- data: import("..").RelationshipData;
1063
+ data: import('..').RelationshipData;
1064
1064
  readonly id: string;
1065
1065
  readonly type: "relationship";
1066
1066
  }>>), replace?: boolean | undefined) => void;
1067
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1067
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1068
1068
  source: string;
1069
1069
  target: string;
1070
1070
  sourceHandle?: string | null;
@@ -1074,25 +1074,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1074
1074
  deletable?: boolean;
1075
1075
  selectable?: boolean;
1076
1076
  selected?: boolean;
1077
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1078
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1077
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1078
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1079
1079
  zIndex?: number;
1080
1080
  ariaLabel?: string;
1081
1081
  interactionWidth?: number;
1082
- label?: import("react").ReactNode;
1083
- labelStyle?: import("react").CSSProperties;
1082
+ label?: import('react').ReactNode;
1083
+ labelStyle?: import('react').CSSProperties;
1084
1084
  labelShowBg?: boolean;
1085
- labelBgStyle?: import("react").CSSProperties;
1085
+ labelBgStyle?: import('react').CSSProperties;
1086
1086
  labelBgPadding?: [number, number];
1087
1087
  labelBgBorderRadius?: number;
1088
- style?: import("react").CSSProperties;
1088
+ style?: import('react').CSSProperties;
1089
1089
  className?: string;
1090
- updatable?: import("@xyflow/react").EdgeUpdatable;
1090
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1091
1091
  focusable?: boolean;
1092
- data: import("..").RelationshipData;
1092
+ data: import('..').RelationshipData;
1093
1093
  readonly id: string;
1094
1094
  readonly type: "relationship";
1095
- }>, prevState: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1095
+ }>, prevState: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1096
1096
  source: string;
1097
1097
  target: string;
1098
1098
  sourceHandle?: string | null;
@@ -1102,22 +1102,22 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1102
1102
  deletable?: boolean;
1103
1103
  selectable?: boolean;
1104
1104
  selected?: boolean;
1105
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1106
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1105
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1106
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1107
1107
  zIndex?: number;
1108
1108
  ariaLabel?: string;
1109
1109
  interactionWidth?: number;
1110
- label?: import("react").ReactNode;
1111
- labelStyle?: import("react").CSSProperties;
1110
+ label?: import('react').ReactNode;
1111
+ labelStyle?: import('react').CSSProperties;
1112
1112
  labelShowBg?: boolean;
1113
- labelBgStyle?: import("react").CSSProperties;
1113
+ labelBgStyle?: import('react').CSSProperties;
1114
1114
  labelBgPadding?: [number, number];
1115
1115
  labelBgBorderRadius?: number;
1116
- style?: import("react").CSSProperties;
1116
+ style?: import('react').CSSProperties;
1117
1117
  className?: string;
1118
- updatable?: import("@xyflow/react").EdgeUpdatable;
1118
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1119
1119
  focusable?: boolean;
1120
- data: import("..").RelationshipData;
1120
+ data: import('..').RelationshipData;
1121
1121
  readonly id: string;
1122
1122
  readonly type: "relationship";
1123
1123
  }>) => void) => () => void;
@@ -1133,7 +1133,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1133
1133
  setState<A extends string | {
1134
1134
  type: string;
1135
1135
  }>(partial: {
1136
- view: import("@likec4/core").DiagramView;
1136
+ view: import('@likec4/core').DiagramView;
1137
1137
  readonly: boolean;
1138
1138
  showElementLinks: boolean;
1139
1139
  fitViewEnabled: boolean;
@@ -1142,7 +1142,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1142
1142
  pannable: boolean;
1143
1143
  nodesDraggable: boolean;
1144
1144
  nodesSelectable: boolean;
1145
- xyflow: import("..").XYFlowInstance;
1145
+ xyflow: import('..').XYFlowInstance;
1146
1146
  initialized: boolean;
1147
1147
  xyflowSynced: boolean;
1148
1148
  activeDynamicViewStep: number | null;
@@ -1152,37 +1152,37 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1152
1152
  hoveredNodeId: string | null;
1153
1153
  hoveredEdgeId: string | null;
1154
1154
  dimmed: ReadonlySet<string>;
1155
- previousViews: import("@likec4/core").DiagramView[];
1155
+ previousViews: import('@likec4/core').DiagramView[];
1156
1156
  lastOnNavigate: {
1157
- fromView: import("@likec4/core").ViewID;
1158
- toView: import("@likec4/core").ViewID;
1159
- element: import("@likec4/core").DiagramNode;
1160
- elementCenterScreenPosition: import("@xyflow/system").XYPosition;
1157
+ fromView: import('@likec4/core').ViewID;
1158
+ toView: import('@likec4/core').ViewID;
1159
+ element: import('@likec4/core').DiagramNode;
1160
+ elementCenterScreenPosition: import('@xyflow/system').XYPosition;
1161
1161
  positionCorrected: boolean;
1162
1162
  } | null;
1163
1163
  viewportChanged: boolean;
1164
- onChange: import("..").OnChange | null | undefined;
1165
- onNavigateTo: import("..").OnNavigateTo | null | undefined;
1166
- onNodeClick: import("..").OnNodeClick | null | undefined;
1167
- onNodeContextMenu: import("..").OnNodeClick | null | undefined;
1168
- onCanvasContextMenu: import("..").OnCanvasClick | null | undefined;
1169
- onEdgeClick: import("..").OnEdgeClick | null | undefined;
1170
- onEdgeContextMenu: import("..").OnEdgeClick | null | undefined;
1171
- onCanvasClick: import("..").OnCanvasClick | null | undefined;
1172
- onCanvasDblClick: import("..").OnCanvasClick | null | undefined;
1164
+ onChange: import('..').OnChange | null | undefined;
1165
+ onNavigateTo: import('..').OnNavigateTo | null | undefined;
1166
+ onNodeClick: import('..').OnNodeClick | null | undefined;
1167
+ onNodeContextMenu: import('..').OnNodeClick | null | undefined;
1168
+ onCanvasContextMenu: import('..').OnCanvasClick | null | undefined;
1169
+ onEdgeClick: import('..').OnEdgeClick | null | undefined;
1170
+ onEdgeContextMenu: import('..').OnEdgeClick | null | undefined;
1171
+ onCanvasClick: import('..').OnCanvasClick | null | undefined;
1172
+ onCanvasDblClick: import('..').OnCanvasClick | null | undefined;
1173
1173
  isDynamicView: () => boolean;
1174
- updateView: (view: import("@likec4/core").DiagramView) => void;
1174
+ updateView: (view: import('@likec4/core').DiagramView) => void;
1175
1175
  focusOnNode: (nodeId: string) => void;
1176
1176
  setHoveredNode: (nodeId: string | null) => void;
1177
1177
  setHoveredEdge: (edgeId: string | null) => void;
1178
1178
  setLastClickedNode: (nodeId: string | null) => void;
1179
1179
  setLastClickedEdge: (edgeId: string | null) => void;
1180
1180
  resetLastClicked: () => void;
1181
- getElement: (id: import("@likec4/core").Fqn) => import("@likec4/core").DiagramNode | null;
1182
- triggerOnChange: (changes: import("@likec4/core").NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
1183
- triggerOnNavigateTo: (xynodeId: string, event: import("react").MouseEvent<Element, MouseEvent>) => void;
1181
+ getElement: (id: import('@likec4/core').Fqn) => import('@likec4/core').DiagramNode | null;
1182
+ triggerOnChange: (changes: import('@likec4/core').NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
1183
+ triggerOnNavigateTo: (xynodeId: string, event: import('react').MouseEvent<Element, MouseEvent>) => void;
1184
1184
  fitDiagram: (xyStore: {
1185
- getState: () => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1185
+ getState: () => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1186
1186
  source: string;
1187
1187
  target: string;
1188
1188
  sourceHandle?: string | null;
@@ -1192,26 +1192,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1192
1192
  deletable?: boolean;
1193
1193
  selectable?: boolean;
1194
1194
  selected?: boolean;
1195
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1196
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1195
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1196
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1197
1197
  zIndex?: number;
1198
1198
  ariaLabel?: string;
1199
1199
  interactionWidth?: number;
1200
- label?: import("react").ReactNode;
1201
- labelStyle?: import("react").CSSProperties;
1200
+ label?: import('react').ReactNode;
1201
+ labelStyle?: import('react').CSSProperties;
1202
1202
  labelShowBg?: boolean;
1203
- labelBgStyle?: import("react").CSSProperties;
1203
+ labelBgStyle?: import('react').CSSProperties;
1204
1204
  labelBgPadding?: [number, number];
1205
1205
  labelBgBorderRadius?: number;
1206
- style?: import("react").CSSProperties;
1206
+ style?: import('react').CSSProperties;
1207
1207
  className?: string;
1208
- updatable?: import("@xyflow/react").EdgeUpdatable;
1208
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1209
1209
  focusable?: boolean;
1210
- data: import("..").RelationshipData;
1210
+ data: import('..').RelationshipData;
1211
1211
  readonly id: string;
1212
1212
  readonly type: "relationship";
1213
1213
  }>;
1214
- setState: (partial: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1214
+ setState: (partial: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1215
1215
  source: string;
1216
1216
  target: string;
1217
1217
  sourceHandle?: string | null;
@@ -1221,25 +1221,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1221
1221
  deletable?: boolean;
1222
1222
  selectable?: boolean;
1223
1223
  selected?: boolean;
1224
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1225
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1224
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1225
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1226
1226
  zIndex?: number;
1227
1227
  ariaLabel?: string;
1228
1228
  interactionWidth?: number;
1229
- label?: import("react").ReactNode;
1230
- labelStyle?: import("react").CSSProperties;
1229
+ label?: import('react').ReactNode;
1230
+ labelStyle?: import('react').CSSProperties;
1231
1231
  labelShowBg?: boolean;
1232
- labelBgStyle?: import("react").CSSProperties;
1232
+ labelBgStyle?: import('react').CSSProperties;
1233
1233
  labelBgPadding?: [number, number];
1234
1234
  labelBgBorderRadius?: number;
1235
- style?: import("react").CSSProperties;
1235
+ style?: import('react').CSSProperties;
1236
1236
  className?: string;
1237
- updatable?: import("@xyflow/react").EdgeUpdatable;
1237
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1238
1238
  focusable?: boolean;
1239
- data: import("..").RelationshipData;
1239
+ data: import('..').RelationshipData;
1240
1240
  readonly id: string;
1241
1241
  readonly type: "relationship";
1242
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1242
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1243
1243
  source: string;
1244
1244
  target: string;
1245
1245
  sourceHandle?: string | null;
@@ -1249,25 +1249,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1249
1249
  deletable?: boolean;
1250
1250
  selectable?: boolean;
1251
1251
  selected?: boolean;
1252
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1253
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1252
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1253
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1254
1254
  zIndex?: number;
1255
1255
  ariaLabel?: string;
1256
1256
  interactionWidth?: number;
1257
- label?: import("react").ReactNode;
1258
- labelStyle?: import("react").CSSProperties;
1257
+ label?: import('react').ReactNode;
1258
+ labelStyle?: import('react').CSSProperties;
1259
1259
  labelShowBg?: boolean;
1260
- labelBgStyle?: import("react").CSSProperties;
1260
+ labelBgStyle?: import('react').CSSProperties;
1261
1261
  labelBgPadding?: [number, number];
1262
1262
  labelBgBorderRadius?: number;
1263
- style?: import("react").CSSProperties;
1263
+ style?: import('react').CSSProperties;
1264
1264
  className?: string;
1265
- updatable?: import("@xyflow/react").EdgeUpdatable;
1265
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1266
1266
  focusable?: boolean;
1267
- data: import("..").RelationshipData;
1267
+ data: import('..').RelationshipData;
1268
1268
  readonly id: string;
1269
1269
  readonly type: "relationship";
1270
- }>> | ((state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1270
+ }>> | ((state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1271
1271
  source: string;
1272
1272
  target: string;
1273
1273
  sourceHandle?: string | null;
@@ -1277,25 +1277,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1277
1277
  deletable?: boolean;
1278
1278
  selectable?: boolean;
1279
1279
  selected?: boolean;
1280
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1281
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1280
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1281
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1282
1282
  zIndex?: number;
1283
1283
  ariaLabel?: string;
1284
1284
  interactionWidth?: number;
1285
- label?: import("react").ReactNode;
1286
- labelStyle?: import("react").CSSProperties;
1285
+ label?: import('react').ReactNode;
1286
+ labelStyle?: import('react').CSSProperties;
1287
1287
  labelShowBg?: boolean;
1288
- labelBgStyle?: import("react").CSSProperties;
1288
+ labelBgStyle?: import('react').CSSProperties;
1289
1289
  labelBgPadding?: [number, number];
1290
1290
  labelBgBorderRadius?: number;
1291
- style?: import("react").CSSProperties;
1291
+ style?: import('react').CSSProperties;
1292
1292
  className?: string;
1293
- updatable?: import("@xyflow/react").EdgeUpdatable;
1293
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1294
1294
  focusable?: boolean;
1295
- data: import("..").RelationshipData;
1295
+ data: import('..').RelationshipData;
1296
1296
  readonly id: string;
1297
1297
  readonly type: "relationship";
1298
- }>) => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1298
+ }>) => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1299
1299
  source: string;
1300
1300
  target: string;
1301
1301
  sourceHandle?: string | null;
@@ -1305,25 +1305,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1305
1305
  deletable?: boolean;
1306
1306
  selectable?: boolean;
1307
1307
  selected?: boolean;
1308
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1309
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1308
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1309
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1310
1310
  zIndex?: number;
1311
1311
  ariaLabel?: string;
1312
1312
  interactionWidth?: number;
1313
- label?: import("react").ReactNode;
1314
- labelStyle?: import("react").CSSProperties;
1313
+ label?: import('react').ReactNode;
1314
+ labelStyle?: import('react').CSSProperties;
1315
1315
  labelShowBg?: boolean;
1316
- labelBgStyle?: import("react").CSSProperties;
1316
+ labelBgStyle?: import('react').CSSProperties;
1317
1317
  labelBgPadding?: [number, number];
1318
1318
  labelBgBorderRadius?: number;
1319
- style?: import("react").CSSProperties;
1319
+ style?: import('react').CSSProperties;
1320
1320
  className?: string;
1321
- updatable?: import("@xyflow/react").EdgeUpdatable;
1321
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1322
1322
  focusable?: boolean;
1323
- data: import("..").RelationshipData;
1323
+ data: import('..').RelationshipData;
1324
1324
  readonly id: string;
1325
1325
  readonly type: "relationship";
1326
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1326
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1327
1327
  source: string;
1328
1328
  target: string;
1329
1329
  sourceHandle?: string | null;
@@ -1333,26 +1333,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1333
1333
  deletable?: boolean;
1334
1334
  selectable?: boolean;
1335
1335
  selected?: boolean;
1336
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1337
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1336
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1337
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1338
1338
  zIndex?: number;
1339
1339
  ariaLabel?: string;
1340
1340
  interactionWidth?: number;
1341
- label?: import("react").ReactNode;
1342
- labelStyle?: import("react").CSSProperties;
1341
+ label?: import('react').ReactNode;
1342
+ labelStyle?: import('react').CSSProperties;
1343
1343
  labelShowBg?: boolean;
1344
- labelBgStyle?: import("react").CSSProperties;
1344
+ labelBgStyle?: import('react').CSSProperties;
1345
1345
  labelBgPadding?: [number, number];
1346
1346
  labelBgBorderRadius?: number;
1347
- style?: import("react").CSSProperties;
1347
+ style?: import('react').CSSProperties;
1348
1348
  className?: string;
1349
- updatable?: import("@xyflow/react").EdgeUpdatable;
1349
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1350
1350
  focusable?: boolean;
1351
- data: import("..").RelationshipData;
1351
+ data: import('..').RelationshipData;
1352
1352
  readonly id: string;
1353
1353
  readonly type: "relationship";
1354
1354
  }>>), replace?: boolean | undefined) => void;
1355
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1355
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1356
1356
  source: string;
1357
1357
  target: string;
1358
1358
  sourceHandle?: string | null;
@@ -1362,25 +1362,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1362
1362
  deletable?: boolean;
1363
1363
  selectable?: boolean;
1364
1364
  selected?: boolean;
1365
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1366
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1365
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1366
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1367
1367
  zIndex?: number;
1368
1368
  ariaLabel?: string;
1369
1369
  interactionWidth?: number;
1370
- label?: import("react").ReactNode;
1371
- labelStyle?: import("react").CSSProperties;
1370
+ label?: import('react').ReactNode;
1371
+ labelStyle?: import('react').CSSProperties;
1372
1372
  labelShowBg?: boolean;
1373
- labelBgStyle?: import("react").CSSProperties;
1373
+ labelBgStyle?: import('react').CSSProperties;
1374
1374
  labelBgPadding?: [number, number];
1375
1375
  labelBgBorderRadius?: number;
1376
- style?: import("react").CSSProperties;
1376
+ style?: import('react').CSSProperties;
1377
1377
  className?: string;
1378
- updatable?: import("@xyflow/react").EdgeUpdatable;
1378
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1379
1379
  focusable?: boolean;
1380
- data: import("..").RelationshipData;
1380
+ data: import('..').RelationshipData;
1381
1381
  readonly id: string;
1382
1382
  readonly type: "relationship";
1383
- }>, prevState: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1383
+ }>, prevState: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1384
1384
  source: string;
1385
1385
  target: string;
1386
1386
  sourceHandle?: string | null;
@@ -1390,22 +1390,22 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1390
1390
  deletable?: boolean;
1391
1391
  selectable?: boolean;
1392
1392
  selected?: boolean;
1393
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1394
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1393
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1394
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1395
1395
  zIndex?: number;
1396
1396
  ariaLabel?: string;
1397
1397
  interactionWidth?: number;
1398
- label?: import("react").ReactNode;
1399
- labelStyle?: import("react").CSSProperties;
1398
+ label?: import('react').ReactNode;
1399
+ labelStyle?: import('react').CSSProperties;
1400
1400
  labelShowBg?: boolean;
1401
- labelBgStyle?: import("react").CSSProperties;
1401
+ labelBgStyle?: import('react').CSSProperties;
1402
1402
  labelBgPadding?: [number, number];
1403
1403
  labelBgBorderRadius?: number;
1404
- style?: import("react").CSSProperties;
1404
+ style?: import('react').CSSProperties;
1405
1405
  className?: string;
1406
- updatable?: import("@xyflow/react").EdgeUpdatable;
1406
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1407
1407
  focusable?: boolean;
1408
- data: import("..").RelationshipData;
1408
+ data: import('..').RelationshipData;
1409
1409
  readonly id: string;
1410
1410
  readonly type: "relationship";
1411
1411
  }>) => void) => () => void;
@@ -1413,7 +1413,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1413
1413
  nextDynamicStep: (increment?: number | undefined) => void;
1414
1414
  stopDynamicView: () => void;
1415
1415
  } | Partial<{
1416
- view: import("@likec4/core").DiagramView;
1416
+ view: import('@likec4/core').DiagramView;
1417
1417
  readonly: boolean;
1418
1418
  showElementLinks: boolean;
1419
1419
  fitViewEnabled: boolean;
@@ -1422,7 +1422,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1422
1422
  pannable: boolean;
1423
1423
  nodesDraggable: boolean;
1424
1424
  nodesSelectable: boolean;
1425
- xyflow: import("..").XYFlowInstance;
1425
+ xyflow: import('..').XYFlowInstance;
1426
1426
  initialized: boolean;
1427
1427
  xyflowSynced: boolean;
1428
1428
  activeDynamicViewStep: number | null;
@@ -1432,37 +1432,37 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1432
1432
  hoveredNodeId: string | null;
1433
1433
  hoveredEdgeId: string | null;
1434
1434
  dimmed: ReadonlySet<string>;
1435
- previousViews: import("@likec4/core").DiagramView[];
1435
+ previousViews: import('@likec4/core').DiagramView[];
1436
1436
  lastOnNavigate: {
1437
- fromView: import("@likec4/core").ViewID;
1438
- toView: import("@likec4/core").ViewID;
1439
- element: import("@likec4/core").DiagramNode;
1440
- elementCenterScreenPosition: import("@xyflow/system").XYPosition;
1437
+ fromView: import('@likec4/core').ViewID;
1438
+ toView: import('@likec4/core').ViewID;
1439
+ element: import('@likec4/core').DiagramNode;
1440
+ elementCenterScreenPosition: import('@xyflow/system').XYPosition;
1441
1441
  positionCorrected: boolean;
1442
1442
  } | null;
1443
1443
  viewportChanged: boolean;
1444
- onChange: import("..").OnChange | null | undefined;
1445
- onNavigateTo: import("..").OnNavigateTo | null | undefined;
1446
- onNodeClick: import("..").OnNodeClick | null | undefined;
1447
- onNodeContextMenu: import("..").OnNodeClick | null | undefined;
1448
- onCanvasContextMenu: import("..").OnCanvasClick | null | undefined;
1449
- onEdgeClick: import("..").OnEdgeClick | null | undefined;
1450
- onEdgeContextMenu: import("..").OnEdgeClick | null | undefined;
1451
- onCanvasClick: import("..").OnCanvasClick | null | undefined;
1452
- onCanvasDblClick: import("..").OnCanvasClick | null | undefined;
1444
+ onChange: import('..').OnChange | null | undefined;
1445
+ onNavigateTo: import('..').OnNavigateTo | null | undefined;
1446
+ onNodeClick: import('..').OnNodeClick | null | undefined;
1447
+ onNodeContextMenu: import('..').OnNodeClick | null | undefined;
1448
+ onCanvasContextMenu: import('..').OnCanvasClick | null | undefined;
1449
+ onEdgeClick: import('..').OnEdgeClick | null | undefined;
1450
+ onEdgeContextMenu: import('..').OnEdgeClick | null | undefined;
1451
+ onCanvasClick: import('..').OnCanvasClick | null | undefined;
1452
+ onCanvasDblClick: import('..').OnCanvasClick | null | undefined;
1453
1453
  isDynamicView: () => boolean;
1454
- updateView: (view: import("@likec4/core").DiagramView) => void;
1454
+ updateView: (view: import('@likec4/core').DiagramView) => void;
1455
1455
  focusOnNode: (nodeId: string) => void;
1456
1456
  setHoveredNode: (nodeId: string | null) => void;
1457
1457
  setHoveredEdge: (edgeId: string | null) => void;
1458
1458
  setLastClickedNode: (nodeId: string | null) => void;
1459
1459
  setLastClickedEdge: (edgeId: string | null) => void;
1460
1460
  resetLastClicked: () => void;
1461
- getElement: (id: import("@likec4/core").Fqn) => import("@likec4/core").DiagramNode | null;
1462
- triggerOnChange: (changes: import("@likec4/core").NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
1463
- triggerOnNavigateTo: (xynodeId: string, event: import("react").MouseEvent<Element, MouseEvent>) => void;
1461
+ getElement: (id: import('@likec4/core').Fqn) => import('@likec4/core').DiagramNode | null;
1462
+ triggerOnChange: (changes: import('@likec4/core').NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
1463
+ triggerOnNavigateTo: (xynodeId: string, event: import('react').MouseEvent<Element, MouseEvent>) => void;
1464
1464
  fitDiagram: (xyStore: {
1465
- getState: () => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1465
+ getState: () => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1466
1466
  source: string;
1467
1467
  target: string;
1468
1468
  sourceHandle?: string | null;
@@ -1472,26 +1472,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1472
1472
  deletable?: boolean;
1473
1473
  selectable?: boolean;
1474
1474
  selected?: boolean;
1475
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1476
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1475
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1476
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1477
1477
  zIndex?: number;
1478
1478
  ariaLabel?: string;
1479
1479
  interactionWidth?: number;
1480
- label?: import("react").ReactNode;
1481
- labelStyle?: import("react").CSSProperties;
1480
+ label?: import('react').ReactNode;
1481
+ labelStyle?: import('react').CSSProperties;
1482
1482
  labelShowBg?: boolean;
1483
- labelBgStyle?: import("react").CSSProperties;
1483
+ labelBgStyle?: import('react').CSSProperties;
1484
1484
  labelBgPadding?: [number, number];
1485
1485
  labelBgBorderRadius?: number;
1486
- style?: import("react").CSSProperties;
1486
+ style?: import('react').CSSProperties;
1487
1487
  className?: string;
1488
- updatable?: import("@xyflow/react").EdgeUpdatable;
1488
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1489
1489
  focusable?: boolean;
1490
- data: import("..").RelationshipData;
1490
+ data: import('..').RelationshipData;
1491
1491
  readonly id: string;
1492
1492
  readonly type: "relationship";
1493
1493
  }>;
1494
- setState: (partial: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1494
+ setState: (partial: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1495
1495
  source: string;
1496
1496
  target: string;
1497
1497
  sourceHandle?: string | null;
@@ -1501,25 +1501,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1501
1501
  deletable?: boolean;
1502
1502
  selectable?: boolean;
1503
1503
  selected?: boolean;
1504
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1505
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1504
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1505
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1506
1506
  zIndex?: number;
1507
1507
  ariaLabel?: string;
1508
1508
  interactionWidth?: number;
1509
- label?: import("react").ReactNode;
1510
- labelStyle?: import("react").CSSProperties;
1509
+ label?: import('react').ReactNode;
1510
+ labelStyle?: import('react').CSSProperties;
1511
1511
  labelShowBg?: boolean;
1512
- labelBgStyle?: import("react").CSSProperties;
1512
+ labelBgStyle?: import('react').CSSProperties;
1513
1513
  labelBgPadding?: [number, number];
1514
1514
  labelBgBorderRadius?: number;
1515
- style?: import("react").CSSProperties;
1515
+ style?: import('react').CSSProperties;
1516
1516
  className?: string;
1517
- updatable?: import("@xyflow/react").EdgeUpdatable;
1517
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1518
1518
  focusable?: boolean;
1519
- data: import("..").RelationshipData;
1519
+ data: import('..').RelationshipData;
1520
1520
  readonly id: string;
1521
1521
  readonly type: "relationship";
1522
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1522
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1523
1523
  source: string;
1524
1524
  target: string;
1525
1525
  sourceHandle?: string | null;
@@ -1529,25 +1529,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1529
1529
  deletable?: boolean;
1530
1530
  selectable?: boolean;
1531
1531
  selected?: boolean;
1532
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1533
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1532
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1533
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1534
1534
  zIndex?: number;
1535
1535
  ariaLabel?: string;
1536
1536
  interactionWidth?: number;
1537
- label?: import("react").ReactNode;
1538
- labelStyle?: import("react").CSSProperties;
1537
+ label?: import('react').ReactNode;
1538
+ labelStyle?: import('react').CSSProperties;
1539
1539
  labelShowBg?: boolean;
1540
- labelBgStyle?: import("react").CSSProperties;
1540
+ labelBgStyle?: import('react').CSSProperties;
1541
1541
  labelBgPadding?: [number, number];
1542
1542
  labelBgBorderRadius?: number;
1543
- style?: import("react").CSSProperties;
1543
+ style?: import('react').CSSProperties;
1544
1544
  className?: string;
1545
- updatable?: import("@xyflow/react").EdgeUpdatable;
1545
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1546
1546
  focusable?: boolean;
1547
- data: import("..").RelationshipData;
1547
+ data: import('..').RelationshipData;
1548
1548
  readonly id: string;
1549
1549
  readonly type: "relationship";
1550
- }>> | ((state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1550
+ }>> | ((state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1551
1551
  source: string;
1552
1552
  target: string;
1553
1553
  sourceHandle?: string | null;
@@ -1557,25 +1557,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1557
1557
  deletable?: boolean;
1558
1558
  selectable?: boolean;
1559
1559
  selected?: boolean;
1560
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1561
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1560
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1561
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1562
1562
  zIndex?: number;
1563
1563
  ariaLabel?: string;
1564
1564
  interactionWidth?: number;
1565
- label?: import("react").ReactNode;
1566
- labelStyle?: import("react").CSSProperties;
1565
+ label?: import('react').ReactNode;
1566
+ labelStyle?: import('react').CSSProperties;
1567
1567
  labelShowBg?: boolean;
1568
- labelBgStyle?: import("react").CSSProperties;
1568
+ labelBgStyle?: import('react').CSSProperties;
1569
1569
  labelBgPadding?: [number, number];
1570
1570
  labelBgBorderRadius?: number;
1571
- style?: import("react").CSSProperties;
1571
+ style?: import('react').CSSProperties;
1572
1572
  className?: string;
1573
- updatable?: import("@xyflow/react").EdgeUpdatable;
1573
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1574
1574
  focusable?: boolean;
1575
- data: import("..").RelationshipData;
1575
+ data: import('..').RelationshipData;
1576
1576
  readonly id: string;
1577
1577
  readonly type: "relationship";
1578
- }>) => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1578
+ }>) => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1579
1579
  source: string;
1580
1580
  target: string;
1581
1581
  sourceHandle?: string | null;
@@ -1585,25 +1585,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1585
1585
  deletable?: boolean;
1586
1586
  selectable?: boolean;
1587
1587
  selected?: boolean;
1588
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1589
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1588
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1589
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1590
1590
  zIndex?: number;
1591
1591
  ariaLabel?: string;
1592
1592
  interactionWidth?: number;
1593
- label?: import("react").ReactNode;
1594
- labelStyle?: import("react").CSSProperties;
1593
+ label?: import('react').ReactNode;
1594
+ labelStyle?: import('react').CSSProperties;
1595
1595
  labelShowBg?: boolean;
1596
- labelBgStyle?: import("react").CSSProperties;
1596
+ labelBgStyle?: import('react').CSSProperties;
1597
1597
  labelBgPadding?: [number, number];
1598
1598
  labelBgBorderRadius?: number;
1599
- style?: import("react").CSSProperties;
1599
+ style?: import('react').CSSProperties;
1600
1600
  className?: string;
1601
- updatable?: import("@xyflow/react").EdgeUpdatable;
1601
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1602
1602
  focusable?: boolean;
1603
- data: import("..").RelationshipData;
1603
+ data: import('..').RelationshipData;
1604
1604
  readonly id: string;
1605
1605
  readonly type: "relationship";
1606
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1606
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1607
1607
  source: string;
1608
1608
  target: string;
1609
1609
  sourceHandle?: string | null;
@@ -1613,26 +1613,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1613
1613
  deletable?: boolean;
1614
1614
  selectable?: boolean;
1615
1615
  selected?: boolean;
1616
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1617
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1616
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1617
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1618
1618
  zIndex?: number;
1619
1619
  ariaLabel?: string;
1620
1620
  interactionWidth?: number;
1621
- label?: import("react").ReactNode;
1622
- labelStyle?: import("react").CSSProperties;
1621
+ label?: import('react').ReactNode;
1622
+ labelStyle?: import('react').CSSProperties;
1623
1623
  labelShowBg?: boolean;
1624
- labelBgStyle?: import("react").CSSProperties;
1624
+ labelBgStyle?: import('react').CSSProperties;
1625
1625
  labelBgPadding?: [number, number];
1626
1626
  labelBgBorderRadius?: number;
1627
- style?: import("react").CSSProperties;
1627
+ style?: import('react').CSSProperties;
1628
1628
  className?: string;
1629
- updatable?: import("@xyflow/react").EdgeUpdatable;
1629
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1630
1630
  focusable?: boolean;
1631
- data: import("..").RelationshipData;
1631
+ data: import('..').RelationshipData;
1632
1632
  readonly id: string;
1633
1633
  readonly type: "relationship";
1634
1634
  }>>), replace?: boolean | undefined) => void;
1635
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1635
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1636
1636
  source: string;
1637
1637
  target: string;
1638
1638
  sourceHandle?: string | null;
@@ -1642,25 +1642,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1642
1642
  deletable?: boolean;
1643
1643
  selectable?: boolean;
1644
1644
  selected?: boolean;
1645
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1646
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1645
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1646
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1647
1647
  zIndex?: number;
1648
1648
  ariaLabel?: string;
1649
1649
  interactionWidth?: number;
1650
- label?: import("react").ReactNode;
1651
- labelStyle?: import("react").CSSProperties;
1650
+ label?: import('react').ReactNode;
1651
+ labelStyle?: import('react').CSSProperties;
1652
1652
  labelShowBg?: boolean;
1653
- labelBgStyle?: import("react").CSSProperties;
1653
+ labelBgStyle?: import('react').CSSProperties;
1654
1654
  labelBgPadding?: [number, number];
1655
1655
  labelBgBorderRadius?: number;
1656
- style?: import("react").CSSProperties;
1656
+ style?: import('react').CSSProperties;
1657
1657
  className?: string;
1658
- updatable?: import("@xyflow/react").EdgeUpdatable;
1658
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1659
1659
  focusable?: boolean;
1660
- data: import("..").RelationshipData;
1660
+ data: import('..').RelationshipData;
1661
1661
  readonly id: string;
1662
1662
  readonly type: "relationship";
1663
- }>, prevState: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1663
+ }>, prevState: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1664
1664
  source: string;
1665
1665
  target: string;
1666
1666
  sourceHandle?: string | null;
@@ -1670,22 +1670,22 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1670
1670
  deletable?: boolean;
1671
1671
  selectable?: boolean;
1672
1672
  selected?: boolean;
1673
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1674
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1673
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1674
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1675
1675
  zIndex?: number;
1676
1676
  ariaLabel?: string;
1677
1677
  interactionWidth?: number;
1678
- label?: import("react").ReactNode;
1679
- labelStyle?: import("react").CSSProperties;
1678
+ label?: import('react').ReactNode;
1679
+ labelStyle?: import('react').CSSProperties;
1680
1680
  labelShowBg?: boolean;
1681
- labelBgStyle?: import("react").CSSProperties;
1681
+ labelBgStyle?: import('react').CSSProperties;
1682
1682
  labelBgPadding?: [number, number];
1683
1683
  labelBgBorderRadius?: number;
1684
- style?: import("react").CSSProperties;
1684
+ style?: import('react').CSSProperties;
1685
1685
  className?: string;
1686
- updatable?: import("@xyflow/react").EdgeUpdatable;
1686
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1687
1687
  focusable?: boolean;
1688
- data: import("..").RelationshipData;
1688
+ data: import('..').RelationshipData;
1689
1689
  readonly id: string;
1690
1690
  readonly type: "relationship";
1691
1691
  }>) => void) => () => void;
@@ -1693,7 +1693,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1693
1693
  nextDynamicStep: (increment?: number | undefined) => void;
1694
1694
  stopDynamicView: () => void;
1695
1695
  }> | ((state: {
1696
- view: import("@likec4/core").DiagramView;
1696
+ view: import('@likec4/core').DiagramView;
1697
1697
  readonly: boolean;
1698
1698
  showElementLinks: boolean;
1699
1699
  fitViewEnabled: boolean;
@@ -1702,7 +1702,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1702
1702
  pannable: boolean;
1703
1703
  nodesDraggable: boolean;
1704
1704
  nodesSelectable: boolean;
1705
- xyflow: import("..").XYFlowInstance;
1705
+ xyflow: import('..').XYFlowInstance;
1706
1706
  initialized: boolean;
1707
1707
  xyflowSynced: boolean;
1708
1708
  activeDynamicViewStep: number | null;
@@ -1712,37 +1712,37 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1712
1712
  hoveredNodeId: string | null;
1713
1713
  hoveredEdgeId: string | null;
1714
1714
  dimmed: ReadonlySet<string>;
1715
- previousViews: import("@likec4/core").DiagramView[];
1715
+ previousViews: import('@likec4/core').DiagramView[];
1716
1716
  lastOnNavigate: {
1717
- fromView: import("@likec4/core").ViewID;
1718
- toView: import("@likec4/core").ViewID;
1719
- element: import("@likec4/core").DiagramNode;
1720
- elementCenterScreenPosition: import("@xyflow/system").XYPosition;
1717
+ fromView: import('@likec4/core').ViewID;
1718
+ toView: import('@likec4/core').ViewID;
1719
+ element: import('@likec4/core').DiagramNode;
1720
+ elementCenterScreenPosition: import('@xyflow/system').XYPosition;
1721
1721
  positionCorrected: boolean;
1722
1722
  } | null;
1723
1723
  viewportChanged: boolean;
1724
- onChange: import("..").OnChange | null | undefined;
1725
- onNavigateTo: import("..").OnNavigateTo | null | undefined;
1726
- onNodeClick: import("..").OnNodeClick | null | undefined;
1727
- onNodeContextMenu: import("..").OnNodeClick | null | undefined;
1728
- onCanvasContextMenu: import("..").OnCanvasClick | null | undefined;
1729
- onEdgeClick: import("..").OnEdgeClick | null | undefined;
1730
- onEdgeContextMenu: import("..").OnEdgeClick | null | undefined;
1731
- onCanvasClick: import("..").OnCanvasClick | null | undefined;
1732
- onCanvasDblClick: import("..").OnCanvasClick | null | undefined;
1724
+ onChange: import('..').OnChange | null | undefined;
1725
+ onNavigateTo: import('..').OnNavigateTo | null | undefined;
1726
+ onNodeClick: import('..').OnNodeClick | null | undefined;
1727
+ onNodeContextMenu: import('..').OnNodeClick | null | undefined;
1728
+ onCanvasContextMenu: import('..').OnCanvasClick | null | undefined;
1729
+ onEdgeClick: import('..').OnEdgeClick | null | undefined;
1730
+ onEdgeContextMenu: import('..').OnEdgeClick | null | undefined;
1731
+ onCanvasClick: import('..').OnCanvasClick | null | undefined;
1732
+ onCanvasDblClick: import('..').OnCanvasClick | null | undefined;
1733
1733
  isDynamicView: () => boolean;
1734
- updateView: (view: import("@likec4/core").DiagramView) => void;
1734
+ updateView: (view: import('@likec4/core').DiagramView) => void;
1735
1735
  focusOnNode: (nodeId: string) => void;
1736
1736
  setHoveredNode: (nodeId: string | null) => void;
1737
1737
  setHoveredEdge: (edgeId: string | null) => void;
1738
1738
  setLastClickedNode: (nodeId: string | null) => void;
1739
1739
  setLastClickedEdge: (edgeId: string | null) => void;
1740
1740
  resetLastClicked: () => void;
1741
- getElement: (id: import("@likec4/core").Fqn) => import("@likec4/core").DiagramNode | null;
1742
- triggerOnChange: (changes: import("@likec4/core").NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
1743
- triggerOnNavigateTo: (xynodeId: string, event: import("react").MouseEvent<Element, MouseEvent>) => void;
1741
+ getElement: (id: import('@likec4/core').Fqn) => import('@likec4/core').DiagramNode | null;
1742
+ triggerOnChange: (changes: import('@likec4/core').NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
1743
+ triggerOnNavigateTo: (xynodeId: string, event: import('react').MouseEvent<Element, MouseEvent>) => void;
1744
1744
  fitDiagram: (xyStore: {
1745
- getState: () => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1745
+ getState: () => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1746
1746
  source: string;
1747
1747
  target: string;
1748
1748
  sourceHandle?: string | null;
@@ -1752,26 +1752,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1752
1752
  deletable?: boolean;
1753
1753
  selectable?: boolean;
1754
1754
  selected?: boolean;
1755
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1756
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1755
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1756
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1757
1757
  zIndex?: number;
1758
1758
  ariaLabel?: string;
1759
1759
  interactionWidth?: number;
1760
- label?: import("react").ReactNode;
1761
- labelStyle?: import("react").CSSProperties;
1760
+ label?: import('react').ReactNode;
1761
+ labelStyle?: import('react').CSSProperties;
1762
1762
  labelShowBg?: boolean;
1763
- labelBgStyle?: import("react").CSSProperties;
1763
+ labelBgStyle?: import('react').CSSProperties;
1764
1764
  labelBgPadding?: [number, number];
1765
1765
  labelBgBorderRadius?: number;
1766
- style?: import("react").CSSProperties;
1766
+ style?: import('react').CSSProperties;
1767
1767
  className?: string;
1768
- updatable?: import("@xyflow/react").EdgeUpdatable;
1768
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1769
1769
  focusable?: boolean;
1770
- data: import("..").RelationshipData;
1770
+ data: import('..').RelationshipData;
1771
1771
  readonly id: string;
1772
1772
  readonly type: "relationship";
1773
1773
  }>;
1774
- setState: (partial: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1774
+ setState: (partial: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1775
1775
  source: string;
1776
1776
  target: string;
1777
1777
  sourceHandle?: string | null;
@@ -1781,25 +1781,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1781
1781
  deletable?: boolean;
1782
1782
  selectable?: boolean;
1783
1783
  selected?: boolean;
1784
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1785
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1784
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1785
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1786
1786
  zIndex?: number;
1787
1787
  ariaLabel?: string;
1788
1788
  interactionWidth?: number;
1789
- label?: import("react").ReactNode;
1790
- labelStyle?: import("react").CSSProperties;
1789
+ label?: import('react').ReactNode;
1790
+ labelStyle?: import('react').CSSProperties;
1791
1791
  labelShowBg?: boolean;
1792
- labelBgStyle?: import("react").CSSProperties;
1792
+ labelBgStyle?: import('react').CSSProperties;
1793
1793
  labelBgPadding?: [number, number];
1794
1794
  labelBgBorderRadius?: number;
1795
- style?: import("react").CSSProperties;
1795
+ style?: import('react').CSSProperties;
1796
1796
  className?: string;
1797
- updatable?: import("@xyflow/react").EdgeUpdatable;
1797
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1798
1798
  focusable?: boolean;
1799
- data: import("..").RelationshipData;
1799
+ data: import('..').RelationshipData;
1800
1800
  readonly id: string;
1801
1801
  readonly type: "relationship";
1802
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1802
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1803
1803
  source: string;
1804
1804
  target: string;
1805
1805
  sourceHandle?: string | null;
@@ -1809,25 +1809,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1809
1809
  deletable?: boolean;
1810
1810
  selectable?: boolean;
1811
1811
  selected?: boolean;
1812
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1813
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1812
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1813
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1814
1814
  zIndex?: number;
1815
1815
  ariaLabel?: string;
1816
1816
  interactionWidth?: number;
1817
- label?: import("react").ReactNode;
1818
- labelStyle?: import("react").CSSProperties;
1817
+ label?: import('react').ReactNode;
1818
+ labelStyle?: import('react').CSSProperties;
1819
1819
  labelShowBg?: boolean;
1820
- labelBgStyle?: import("react").CSSProperties;
1820
+ labelBgStyle?: import('react').CSSProperties;
1821
1821
  labelBgPadding?: [number, number];
1822
1822
  labelBgBorderRadius?: number;
1823
- style?: import("react").CSSProperties;
1823
+ style?: import('react').CSSProperties;
1824
1824
  className?: string;
1825
- updatable?: import("@xyflow/react").EdgeUpdatable;
1825
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1826
1826
  focusable?: boolean;
1827
- data: import("..").RelationshipData;
1827
+ data: import('..').RelationshipData;
1828
1828
  readonly id: string;
1829
1829
  readonly type: "relationship";
1830
- }>> | ((state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1830
+ }>> | ((state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1831
1831
  source: string;
1832
1832
  target: string;
1833
1833
  sourceHandle?: string | null;
@@ -1837,25 +1837,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1837
1837
  deletable?: boolean;
1838
1838
  selectable?: boolean;
1839
1839
  selected?: boolean;
1840
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1841
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1840
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1841
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1842
1842
  zIndex?: number;
1843
1843
  ariaLabel?: string;
1844
1844
  interactionWidth?: number;
1845
- label?: import("react").ReactNode;
1846
- labelStyle?: import("react").CSSProperties;
1845
+ label?: import('react').ReactNode;
1846
+ labelStyle?: import('react').CSSProperties;
1847
1847
  labelShowBg?: boolean;
1848
- labelBgStyle?: import("react").CSSProperties;
1848
+ labelBgStyle?: import('react').CSSProperties;
1849
1849
  labelBgPadding?: [number, number];
1850
1850
  labelBgBorderRadius?: number;
1851
- style?: import("react").CSSProperties;
1851
+ style?: import('react').CSSProperties;
1852
1852
  className?: string;
1853
- updatable?: import("@xyflow/react").EdgeUpdatable;
1853
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1854
1854
  focusable?: boolean;
1855
- data: import("..").RelationshipData;
1855
+ data: import('..').RelationshipData;
1856
1856
  readonly id: string;
1857
1857
  readonly type: "relationship";
1858
- }>) => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1858
+ }>) => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1859
1859
  source: string;
1860
1860
  target: string;
1861
1861
  sourceHandle?: string | null;
@@ -1865,25 +1865,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1865
1865
  deletable?: boolean;
1866
1866
  selectable?: boolean;
1867
1867
  selected?: boolean;
1868
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1869
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1868
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1869
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1870
1870
  zIndex?: number;
1871
1871
  ariaLabel?: string;
1872
1872
  interactionWidth?: number;
1873
- label?: import("react").ReactNode;
1874
- labelStyle?: import("react").CSSProperties;
1873
+ label?: import('react').ReactNode;
1874
+ labelStyle?: import('react').CSSProperties;
1875
1875
  labelShowBg?: boolean;
1876
- labelBgStyle?: import("react").CSSProperties;
1876
+ labelBgStyle?: import('react').CSSProperties;
1877
1877
  labelBgPadding?: [number, number];
1878
1878
  labelBgBorderRadius?: number;
1879
- style?: import("react").CSSProperties;
1879
+ style?: import('react').CSSProperties;
1880
1880
  className?: string;
1881
- updatable?: import("@xyflow/react").EdgeUpdatable;
1881
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1882
1882
  focusable?: boolean;
1883
- data: import("..").RelationshipData;
1883
+ data: import('..').RelationshipData;
1884
1884
  readonly id: string;
1885
1885
  readonly type: "relationship";
1886
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1886
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1887
1887
  source: string;
1888
1888
  target: string;
1889
1889
  sourceHandle?: string | null;
@@ -1893,26 +1893,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1893
1893
  deletable?: boolean;
1894
1894
  selectable?: boolean;
1895
1895
  selected?: boolean;
1896
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1897
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1896
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1897
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1898
1898
  zIndex?: number;
1899
1899
  ariaLabel?: string;
1900
1900
  interactionWidth?: number;
1901
- label?: import("react").ReactNode;
1902
- labelStyle?: import("react").CSSProperties;
1901
+ label?: import('react').ReactNode;
1902
+ labelStyle?: import('react').CSSProperties;
1903
1903
  labelShowBg?: boolean;
1904
- labelBgStyle?: import("react").CSSProperties;
1904
+ labelBgStyle?: import('react').CSSProperties;
1905
1905
  labelBgPadding?: [number, number];
1906
1906
  labelBgBorderRadius?: number;
1907
- style?: import("react").CSSProperties;
1907
+ style?: import('react').CSSProperties;
1908
1908
  className?: string;
1909
- updatable?: import("@xyflow/react").EdgeUpdatable;
1909
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1910
1910
  focusable?: boolean;
1911
- data: import("..").RelationshipData;
1911
+ data: import('..').RelationshipData;
1912
1912
  readonly id: string;
1913
1913
  readonly type: "relationship";
1914
1914
  }>>), replace?: boolean | undefined) => void;
1915
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1915
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1916
1916
  source: string;
1917
1917
  target: string;
1918
1918
  sourceHandle?: string | null;
@@ -1922,25 +1922,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1922
1922
  deletable?: boolean;
1923
1923
  selectable?: boolean;
1924
1924
  selected?: boolean;
1925
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1926
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1925
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1926
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1927
1927
  zIndex?: number;
1928
1928
  ariaLabel?: string;
1929
1929
  interactionWidth?: number;
1930
- label?: import("react").ReactNode;
1931
- labelStyle?: import("react").CSSProperties;
1930
+ label?: import('react').ReactNode;
1931
+ labelStyle?: import('react').CSSProperties;
1932
1932
  labelShowBg?: boolean;
1933
- labelBgStyle?: import("react").CSSProperties;
1933
+ labelBgStyle?: import('react').CSSProperties;
1934
1934
  labelBgPadding?: [number, number];
1935
1935
  labelBgBorderRadius?: number;
1936
- style?: import("react").CSSProperties;
1936
+ style?: import('react').CSSProperties;
1937
1937
  className?: string;
1938
- updatable?: import("@xyflow/react").EdgeUpdatable;
1938
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1939
1939
  focusable?: boolean;
1940
- data: import("..").RelationshipData;
1940
+ data: import('..').RelationshipData;
1941
1941
  readonly id: string;
1942
1942
  readonly type: "relationship";
1943
- }>, prevState: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
1943
+ }>, prevState: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
1944
1944
  source: string;
1945
1945
  target: string;
1946
1946
  sourceHandle?: string | null;
@@ -1950,22 +1950,22 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1950
1950
  deletable?: boolean;
1951
1951
  selectable?: boolean;
1952
1952
  selected?: boolean;
1953
- markerStart?: import("@xyflow/system").EdgeMarkerType;
1954
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
1953
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
1954
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
1955
1955
  zIndex?: number;
1956
1956
  ariaLabel?: string;
1957
1957
  interactionWidth?: number;
1958
- label?: import("react").ReactNode;
1959
- labelStyle?: import("react").CSSProperties;
1958
+ label?: import('react').ReactNode;
1959
+ labelStyle?: import('react').CSSProperties;
1960
1960
  labelShowBg?: boolean;
1961
- labelBgStyle?: import("react").CSSProperties;
1961
+ labelBgStyle?: import('react').CSSProperties;
1962
1962
  labelBgPadding?: [number, number];
1963
1963
  labelBgBorderRadius?: number;
1964
- style?: import("react").CSSProperties;
1964
+ style?: import('react').CSSProperties;
1965
1965
  className?: string;
1966
- updatable?: import("@xyflow/react").EdgeUpdatable;
1966
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1967
1967
  focusable?: boolean;
1968
- data: import("..").RelationshipData;
1968
+ data: import('..').RelationshipData;
1969
1969
  readonly id: string;
1970
1970
  readonly type: "relationship";
1971
1971
  }>) => void) => () => void;
@@ -1973,7 +1973,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1973
1973
  nextDynamicStep: (increment?: number | undefined) => void;
1974
1974
  stopDynamicView: () => void;
1975
1975
  }) => {
1976
- view: import("@likec4/core").DiagramView;
1976
+ view: import('@likec4/core').DiagramView;
1977
1977
  readonly: boolean;
1978
1978
  showElementLinks: boolean;
1979
1979
  fitViewEnabled: boolean;
@@ -1982,7 +1982,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1982
1982
  pannable: boolean;
1983
1983
  nodesDraggable: boolean;
1984
1984
  nodesSelectable: boolean;
1985
- xyflow: import("..").XYFlowInstance;
1985
+ xyflow: import('..').XYFlowInstance;
1986
1986
  initialized: boolean;
1987
1987
  xyflowSynced: boolean;
1988
1988
  activeDynamicViewStep: number | null;
@@ -1992,37 +1992,37 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
1992
1992
  hoveredNodeId: string | null;
1993
1993
  hoveredEdgeId: string | null;
1994
1994
  dimmed: ReadonlySet<string>;
1995
- previousViews: import("@likec4/core").DiagramView[];
1995
+ previousViews: import('@likec4/core').DiagramView[];
1996
1996
  lastOnNavigate: {
1997
- fromView: import("@likec4/core").ViewID;
1998
- toView: import("@likec4/core").ViewID;
1999
- element: import("@likec4/core").DiagramNode;
2000
- elementCenterScreenPosition: import("@xyflow/system").XYPosition;
1997
+ fromView: import('@likec4/core').ViewID;
1998
+ toView: import('@likec4/core').ViewID;
1999
+ element: import('@likec4/core').DiagramNode;
2000
+ elementCenterScreenPosition: import('@xyflow/system').XYPosition;
2001
2001
  positionCorrected: boolean;
2002
2002
  } | null;
2003
2003
  viewportChanged: boolean;
2004
- onChange: import("..").OnChange | null | undefined;
2005
- onNavigateTo: import("..").OnNavigateTo | null | undefined;
2006
- onNodeClick: import("..").OnNodeClick | null | undefined;
2007
- onNodeContextMenu: import("..").OnNodeClick | null | undefined;
2008
- onCanvasContextMenu: import("..").OnCanvasClick | null | undefined;
2009
- onEdgeClick: import("..").OnEdgeClick | null | undefined;
2010
- onEdgeContextMenu: import("..").OnEdgeClick | null | undefined;
2011
- onCanvasClick: import("..").OnCanvasClick | null | undefined;
2012
- onCanvasDblClick: import("..").OnCanvasClick | null | undefined;
2004
+ onChange: import('..').OnChange | null | undefined;
2005
+ onNavigateTo: import('..').OnNavigateTo | null | undefined;
2006
+ onNodeClick: import('..').OnNodeClick | null | undefined;
2007
+ onNodeContextMenu: import('..').OnNodeClick | null | undefined;
2008
+ onCanvasContextMenu: import('..').OnCanvasClick | null | undefined;
2009
+ onEdgeClick: import('..').OnEdgeClick | null | undefined;
2010
+ onEdgeContextMenu: import('..').OnEdgeClick | null | undefined;
2011
+ onCanvasClick: import('..').OnCanvasClick | null | undefined;
2012
+ onCanvasDblClick: import('..').OnCanvasClick | null | undefined;
2013
2013
  isDynamicView: () => boolean;
2014
- updateView: (view: import("@likec4/core").DiagramView) => void;
2014
+ updateView: (view: import('@likec4/core').DiagramView) => void;
2015
2015
  focusOnNode: (nodeId: string) => void;
2016
2016
  setHoveredNode: (nodeId: string | null) => void;
2017
2017
  setHoveredEdge: (edgeId: string | null) => void;
2018
2018
  setLastClickedNode: (nodeId: string | null) => void;
2019
2019
  setLastClickedEdge: (edgeId: string | null) => void;
2020
2020
  resetLastClicked: () => void;
2021
- getElement: (id: import("@likec4/core").Fqn) => import("@likec4/core").DiagramNode | null;
2022
- triggerOnChange: (changes: import("@likec4/core").NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
2023
- triggerOnNavigateTo: (xynodeId: string, event: import("react").MouseEvent<Element, MouseEvent>) => void;
2021
+ getElement: (id: import('@likec4/core').Fqn) => import('@likec4/core').DiagramNode | null;
2022
+ triggerOnChange: (changes: import('@likec4/core').NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
2023
+ triggerOnNavigateTo: (xynodeId: string, event: import('react').MouseEvent<Element, MouseEvent>) => void;
2024
2024
  fitDiagram: (xyStore: {
2025
- getState: () => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2025
+ getState: () => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2026
2026
  source: string;
2027
2027
  target: string;
2028
2028
  sourceHandle?: string | null;
@@ -2032,26 +2032,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2032
2032
  deletable?: boolean;
2033
2033
  selectable?: boolean;
2034
2034
  selected?: boolean;
2035
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2036
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2035
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2036
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2037
2037
  zIndex?: number;
2038
2038
  ariaLabel?: string;
2039
2039
  interactionWidth?: number;
2040
- label?: import("react").ReactNode;
2041
- labelStyle?: import("react").CSSProperties;
2040
+ label?: import('react').ReactNode;
2041
+ labelStyle?: import('react').CSSProperties;
2042
2042
  labelShowBg?: boolean;
2043
- labelBgStyle?: import("react").CSSProperties;
2043
+ labelBgStyle?: import('react').CSSProperties;
2044
2044
  labelBgPadding?: [number, number];
2045
2045
  labelBgBorderRadius?: number;
2046
- style?: import("react").CSSProperties;
2046
+ style?: import('react').CSSProperties;
2047
2047
  className?: string;
2048
- updatable?: import("@xyflow/react").EdgeUpdatable;
2048
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2049
2049
  focusable?: boolean;
2050
- data: import("..").RelationshipData;
2050
+ data: import('..').RelationshipData;
2051
2051
  readonly id: string;
2052
2052
  readonly type: "relationship";
2053
2053
  }>;
2054
- setState: (partial: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2054
+ setState: (partial: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2055
2055
  source: string;
2056
2056
  target: string;
2057
2057
  sourceHandle?: string | null;
@@ -2061,25 +2061,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2061
2061
  deletable?: boolean;
2062
2062
  selectable?: boolean;
2063
2063
  selected?: boolean;
2064
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2065
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2064
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2065
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2066
2066
  zIndex?: number;
2067
2067
  ariaLabel?: string;
2068
2068
  interactionWidth?: number;
2069
- label?: import("react").ReactNode;
2070
- labelStyle?: import("react").CSSProperties;
2069
+ label?: import('react').ReactNode;
2070
+ labelStyle?: import('react').CSSProperties;
2071
2071
  labelShowBg?: boolean;
2072
- labelBgStyle?: import("react").CSSProperties;
2072
+ labelBgStyle?: import('react').CSSProperties;
2073
2073
  labelBgPadding?: [number, number];
2074
2074
  labelBgBorderRadius?: number;
2075
- style?: import("react").CSSProperties;
2075
+ style?: import('react').CSSProperties;
2076
2076
  className?: string;
2077
- updatable?: import("@xyflow/react").EdgeUpdatable;
2077
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2078
2078
  focusable?: boolean;
2079
- data: import("..").RelationshipData;
2079
+ data: import('..').RelationshipData;
2080
2080
  readonly id: string;
2081
2081
  readonly type: "relationship";
2082
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2082
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2083
2083
  source: string;
2084
2084
  target: string;
2085
2085
  sourceHandle?: string | null;
@@ -2089,25 +2089,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2089
2089
  deletable?: boolean;
2090
2090
  selectable?: boolean;
2091
2091
  selected?: boolean;
2092
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2093
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2092
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2093
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2094
2094
  zIndex?: number;
2095
2095
  ariaLabel?: string;
2096
2096
  interactionWidth?: number;
2097
- label?: import("react").ReactNode;
2098
- labelStyle?: import("react").CSSProperties;
2097
+ label?: import('react').ReactNode;
2098
+ labelStyle?: import('react').CSSProperties;
2099
2099
  labelShowBg?: boolean;
2100
- labelBgStyle?: import("react").CSSProperties;
2100
+ labelBgStyle?: import('react').CSSProperties;
2101
2101
  labelBgPadding?: [number, number];
2102
2102
  labelBgBorderRadius?: number;
2103
- style?: import("react").CSSProperties;
2103
+ style?: import('react').CSSProperties;
2104
2104
  className?: string;
2105
- updatable?: import("@xyflow/react").EdgeUpdatable;
2105
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2106
2106
  focusable?: boolean;
2107
- data: import("..").RelationshipData;
2107
+ data: import('..').RelationshipData;
2108
2108
  readonly id: string;
2109
2109
  readonly type: "relationship";
2110
- }>> | ((state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2110
+ }>> | ((state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2111
2111
  source: string;
2112
2112
  target: string;
2113
2113
  sourceHandle?: string | null;
@@ -2117,25 +2117,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2117
2117
  deletable?: boolean;
2118
2118
  selectable?: boolean;
2119
2119
  selected?: boolean;
2120
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2121
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2120
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2121
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2122
2122
  zIndex?: number;
2123
2123
  ariaLabel?: string;
2124
2124
  interactionWidth?: number;
2125
- label?: import("react").ReactNode;
2126
- labelStyle?: import("react").CSSProperties;
2125
+ label?: import('react').ReactNode;
2126
+ labelStyle?: import('react').CSSProperties;
2127
2127
  labelShowBg?: boolean;
2128
- labelBgStyle?: import("react").CSSProperties;
2128
+ labelBgStyle?: import('react').CSSProperties;
2129
2129
  labelBgPadding?: [number, number];
2130
2130
  labelBgBorderRadius?: number;
2131
- style?: import("react").CSSProperties;
2131
+ style?: import('react').CSSProperties;
2132
2132
  className?: string;
2133
- updatable?: import("@xyflow/react").EdgeUpdatable;
2133
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2134
2134
  focusable?: boolean;
2135
- data: import("..").RelationshipData;
2135
+ data: import('..').RelationshipData;
2136
2136
  readonly id: string;
2137
2137
  readonly type: "relationship";
2138
- }>) => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2138
+ }>) => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2139
2139
  source: string;
2140
2140
  target: string;
2141
2141
  sourceHandle?: string | null;
@@ -2145,25 +2145,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2145
2145
  deletable?: boolean;
2146
2146
  selectable?: boolean;
2147
2147
  selected?: boolean;
2148
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2149
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2148
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2149
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2150
2150
  zIndex?: number;
2151
2151
  ariaLabel?: string;
2152
2152
  interactionWidth?: number;
2153
- label?: import("react").ReactNode;
2154
- labelStyle?: import("react").CSSProperties;
2153
+ label?: import('react').ReactNode;
2154
+ labelStyle?: import('react').CSSProperties;
2155
2155
  labelShowBg?: boolean;
2156
- labelBgStyle?: import("react").CSSProperties;
2156
+ labelBgStyle?: import('react').CSSProperties;
2157
2157
  labelBgPadding?: [number, number];
2158
2158
  labelBgBorderRadius?: number;
2159
- style?: import("react").CSSProperties;
2159
+ style?: import('react').CSSProperties;
2160
2160
  className?: string;
2161
- updatable?: import("@xyflow/react").EdgeUpdatable;
2161
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2162
2162
  focusable?: boolean;
2163
- data: import("..").RelationshipData;
2163
+ data: import('..').RelationshipData;
2164
2164
  readonly id: string;
2165
2165
  readonly type: "relationship";
2166
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2166
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2167
2167
  source: string;
2168
2168
  target: string;
2169
2169
  sourceHandle?: string | null;
@@ -2173,26 +2173,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2173
2173
  deletable?: boolean;
2174
2174
  selectable?: boolean;
2175
2175
  selected?: boolean;
2176
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2177
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2176
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2177
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2178
2178
  zIndex?: number;
2179
2179
  ariaLabel?: string;
2180
2180
  interactionWidth?: number;
2181
- label?: import("react").ReactNode;
2182
- labelStyle?: import("react").CSSProperties;
2181
+ label?: import('react').ReactNode;
2182
+ labelStyle?: import('react').CSSProperties;
2183
2183
  labelShowBg?: boolean;
2184
- labelBgStyle?: import("react").CSSProperties;
2184
+ labelBgStyle?: import('react').CSSProperties;
2185
2185
  labelBgPadding?: [number, number];
2186
2186
  labelBgBorderRadius?: number;
2187
- style?: import("react").CSSProperties;
2187
+ style?: import('react').CSSProperties;
2188
2188
  className?: string;
2189
- updatable?: import("@xyflow/react").EdgeUpdatable;
2189
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2190
2190
  focusable?: boolean;
2191
- data: import("..").RelationshipData;
2191
+ data: import('..').RelationshipData;
2192
2192
  readonly id: string;
2193
2193
  readonly type: "relationship";
2194
2194
  }>>), replace?: boolean | undefined) => void;
2195
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2195
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2196
2196
  source: string;
2197
2197
  target: string;
2198
2198
  sourceHandle?: string | null;
@@ -2202,25 +2202,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2202
2202
  deletable?: boolean;
2203
2203
  selectable?: boolean;
2204
2204
  selected?: boolean;
2205
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2206
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2205
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2206
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2207
2207
  zIndex?: number;
2208
2208
  ariaLabel?: string;
2209
2209
  interactionWidth?: number;
2210
- label?: import("react").ReactNode;
2211
- labelStyle?: import("react").CSSProperties;
2210
+ label?: import('react').ReactNode;
2211
+ labelStyle?: import('react').CSSProperties;
2212
2212
  labelShowBg?: boolean;
2213
- labelBgStyle?: import("react").CSSProperties;
2213
+ labelBgStyle?: import('react').CSSProperties;
2214
2214
  labelBgPadding?: [number, number];
2215
2215
  labelBgBorderRadius?: number;
2216
- style?: import("react").CSSProperties;
2216
+ style?: import('react').CSSProperties;
2217
2217
  className?: string;
2218
- updatable?: import("@xyflow/react").EdgeUpdatable;
2218
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2219
2219
  focusable?: boolean;
2220
- data: import("..").RelationshipData;
2220
+ data: import('..').RelationshipData;
2221
2221
  readonly id: string;
2222
2222
  readonly type: "relationship";
2223
- }>, prevState: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2223
+ }>, prevState: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2224
2224
  source: string;
2225
2225
  target: string;
2226
2226
  sourceHandle?: string | null;
@@ -2230,22 +2230,22 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2230
2230
  deletable?: boolean;
2231
2231
  selectable?: boolean;
2232
2232
  selected?: boolean;
2233
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2234
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2233
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2234
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2235
2235
  zIndex?: number;
2236
2236
  ariaLabel?: string;
2237
2237
  interactionWidth?: number;
2238
- label?: import("react").ReactNode;
2239
- labelStyle?: import("react").CSSProperties;
2238
+ label?: import('react').ReactNode;
2239
+ labelStyle?: import('react').CSSProperties;
2240
2240
  labelShowBg?: boolean;
2241
- labelBgStyle?: import("react").CSSProperties;
2241
+ labelBgStyle?: import('react').CSSProperties;
2242
2242
  labelBgPadding?: [number, number];
2243
2243
  labelBgBorderRadius?: number;
2244
- style?: import("react").CSSProperties;
2244
+ style?: import('react').CSSProperties;
2245
2245
  className?: string;
2246
- updatable?: import("@xyflow/react").EdgeUpdatable;
2246
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2247
2247
  focusable?: boolean;
2248
- data: import("..").RelationshipData;
2248
+ data: import('..').RelationshipData;
2249
2249
  readonly id: string;
2250
2250
  readonly type: "relationship";
2251
2251
  }>) => void) => () => void;
@@ -2253,7 +2253,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2253
2253
  nextDynamicStep: (increment?: number | undefined) => void;
2254
2254
  stopDynamicView: () => void;
2255
2255
  } | Partial<{
2256
- view: import("@likec4/core").DiagramView;
2256
+ view: import('@likec4/core').DiagramView;
2257
2257
  readonly: boolean;
2258
2258
  showElementLinks: boolean;
2259
2259
  fitViewEnabled: boolean;
@@ -2262,7 +2262,7 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2262
2262
  pannable: boolean;
2263
2263
  nodesDraggable: boolean;
2264
2264
  nodesSelectable: boolean;
2265
- xyflow: import("..").XYFlowInstance;
2265
+ xyflow: import('..').XYFlowInstance;
2266
2266
  initialized: boolean;
2267
2267
  xyflowSynced: boolean;
2268
2268
  activeDynamicViewStep: number | null;
@@ -2272,37 +2272,37 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2272
2272
  hoveredNodeId: string | null;
2273
2273
  hoveredEdgeId: string | null;
2274
2274
  dimmed: ReadonlySet<string>;
2275
- previousViews: import("@likec4/core").DiagramView[];
2275
+ previousViews: import('@likec4/core').DiagramView[];
2276
2276
  lastOnNavigate: {
2277
- fromView: import("@likec4/core").ViewID;
2278
- toView: import("@likec4/core").ViewID;
2279
- element: import("@likec4/core").DiagramNode;
2280
- elementCenterScreenPosition: import("@xyflow/system").XYPosition;
2277
+ fromView: import('@likec4/core').ViewID;
2278
+ toView: import('@likec4/core').ViewID;
2279
+ element: import('@likec4/core').DiagramNode;
2280
+ elementCenterScreenPosition: import('@xyflow/system').XYPosition;
2281
2281
  positionCorrected: boolean;
2282
2282
  } | null;
2283
2283
  viewportChanged: boolean;
2284
- onChange: import("..").OnChange | null | undefined;
2285
- onNavigateTo: import("..").OnNavigateTo | null | undefined;
2286
- onNodeClick: import("..").OnNodeClick | null | undefined;
2287
- onNodeContextMenu: import("..").OnNodeClick | null | undefined;
2288
- onCanvasContextMenu: import("..").OnCanvasClick | null | undefined;
2289
- onEdgeClick: import("..").OnEdgeClick | null | undefined;
2290
- onEdgeContextMenu: import("..").OnEdgeClick | null | undefined;
2291
- onCanvasClick: import("..").OnCanvasClick | null | undefined;
2292
- onCanvasDblClick: import("..").OnCanvasClick | null | undefined;
2284
+ onChange: import('..').OnChange | null | undefined;
2285
+ onNavigateTo: import('..').OnNavigateTo | null | undefined;
2286
+ onNodeClick: import('..').OnNodeClick | null | undefined;
2287
+ onNodeContextMenu: import('..').OnNodeClick | null | undefined;
2288
+ onCanvasContextMenu: import('..').OnCanvasClick | null | undefined;
2289
+ onEdgeClick: import('..').OnEdgeClick | null | undefined;
2290
+ onEdgeContextMenu: import('..').OnEdgeClick | null | undefined;
2291
+ onCanvasClick: import('..').OnCanvasClick | null | undefined;
2292
+ onCanvasDblClick: import('..').OnCanvasClick | null | undefined;
2293
2293
  isDynamicView: () => boolean;
2294
- updateView: (view: import("@likec4/core").DiagramView) => void;
2294
+ updateView: (view: import('@likec4/core').DiagramView) => void;
2295
2295
  focusOnNode: (nodeId: string) => void;
2296
2296
  setHoveredNode: (nodeId: string | null) => void;
2297
2297
  setHoveredEdge: (edgeId: string | null) => void;
2298
2298
  setLastClickedNode: (nodeId: string | null) => void;
2299
2299
  setLastClickedEdge: (edgeId: string | null) => void;
2300
2300
  resetLastClicked: () => void;
2301
- getElement: (id: import("@likec4/core").Fqn) => import("@likec4/core").DiagramNode | null;
2302
- triggerOnChange: (changes: import("@likec4/core").NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
2303
- triggerOnNavigateTo: (xynodeId: string, event: import("react").MouseEvent<Element, MouseEvent>) => void;
2301
+ getElement: (id: import('@likec4/core').Fqn) => import('@likec4/core').DiagramNode | null;
2302
+ triggerOnChange: (changes: import('@likec4/core').NonEmptyArray<import("..").Changes.ChangeElementStyle>) => void;
2303
+ triggerOnNavigateTo: (xynodeId: string, event: import('react').MouseEvent<Element, MouseEvent>) => void;
2304
2304
  fitDiagram: (xyStore: {
2305
- getState: () => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2305
+ getState: () => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2306
2306
  source: string;
2307
2307
  target: string;
2308
2308
  sourceHandle?: string | null;
@@ -2312,26 +2312,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2312
2312
  deletable?: boolean;
2313
2313
  selectable?: boolean;
2314
2314
  selected?: boolean;
2315
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2316
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2315
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2316
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2317
2317
  zIndex?: number;
2318
2318
  ariaLabel?: string;
2319
2319
  interactionWidth?: number;
2320
- label?: import("react").ReactNode;
2321
- labelStyle?: import("react").CSSProperties;
2320
+ label?: import('react').ReactNode;
2321
+ labelStyle?: import('react').CSSProperties;
2322
2322
  labelShowBg?: boolean;
2323
- labelBgStyle?: import("react").CSSProperties;
2323
+ labelBgStyle?: import('react').CSSProperties;
2324
2324
  labelBgPadding?: [number, number];
2325
2325
  labelBgBorderRadius?: number;
2326
- style?: import("react").CSSProperties;
2326
+ style?: import('react').CSSProperties;
2327
2327
  className?: string;
2328
- updatable?: import("@xyflow/react").EdgeUpdatable;
2328
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2329
2329
  focusable?: boolean;
2330
- data: import("..").RelationshipData;
2330
+ data: import('..').RelationshipData;
2331
2331
  readonly id: string;
2332
2332
  readonly type: "relationship";
2333
2333
  }>;
2334
- setState: (partial: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2334
+ setState: (partial: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2335
2335
  source: string;
2336
2336
  target: string;
2337
2337
  sourceHandle?: string | null;
@@ -2341,25 +2341,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2341
2341
  deletable?: boolean;
2342
2342
  selectable?: boolean;
2343
2343
  selected?: boolean;
2344
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2345
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2344
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2345
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2346
2346
  zIndex?: number;
2347
2347
  ariaLabel?: string;
2348
2348
  interactionWidth?: number;
2349
- label?: import("react").ReactNode;
2350
- labelStyle?: import("react").CSSProperties;
2349
+ label?: import('react').ReactNode;
2350
+ labelStyle?: import('react').CSSProperties;
2351
2351
  labelShowBg?: boolean;
2352
- labelBgStyle?: import("react").CSSProperties;
2352
+ labelBgStyle?: import('react').CSSProperties;
2353
2353
  labelBgPadding?: [number, number];
2354
2354
  labelBgBorderRadius?: number;
2355
- style?: import("react").CSSProperties;
2355
+ style?: import('react').CSSProperties;
2356
2356
  className?: string;
2357
- updatable?: import("@xyflow/react").EdgeUpdatable;
2357
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2358
2358
  focusable?: boolean;
2359
- data: import("..").RelationshipData;
2359
+ data: import('..').RelationshipData;
2360
2360
  readonly id: string;
2361
2361
  readonly type: "relationship";
2362
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2362
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2363
2363
  source: string;
2364
2364
  target: string;
2365
2365
  sourceHandle?: string | null;
@@ -2369,25 +2369,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2369
2369
  deletable?: boolean;
2370
2370
  selectable?: boolean;
2371
2371
  selected?: boolean;
2372
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2373
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2372
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2373
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2374
2374
  zIndex?: number;
2375
2375
  ariaLabel?: string;
2376
2376
  interactionWidth?: number;
2377
- label?: import("react").ReactNode;
2378
- labelStyle?: import("react").CSSProperties;
2377
+ label?: import('react').ReactNode;
2378
+ labelStyle?: import('react').CSSProperties;
2379
2379
  labelShowBg?: boolean;
2380
- labelBgStyle?: import("react").CSSProperties;
2380
+ labelBgStyle?: import('react').CSSProperties;
2381
2381
  labelBgPadding?: [number, number];
2382
2382
  labelBgBorderRadius?: number;
2383
- style?: import("react").CSSProperties;
2383
+ style?: import('react').CSSProperties;
2384
2384
  className?: string;
2385
- updatable?: import("@xyflow/react").EdgeUpdatable;
2385
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2386
2386
  focusable?: boolean;
2387
- data: import("..").RelationshipData;
2387
+ data: import('..').RelationshipData;
2388
2388
  readonly id: string;
2389
2389
  readonly type: "relationship";
2390
- }>> | ((state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2390
+ }>> | ((state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2391
2391
  source: string;
2392
2392
  target: string;
2393
2393
  sourceHandle?: string | null;
@@ -2397,25 +2397,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2397
2397
  deletable?: boolean;
2398
2398
  selectable?: boolean;
2399
2399
  selected?: boolean;
2400
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2401
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2400
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2401
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2402
2402
  zIndex?: number;
2403
2403
  ariaLabel?: string;
2404
2404
  interactionWidth?: number;
2405
- label?: import("react").ReactNode;
2406
- labelStyle?: import("react").CSSProperties;
2405
+ label?: import('react').ReactNode;
2406
+ labelStyle?: import('react').CSSProperties;
2407
2407
  labelShowBg?: boolean;
2408
- labelBgStyle?: import("react").CSSProperties;
2408
+ labelBgStyle?: import('react').CSSProperties;
2409
2409
  labelBgPadding?: [number, number];
2410
2410
  labelBgBorderRadius?: number;
2411
- style?: import("react").CSSProperties;
2411
+ style?: import('react').CSSProperties;
2412
2412
  className?: string;
2413
- updatable?: import("@xyflow/react").EdgeUpdatable;
2413
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2414
2414
  focusable?: boolean;
2415
- data: import("..").RelationshipData;
2415
+ data: import('..').RelationshipData;
2416
2416
  readonly id: string;
2417
2417
  readonly type: "relationship";
2418
- }>) => import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2418
+ }>) => import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2419
2419
  source: string;
2420
2420
  target: string;
2421
2421
  sourceHandle?: string | null;
@@ -2425,25 +2425,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2425
2425
  deletable?: boolean;
2426
2426
  selectable?: boolean;
2427
2427
  selected?: boolean;
2428
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2429
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2428
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2429
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2430
2430
  zIndex?: number;
2431
2431
  ariaLabel?: string;
2432
2432
  interactionWidth?: number;
2433
- label?: import("react").ReactNode;
2434
- labelStyle?: import("react").CSSProperties;
2433
+ label?: import('react').ReactNode;
2434
+ labelStyle?: import('react').CSSProperties;
2435
2435
  labelShowBg?: boolean;
2436
- labelBgStyle?: import("react").CSSProperties;
2436
+ labelBgStyle?: import('react').CSSProperties;
2437
2437
  labelBgPadding?: [number, number];
2438
2438
  labelBgBorderRadius?: number;
2439
- style?: import("react").CSSProperties;
2439
+ style?: import('react').CSSProperties;
2440
2440
  className?: string;
2441
- updatable?: import("@xyflow/react").EdgeUpdatable;
2441
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2442
2442
  focusable?: boolean;
2443
- data: import("..").RelationshipData;
2443
+ data: import('..').RelationshipData;
2444
2444
  readonly id: string;
2445
2445
  readonly type: "relationship";
2446
- }> | Partial<import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2446
+ }> | Partial<import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2447
2447
  source: string;
2448
2448
  target: string;
2449
2449
  sourceHandle?: string | null;
@@ -2453,26 +2453,26 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2453
2453
  deletable?: boolean;
2454
2454
  selectable?: boolean;
2455
2455
  selected?: boolean;
2456
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2457
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2456
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2457
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2458
2458
  zIndex?: number;
2459
2459
  ariaLabel?: string;
2460
2460
  interactionWidth?: number;
2461
- label?: import("react").ReactNode;
2462
- labelStyle?: import("react").CSSProperties;
2461
+ label?: import('react').ReactNode;
2462
+ labelStyle?: import('react').CSSProperties;
2463
2463
  labelShowBg?: boolean;
2464
- labelBgStyle?: import("react").CSSProperties;
2464
+ labelBgStyle?: import('react').CSSProperties;
2465
2465
  labelBgPadding?: [number, number];
2466
2466
  labelBgBorderRadius?: number;
2467
- style?: import("react").CSSProperties;
2467
+ style?: import('react').CSSProperties;
2468
2468
  className?: string;
2469
- updatable?: import("@xyflow/react").EdgeUpdatable;
2469
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2470
2470
  focusable?: boolean;
2471
- data: import("..").RelationshipData;
2471
+ data: import('..').RelationshipData;
2472
2472
  readonly id: string;
2473
2473
  readonly type: "relationship";
2474
2474
  }>>), replace?: boolean | undefined) => void;
2475
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2475
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2476
2476
  source: string;
2477
2477
  target: string;
2478
2478
  sourceHandle?: string | null;
@@ -2482,25 +2482,25 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2482
2482
  deletable?: boolean;
2483
2483
  selectable?: boolean;
2484
2484
  selected?: boolean;
2485
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2486
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2485
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2486
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2487
2487
  zIndex?: number;
2488
2488
  ariaLabel?: string;
2489
2489
  interactionWidth?: number;
2490
- label?: import("react").ReactNode;
2491
- labelStyle?: import("react").CSSProperties;
2490
+ label?: import('react').ReactNode;
2491
+ labelStyle?: import('react').CSSProperties;
2492
2492
  labelShowBg?: boolean;
2493
- labelBgStyle?: import("react").CSSProperties;
2493
+ labelBgStyle?: import('react').CSSProperties;
2494
2494
  labelBgPadding?: [number, number];
2495
2495
  labelBgBorderRadius?: number;
2496
- style?: import("react").CSSProperties;
2496
+ style?: import('react').CSSProperties;
2497
2497
  className?: string;
2498
- updatable?: import("@xyflow/react").EdgeUpdatable;
2498
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2499
2499
  focusable?: boolean;
2500
- data: import("..").RelationshipData;
2500
+ data: import('..').RelationshipData;
2501
2501
  readonly id: string;
2502
2502
  readonly type: "relationship";
2503
- }>, prevState: import("@xyflow/react").ReactFlowState<import("..").XYFlowNode, {
2503
+ }>, prevState: import('@xyflow/react').ReactFlowState<import('..').XYFlowNode, {
2504
2504
  source: string;
2505
2505
  target: string;
2506
2506
  sourceHandle?: string | null;
@@ -2510,22 +2510,22 @@ export declare const DiagramContext: import('react').Context<import("zustand/tra
2510
2510
  deletable?: boolean;
2511
2511
  selectable?: boolean;
2512
2512
  selected?: boolean;
2513
- markerStart?: import("@xyflow/system").EdgeMarkerType;
2514
- markerEnd?: import("@xyflow/system").EdgeMarkerType;
2513
+ markerStart?: import('@xyflow/system').EdgeMarkerType;
2514
+ markerEnd?: import('@xyflow/system').EdgeMarkerType;
2515
2515
  zIndex?: number;
2516
2516
  ariaLabel?: string;
2517
2517
  interactionWidth?: number;
2518
- label?: import("react").ReactNode;
2519
- labelStyle?: import("react").CSSProperties;
2518
+ label?: import('react').ReactNode;
2519
+ labelStyle?: import('react').CSSProperties;
2520
2520
  labelShowBg?: boolean;
2521
- labelBgStyle?: import("react").CSSProperties;
2521
+ labelBgStyle?: import('react').CSSProperties;
2522
2522
  labelBgPadding?: [number, number];
2523
2523
  labelBgBorderRadius?: number;
2524
- style?: import("react").CSSProperties;
2524
+ style?: import('react').CSSProperties;
2525
2525
  className?: string;
2526
- updatable?: import("@xyflow/react").EdgeUpdatable;
2526
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2527
2527
  focusable?: boolean;
2528
- data: import("..").RelationshipData;
2528
+ data: import('..').RelationshipData;
2529
2529
  readonly id: string;
2530
2530
  readonly type: "relationship";
2531
2531
  }>) => void) => () => void;