@likec4/diagram 1.2.0 → 1.2.1

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,10 +1,10 @@
1
- import { XYFlowInstance, XYFlowNode } from '../xyflow/types';
2
- import { XYStoreApi } from '../xyflow/hooks';
3
- import { Change, LikeC4DiagramEventHandlers } from '../LikeC4Diagram.props';
4
- import { Exact, Simplify } from 'type-fest';
5
- import { MouseEvent as ReactMouseEvent } from 'react';
6
- import { XYPosition } from '@xyflow/react';
7
1
  import { DiagramNode, DiagramView, Fqn, NonEmptyArray, ViewID } from '@likec4/core';
2
+ import { XYPosition } from '@xyflow/react';
3
+ import { MouseEvent as ReactMouseEvent } from 'react';
4
+ import { Exact, Simplify } from 'type-fest';
5
+ import { Change, LikeC4DiagramEventHandlers } from '../LikeC4Diagram.props';
6
+ import { XYStoreApi } from '../xyflow/hooks';
7
+ import { XYFlowInstance, XYFlowNode } from '../xyflow/types';
8
8
 
9
9
  export type DiagramStore = {
10
10
  view: DiagramView;
@@ -55,7 +55,7 @@ interface DiagramStoreActions {
55
55
  }
56
56
  export type DiagramState = Simplify<DiagramStore & DiagramStoreActions>;
57
57
  type CreateDiagramStore = DiagramInitialState & Pick<DiagramStore, 'xyflow'>;
58
- export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T>>(props: T): import('zustand/traditional').UseBoundStoreWithEqualityFn<Omit<Omit<import("zustand/vanilla").StoreApi<{
58
+ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T>>(props: T): import('zustand/traditional').UseBoundStoreWithEqualityFn<Omit<Omit<import('zustand/vanilla').StoreApi<{
59
59
  view: DiagramView;
60
60
  readonly: boolean;
61
61
  showElementLinks: boolean;
@@ -84,15 +84,15 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
84
84
  positionCorrected: boolean;
85
85
  } | null;
86
86
  viewportChanged: boolean;
87
- onChange: import("../LikeC4Diagram.props").OnChange | null | undefined;
88
- onNavigateTo: import("../LikeC4Diagram.props").OnNavigateTo | null | undefined;
89
- onNodeClick: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
90
- onNodeContextMenu: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
91
- onCanvasContextMenu: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
92
- onEdgeClick: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
93
- onEdgeContextMenu: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
94
- onCanvasClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
95
- onCanvasDblClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
87
+ onChange: import('../LikeC4Diagram.props').OnChange | null | undefined;
88
+ onNavigateTo: import('../LikeC4Diagram.props').OnNavigateTo | null | undefined;
89
+ onNodeClick: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
90
+ onNodeContextMenu: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
91
+ onCanvasContextMenu: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
92
+ onEdgeClick: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
93
+ onEdgeContextMenu: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
94
+ onCanvasClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
95
+ onCanvasDblClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
96
96
  isDynamicView: () => boolean;
97
97
  updateView: (view: DiagramView) => void;
98
98
  focusOnNode: (nodeId: string) => void;
@@ -105,7 +105,7 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
105
105
  triggerOnChange: (changes: NonEmptyArray<import("../LikeC4Diagram.props").Changes.ChangeElementStyle>) => void;
106
106
  triggerOnNavigateTo: (xynodeId: string, event: ReactMouseEvent<Element, MouseEvent>) => void;
107
107
  fitDiagram: (xyStore: {
108
- getState: () => import("@xyflow/react").ReactFlowState<XYFlowNode, {
108
+ getState: () => import('@xyflow/react').ReactFlowState<XYFlowNode, {
109
109
  source: string;
110
110
  target: string;
111
111
  sourceHandle?: string | null;
@@ -115,26 +115,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
115
115
  deletable?: boolean;
116
116
  selectable?: boolean;
117
117
  selected?: boolean;
118
- markerStart?: import("@xyflow/react").EdgeMarkerType;
119
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
118
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
119
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
120
120
  zIndex?: number;
121
121
  ariaLabel?: string;
122
122
  interactionWidth?: number;
123
- label?: import("react").ReactNode;
124
- labelStyle?: import("react").CSSProperties;
123
+ label?: import('react').ReactNode;
124
+ labelStyle?: import('react').CSSProperties;
125
125
  labelShowBg?: boolean;
126
- labelBgStyle?: import("react").CSSProperties;
126
+ labelBgStyle?: import('react').CSSProperties;
127
127
  labelBgPadding?: [number, number];
128
128
  labelBgBorderRadius?: number;
129
- style?: import("react").CSSProperties;
129
+ style?: import('react').CSSProperties;
130
130
  className?: string;
131
- updatable?: import("@xyflow/react").EdgeUpdatable;
131
+ updatable?: import('@xyflow/react').EdgeUpdatable;
132
132
  focusable?: boolean;
133
- data: import("../xyflow/types").RelationshipData;
133
+ data: import('../xyflow/types').RelationshipData;
134
134
  readonly id: string;
135
135
  readonly type: "relationship";
136
136
  }>;
137
- setState: (partial: import("@xyflow/react").ReactFlowState<XYFlowNode, {
137
+ setState: (partial: import('@xyflow/react').ReactFlowState<XYFlowNode, {
138
138
  source: string;
139
139
  target: string;
140
140
  sourceHandle?: string | null;
@@ -144,25 +144,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
144
144
  deletable?: boolean;
145
145
  selectable?: boolean;
146
146
  selected?: boolean;
147
- markerStart?: import("@xyflow/react").EdgeMarkerType;
148
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
147
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
148
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
149
149
  zIndex?: number;
150
150
  ariaLabel?: string;
151
151
  interactionWidth?: number;
152
- label?: import("react").ReactNode;
153
- labelStyle?: import("react").CSSProperties;
152
+ label?: import('react').ReactNode;
153
+ labelStyle?: import('react').CSSProperties;
154
154
  labelShowBg?: boolean;
155
- labelBgStyle?: import("react").CSSProperties;
155
+ labelBgStyle?: import('react').CSSProperties;
156
156
  labelBgPadding?: [number, number];
157
157
  labelBgBorderRadius?: number;
158
- style?: import("react").CSSProperties;
158
+ style?: import('react').CSSProperties;
159
159
  className?: string;
160
- updatable?: import("@xyflow/react").EdgeUpdatable;
160
+ updatable?: import('@xyflow/react').EdgeUpdatable;
161
161
  focusable?: boolean;
162
- data: import("../xyflow/types").RelationshipData;
162
+ data: import('../xyflow/types').RelationshipData;
163
163
  readonly id: string;
164
164
  readonly type: "relationship";
165
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
165
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
166
166
  source: string;
167
167
  target: string;
168
168
  sourceHandle?: string | null;
@@ -172,25 +172,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
172
172
  deletable?: boolean;
173
173
  selectable?: boolean;
174
174
  selected?: boolean;
175
- markerStart?: import("@xyflow/react").EdgeMarkerType;
176
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
175
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
176
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
177
177
  zIndex?: number;
178
178
  ariaLabel?: string;
179
179
  interactionWidth?: number;
180
- label?: import("react").ReactNode;
181
- labelStyle?: import("react").CSSProperties;
180
+ label?: import('react').ReactNode;
181
+ labelStyle?: import('react').CSSProperties;
182
182
  labelShowBg?: boolean;
183
- labelBgStyle?: import("react").CSSProperties;
183
+ labelBgStyle?: import('react').CSSProperties;
184
184
  labelBgPadding?: [number, number];
185
185
  labelBgBorderRadius?: number;
186
- style?: import("react").CSSProperties;
186
+ style?: import('react').CSSProperties;
187
187
  className?: string;
188
- updatable?: import("@xyflow/react").EdgeUpdatable;
188
+ updatable?: import('@xyflow/react').EdgeUpdatable;
189
189
  focusable?: boolean;
190
- data: import("../xyflow/types").RelationshipData;
190
+ data: import('../xyflow/types').RelationshipData;
191
191
  readonly id: string;
192
192
  readonly type: "relationship";
193
- }>> | ((state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
193
+ }>> | ((state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
194
194
  source: string;
195
195
  target: string;
196
196
  sourceHandle?: string | null;
@@ -200,25 +200,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
200
200
  deletable?: boolean;
201
201
  selectable?: boolean;
202
202
  selected?: boolean;
203
- markerStart?: import("@xyflow/react").EdgeMarkerType;
204
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
203
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
204
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
205
205
  zIndex?: number;
206
206
  ariaLabel?: string;
207
207
  interactionWidth?: number;
208
- label?: import("react").ReactNode;
209
- labelStyle?: import("react").CSSProperties;
208
+ label?: import('react').ReactNode;
209
+ labelStyle?: import('react').CSSProperties;
210
210
  labelShowBg?: boolean;
211
- labelBgStyle?: import("react").CSSProperties;
211
+ labelBgStyle?: import('react').CSSProperties;
212
212
  labelBgPadding?: [number, number];
213
213
  labelBgBorderRadius?: number;
214
- style?: import("react").CSSProperties;
214
+ style?: import('react').CSSProperties;
215
215
  className?: string;
216
- updatable?: import("@xyflow/react").EdgeUpdatable;
216
+ updatable?: import('@xyflow/react').EdgeUpdatable;
217
217
  focusable?: boolean;
218
- data: import("../xyflow/types").RelationshipData;
218
+ data: import('../xyflow/types').RelationshipData;
219
219
  readonly id: string;
220
220
  readonly type: "relationship";
221
- }>) => import("@xyflow/react").ReactFlowState<XYFlowNode, {
221
+ }>) => import('@xyflow/react').ReactFlowState<XYFlowNode, {
222
222
  source: string;
223
223
  target: string;
224
224
  sourceHandle?: string | null;
@@ -228,25 +228,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
228
228
  deletable?: boolean;
229
229
  selectable?: boolean;
230
230
  selected?: boolean;
231
- markerStart?: import("@xyflow/react").EdgeMarkerType;
232
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
231
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
232
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
233
233
  zIndex?: number;
234
234
  ariaLabel?: string;
235
235
  interactionWidth?: number;
236
- label?: import("react").ReactNode;
237
- labelStyle?: import("react").CSSProperties;
236
+ label?: import('react').ReactNode;
237
+ labelStyle?: import('react').CSSProperties;
238
238
  labelShowBg?: boolean;
239
- labelBgStyle?: import("react").CSSProperties;
239
+ labelBgStyle?: import('react').CSSProperties;
240
240
  labelBgPadding?: [number, number];
241
241
  labelBgBorderRadius?: number;
242
- style?: import("react").CSSProperties;
242
+ style?: import('react').CSSProperties;
243
243
  className?: string;
244
- updatable?: import("@xyflow/react").EdgeUpdatable;
244
+ updatable?: import('@xyflow/react').EdgeUpdatable;
245
245
  focusable?: boolean;
246
- data: import("../xyflow/types").RelationshipData;
246
+ data: import('../xyflow/types').RelationshipData;
247
247
  readonly id: string;
248
248
  readonly type: "relationship";
249
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
249
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
250
250
  source: string;
251
251
  target: string;
252
252
  sourceHandle?: string | null;
@@ -256,26 +256,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
256
256
  deletable?: boolean;
257
257
  selectable?: boolean;
258
258
  selected?: boolean;
259
- markerStart?: import("@xyflow/react").EdgeMarkerType;
260
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
259
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
260
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
261
261
  zIndex?: number;
262
262
  ariaLabel?: string;
263
263
  interactionWidth?: number;
264
- label?: import("react").ReactNode;
265
- labelStyle?: import("react").CSSProperties;
264
+ label?: import('react').ReactNode;
265
+ labelStyle?: import('react').CSSProperties;
266
266
  labelShowBg?: boolean;
267
- labelBgStyle?: import("react").CSSProperties;
267
+ labelBgStyle?: import('react').CSSProperties;
268
268
  labelBgPadding?: [number, number];
269
269
  labelBgBorderRadius?: number;
270
- style?: import("react").CSSProperties;
270
+ style?: import('react').CSSProperties;
271
271
  className?: string;
272
- updatable?: import("@xyflow/react").EdgeUpdatable;
272
+ updatable?: import('@xyflow/react').EdgeUpdatable;
273
273
  focusable?: boolean;
274
- data: import("../xyflow/types").RelationshipData;
274
+ data: import('../xyflow/types').RelationshipData;
275
275
  readonly id: string;
276
276
  readonly type: "relationship";
277
277
  }>>), replace?: boolean | undefined) => void;
278
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
278
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
279
279
  source: string;
280
280
  target: string;
281
281
  sourceHandle?: string | null;
@@ -285,25 +285,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
285
285
  deletable?: boolean;
286
286
  selectable?: boolean;
287
287
  selected?: boolean;
288
- markerStart?: import("@xyflow/react").EdgeMarkerType;
289
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
288
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
289
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
290
290
  zIndex?: number;
291
291
  ariaLabel?: string;
292
292
  interactionWidth?: number;
293
- label?: import("react").ReactNode;
294
- labelStyle?: import("react").CSSProperties;
293
+ label?: import('react').ReactNode;
294
+ labelStyle?: import('react').CSSProperties;
295
295
  labelShowBg?: boolean;
296
- labelBgStyle?: import("react").CSSProperties;
296
+ labelBgStyle?: import('react').CSSProperties;
297
297
  labelBgPadding?: [number, number];
298
298
  labelBgBorderRadius?: number;
299
- style?: import("react").CSSProperties;
299
+ style?: import('react').CSSProperties;
300
300
  className?: string;
301
- updatable?: import("@xyflow/react").EdgeUpdatable;
301
+ updatable?: import('@xyflow/react').EdgeUpdatable;
302
302
  focusable?: boolean;
303
- data: import("../xyflow/types").RelationshipData;
303
+ data: import('../xyflow/types').RelationshipData;
304
304
  readonly id: string;
305
305
  readonly type: "relationship";
306
- }>, prevState: import("@xyflow/react").ReactFlowState<XYFlowNode, {
306
+ }>, prevState: import('@xyflow/react').ReactFlowState<XYFlowNode, {
307
307
  source: string;
308
308
  target: string;
309
309
  sourceHandle?: string | null;
@@ -313,22 +313,22 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
313
313
  deletable?: boolean;
314
314
  selectable?: boolean;
315
315
  selected?: boolean;
316
- markerStart?: import("@xyflow/react").EdgeMarkerType;
317
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
316
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
317
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
318
318
  zIndex?: number;
319
319
  ariaLabel?: string;
320
320
  interactionWidth?: number;
321
- label?: import("react").ReactNode;
322
- labelStyle?: import("react").CSSProperties;
321
+ label?: import('react').ReactNode;
322
+ labelStyle?: import('react').CSSProperties;
323
323
  labelShowBg?: boolean;
324
- labelBgStyle?: import("react").CSSProperties;
324
+ labelBgStyle?: import('react').CSSProperties;
325
325
  labelBgPadding?: [number, number];
326
326
  labelBgBorderRadius?: number;
327
- style?: import("react").CSSProperties;
327
+ style?: import('react').CSSProperties;
328
328
  className?: string;
329
- updatable?: import("@xyflow/react").EdgeUpdatable;
329
+ updatable?: import('@xyflow/react').EdgeUpdatable;
330
330
  focusable?: boolean;
331
- data: import("../xyflow/types").RelationshipData;
331
+ data: import('../xyflow/types').RelationshipData;
332
332
  readonly id: string;
333
333
  readonly type: "relationship";
334
334
  }>) => void) => () => void;
@@ -366,15 +366,15 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
366
366
  positionCorrected: boolean;
367
367
  } | null;
368
368
  viewportChanged: boolean;
369
- onChange: import("../LikeC4Diagram.props").OnChange | null | undefined;
370
- onNavigateTo: import("../LikeC4Diagram.props").OnNavigateTo | null | undefined;
371
- onNodeClick: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
372
- onNodeContextMenu: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
373
- onCanvasContextMenu: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
374
- onEdgeClick: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
375
- onEdgeContextMenu: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
376
- onCanvasClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
377
- onCanvasDblClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
369
+ onChange: import('../LikeC4Diagram.props').OnChange | null | undefined;
370
+ onNavigateTo: import('../LikeC4Diagram.props').OnNavigateTo | null | undefined;
371
+ onNodeClick: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
372
+ onNodeContextMenu: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
373
+ onCanvasContextMenu: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
374
+ onEdgeClick: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
375
+ onEdgeContextMenu: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
376
+ onCanvasClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
377
+ onCanvasDblClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
378
378
  isDynamicView: () => boolean;
379
379
  updateView: (view: DiagramView) => void;
380
380
  focusOnNode: (nodeId: string) => void;
@@ -387,7 +387,7 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
387
387
  triggerOnChange: (changes: NonEmptyArray<import("../LikeC4Diagram.props").Changes.ChangeElementStyle>) => void;
388
388
  triggerOnNavigateTo: (xynodeId: string, event: ReactMouseEvent<Element, MouseEvent>) => void;
389
389
  fitDiagram: (xyStore: {
390
- getState: () => import("@xyflow/react").ReactFlowState<XYFlowNode, {
390
+ getState: () => import('@xyflow/react').ReactFlowState<XYFlowNode, {
391
391
  source: string;
392
392
  target: string;
393
393
  sourceHandle?: string | null;
@@ -397,26 +397,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
397
397
  deletable?: boolean;
398
398
  selectable?: boolean;
399
399
  selected?: boolean;
400
- markerStart?: import("@xyflow/react").EdgeMarkerType;
401
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
400
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
401
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
402
402
  zIndex?: number;
403
403
  ariaLabel?: string;
404
404
  interactionWidth?: number;
405
- label?: import("react").ReactNode;
406
- labelStyle?: import("react").CSSProperties;
405
+ label?: import('react').ReactNode;
406
+ labelStyle?: import('react').CSSProperties;
407
407
  labelShowBg?: boolean;
408
- labelBgStyle?: import("react").CSSProperties;
408
+ labelBgStyle?: import('react').CSSProperties;
409
409
  labelBgPadding?: [number, number];
410
410
  labelBgBorderRadius?: number;
411
- style?: import("react").CSSProperties;
411
+ style?: import('react').CSSProperties;
412
412
  className?: string;
413
- updatable?: import("@xyflow/react").EdgeUpdatable;
413
+ updatable?: import('@xyflow/react').EdgeUpdatable;
414
414
  focusable?: boolean;
415
- data: import("../xyflow/types").RelationshipData;
415
+ data: import('../xyflow/types').RelationshipData;
416
416
  readonly id: string;
417
417
  readonly type: "relationship";
418
418
  }>;
419
- setState: (partial: import("@xyflow/react").ReactFlowState<XYFlowNode, {
419
+ setState: (partial: import('@xyflow/react').ReactFlowState<XYFlowNode, {
420
420
  source: string;
421
421
  target: string;
422
422
  sourceHandle?: string | null;
@@ -426,25 +426,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
426
426
  deletable?: boolean;
427
427
  selectable?: boolean;
428
428
  selected?: boolean;
429
- markerStart?: import("@xyflow/react").EdgeMarkerType;
430
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
429
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
430
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
431
431
  zIndex?: number;
432
432
  ariaLabel?: string;
433
433
  interactionWidth?: number;
434
- label?: import("react").ReactNode;
435
- labelStyle?: import("react").CSSProperties;
434
+ label?: import('react').ReactNode;
435
+ labelStyle?: import('react').CSSProperties;
436
436
  labelShowBg?: boolean;
437
- labelBgStyle?: import("react").CSSProperties;
437
+ labelBgStyle?: import('react').CSSProperties;
438
438
  labelBgPadding?: [number, number];
439
439
  labelBgBorderRadius?: number;
440
- style?: import("react").CSSProperties;
440
+ style?: import('react').CSSProperties;
441
441
  className?: string;
442
- updatable?: import("@xyflow/react").EdgeUpdatable;
442
+ updatable?: import('@xyflow/react').EdgeUpdatable;
443
443
  focusable?: boolean;
444
- data: import("../xyflow/types").RelationshipData;
444
+ data: import('../xyflow/types').RelationshipData;
445
445
  readonly id: string;
446
446
  readonly type: "relationship";
447
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
447
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
448
448
  source: string;
449
449
  target: string;
450
450
  sourceHandle?: string | null;
@@ -454,25 +454,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
454
454
  deletable?: boolean;
455
455
  selectable?: boolean;
456
456
  selected?: boolean;
457
- markerStart?: import("@xyflow/react").EdgeMarkerType;
458
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
457
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
458
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
459
459
  zIndex?: number;
460
460
  ariaLabel?: string;
461
461
  interactionWidth?: number;
462
- label?: import("react").ReactNode;
463
- labelStyle?: import("react").CSSProperties;
462
+ label?: import('react').ReactNode;
463
+ labelStyle?: import('react').CSSProperties;
464
464
  labelShowBg?: boolean;
465
- labelBgStyle?: import("react").CSSProperties;
465
+ labelBgStyle?: import('react').CSSProperties;
466
466
  labelBgPadding?: [number, number];
467
467
  labelBgBorderRadius?: number;
468
- style?: import("react").CSSProperties;
468
+ style?: import('react').CSSProperties;
469
469
  className?: string;
470
- updatable?: import("@xyflow/react").EdgeUpdatable;
470
+ updatable?: import('@xyflow/react').EdgeUpdatable;
471
471
  focusable?: boolean;
472
- data: import("../xyflow/types").RelationshipData;
472
+ data: import('../xyflow/types').RelationshipData;
473
473
  readonly id: string;
474
474
  readonly type: "relationship";
475
- }>> | ((state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
475
+ }>> | ((state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
476
476
  source: string;
477
477
  target: string;
478
478
  sourceHandle?: string | null;
@@ -482,25 +482,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
482
482
  deletable?: boolean;
483
483
  selectable?: boolean;
484
484
  selected?: boolean;
485
- markerStart?: import("@xyflow/react").EdgeMarkerType;
486
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
485
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
486
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
487
487
  zIndex?: number;
488
488
  ariaLabel?: string;
489
489
  interactionWidth?: number;
490
- label?: import("react").ReactNode;
491
- labelStyle?: import("react").CSSProperties;
490
+ label?: import('react').ReactNode;
491
+ labelStyle?: import('react').CSSProperties;
492
492
  labelShowBg?: boolean;
493
- labelBgStyle?: import("react").CSSProperties;
493
+ labelBgStyle?: import('react').CSSProperties;
494
494
  labelBgPadding?: [number, number];
495
495
  labelBgBorderRadius?: number;
496
- style?: import("react").CSSProperties;
496
+ style?: import('react').CSSProperties;
497
497
  className?: string;
498
- updatable?: import("@xyflow/react").EdgeUpdatable;
498
+ updatable?: import('@xyflow/react').EdgeUpdatable;
499
499
  focusable?: boolean;
500
- data: import("../xyflow/types").RelationshipData;
500
+ data: import('../xyflow/types').RelationshipData;
501
501
  readonly id: string;
502
502
  readonly type: "relationship";
503
- }>) => import("@xyflow/react").ReactFlowState<XYFlowNode, {
503
+ }>) => import('@xyflow/react').ReactFlowState<XYFlowNode, {
504
504
  source: string;
505
505
  target: string;
506
506
  sourceHandle?: string | null;
@@ -510,25 +510,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
510
510
  deletable?: boolean;
511
511
  selectable?: boolean;
512
512
  selected?: boolean;
513
- markerStart?: import("@xyflow/react").EdgeMarkerType;
514
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
513
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
514
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
515
515
  zIndex?: number;
516
516
  ariaLabel?: string;
517
517
  interactionWidth?: number;
518
- label?: import("react").ReactNode;
519
- labelStyle?: import("react").CSSProperties;
518
+ label?: import('react').ReactNode;
519
+ labelStyle?: import('react').CSSProperties;
520
520
  labelShowBg?: boolean;
521
- labelBgStyle?: import("react").CSSProperties;
521
+ labelBgStyle?: import('react').CSSProperties;
522
522
  labelBgPadding?: [number, number];
523
523
  labelBgBorderRadius?: number;
524
- style?: import("react").CSSProperties;
524
+ style?: import('react').CSSProperties;
525
525
  className?: string;
526
- updatable?: import("@xyflow/react").EdgeUpdatable;
526
+ updatable?: import('@xyflow/react').EdgeUpdatable;
527
527
  focusable?: boolean;
528
- data: import("../xyflow/types").RelationshipData;
528
+ data: import('../xyflow/types').RelationshipData;
529
529
  readonly id: string;
530
530
  readonly type: "relationship";
531
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
531
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
532
532
  source: string;
533
533
  target: string;
534
534
  sourceHandle?: string | null;
@@ -538,26 +538,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
538
538
  deletable?: boolean;
539
539
  selectable?: boolean;
540
540
  selected?: boolean;
541
- markerStart?: import("@xyflow/react").EdgeMarkerType;
542
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
541
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
542
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
543
543
  zIndex?: number;
544
544
  ariaLabel?: string;
545
545
  interactionWidth?: number;
546
- label?: import("react").ReactNode;
547
- labelStyle?: import("react").CSSProperties;
546
+ label?: import('react').ReactNode;
547
+ labelStyle?: import('react').CSSProperties;
548
548
  labelShowBg?: boolean;
549
- labelBgStyle?: import("react").CSSProperties;
549
+ labelBgStyle?: import('react').CSSProperties;
550
550
  labelBgPadding?: [number, number];
551
551
  labelBgBorderRadius?: number;
552
- style?: import("react").CSSProperties;
552
+ style?: import('react').CSSProperties;
553
553
  className?: string;
554
- updatable?: import("@xyflow/react").EdgeUpdatable;
554
+ updatable?: import('@xyflow/react').EdgeUpdatable;
555
555
  focusable?: boolean;
556
- data: import("../xyflow/types").RelationshipData;
556
+ data: import('../xyflow/types').RelationshipData;
557
557
  readonly id: string;
558
558
  readonly type: "relationship";
559
559
  }>>), replace?: boolean | undefined) => void;
560
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
560
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
561
561
  source: string;
562
562
  target: string;
563
563
  sourceHandle?: string | null;
@@ -567,25 +567,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
567
567
  deletable?: boolean;
568
568
  selectable?: boolean;
569
569
  selected?: boolean;
570
- markerStart?: import("@xyflow/react").EdgeMarkerType;
571
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
570
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
571
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
572
572
  zIndex?: number;
573
573
  ariaLabel?: string;
574
574
  interactionWidth?: number;
575
- label?: import("react").ReactNode;
576
- labelStyle?: import("react").CSSProperties;
575
+ label?: import('react').ReactNode;
576
+ labelStyle?: import('react').CSSProperties;
577
577
  labelShowBg?: boolean;
578
- labelBgStyle?: import("react").CSSProperties;
578
+ labelBgStyle?: import('react').CSSProperties;
579
579
  labelBgPadding?: [number, number];
580
580
  labelBgBorderRadius?: number;
581
- style?: import("react").CSSProperties;
581
+ style?: import('react').CSSProperties;
582
582
  className?: string;
583
- updatable?: import("@xyflow/react").EdgeUpdatable;
583
+ updatable?: import('@xyflow/react').EdgeUpdatable;
584
584
  focusable?: boolean;
585
- data: import("../xyflow/types").RelationshipData;
585
+ data: import('../xyflow/types').RelationshipData;
586
586
  readonly id: string;
587
587
  readonly type: "relationship";
588
- }>, prevState: import("@xyflow/react").ReactFlowState<XYFlowNode, {
588
+ }>, prevState: import('@xyflow/react').ReactFlowState<XYFlowNode, {
589
589
  source: string;
590
590
  target: string;
591
591
  sourceHandle?: string | null;
@@ -595,22 +595,22 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
595
595
  deletable?: boolean;
596
596
  selectable?: boolean;
597
597
  selected?: boolean;
598
- markerStart?: import("@xyflow/react").EdgeMarkerType;
599
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
598
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
599
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
600
600
  zIndex?: number;
601
601
  ariaLabel?: string;
602
602
  interactionWidth?: number;
603
- label?: import("react").ReactNode;
604
- labelStyle?: import("react").CSSProperties;
603
+ label?: import('react').ReactNode;
604
+ labelStyle?: import('react').CSSProperties;
605
605
  labelShowBg?: boolean;
606
- labelBgStyle?: import("react").CSSProperties;
606
+ labelBgStyle?: import('react').CSSProperties;
607
607
  labelBgPadding?: [number, number];
608
608
  labelBgBorderRadius?: number;
609
- style?: import("react").CSSProperties;
609
+ style?: import('react').CSSProperties;
610
610
  className?: string;
611
- updatable?: import("@xyflow/react").EdgeUpdatable;
611
+ updatable?: import('@xyflow/react').EdgeUpdatable;
612
612
  focusable?: boolean;
613
- data: import("../xyflow/types").RelationshipData;
613
+ data: import('../xyflow/types').RelationshipData;
614
614
  readonly id: string;
615
615
  readonly type: "relationship";
616
616
  }>) => void) => () => void;
@@ -646,15 +646,15 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
646
646
  positionCorrected: boolean;
647
647
  } | null;
648
648
  viewportChanged: boolean;
649
- onChange: import("../LikeC4Diagram.props").OnChange | null | undefined;
650
- onNavigateTo: import("../LikeC4Diagram.props").OnNavigateTo | null | undefined;
651
- onNodeClick: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
652
- onNodeContextMenu: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
653
- onCanvasContextMenu: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
654
- onEdgeClick: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
655
- onEdgeContextMenu: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
656
- onCanvasClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
657
- onCanvasDblClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
649
+ onChange: import('../LikeC4Diagram.props').OnChange | null | undefined;
650
+ onNavigateTo: import('../LikeC4Diagram.props').OnNavigateTo | null | undefined;
651
+ onNodeClick: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
652
+ onNodeContextMenu: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
653
+ onCanvasContextMenu: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
654
+ onEdgeClick: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
655
+ onEdgeContextMenu: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
656
+ onCanvasClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
657
+ onCanvasDblClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
658
658
  isDynamicView: () => boolean;
659
659
  updateView: (view: DiagramView) => void;
660
660
  focusOnNode: (nodeId: string) => void;
@@ -667,7 +667,7 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
667
667
  triggerOnChange: (changes: NonEmptyArray<import("../LikeC4Diagram.props").Changes.ChangeElementStyle>) => void;
668
668
  triggerOnNavigateTo: (xynodeId: string, event: ReactMouseEvent<Element, MouseEvent>) => void;
669
669
  fitDiagram: (xyStore: {
670
- getState: () => import("@xyflow/react").ReactFlowState<XYFlowNode, {
670
+ getState: () => import('@xyflow/react').ReactFlowState<XYFlowNode, {
671
671
  source: string;
672
672
  target: string;
673
673
  sourceHandle?: string | null;
@@ -677,26 +677,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
677
677
  deletable?: boolean;
678
678
  selectable?: boolean;
679
679
  selected?: boolean;
680
- markerStart?: import("@xyflow/react").EdgeMarkerType;
681
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
680
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
681
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
682
682
  zIndex?: number;
683
683
  ariaLabel?: string;
684
684
  interactionWidth?: number;
685
- label?: import("react").ReactNode;
686
- labelStyle?: import("react").CSSProperties;
685
+ label?: import('react').ReactNode;
686
+ labelStyle?: import('react').CSSProperties;
687
687
  labelShowBg?: boolean;
688
- labelBgStyle?: import("react").CSSProperties;
688
+ labelBgStyle?: import('react').CSSProperties;
689
689
  labelBgPadding?: [number, number];
690
690
  labelBgBorderRadius?: number;
691
- style?: import("react").CSSProperties;
691
+ style?: import('react').CSSProperties;
692
692
  className?: string;
693
- updatable?: import("@xyflow/react").EdgeUpdatable;
693
+ updatable?: import('@xyflow/react').EdgeUpdatable;
694
694
  focusable?: boolean;
695
- data: import("../xyflow/types").RelationshipData;
695
+ data: import('../xyflow/types').RelationshipData;
696
696
  readonly id: string;
697
697
  readonly type: "relationship";
698
698
  }>;
699
- setState: (partial: import("@xyflow/react").ReactFlowState<XYFlowNode, {
699
+ setState: (partial: import('@xyflow/react').ReactFlowState<XYFlowNode, {
700
700
  source: string;
701
701
  target: string;
702
702
  sourceHandle?: string | null;
@@ -706,25 +706,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
706
706
  deletable?: boolean;
707
707
  selectable?: boolean;
708
708
  selected?: boolean;
709
- markerStart?: import("@xyflow/react").EdgeMarkerType;
710
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
709
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
710
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
711
711
  zIndex?: number;
712
712
  ariaLabel?: string;
713
713
  interactionWidth?: number;
714
- label?: import("react").ReactNode;
715
- labelStyle?: import("react").CSSProperties;
714
+ label?: import('react').ReactNode;
715
+ labelStyle?: import('react').CSSProperties;
716
716
  labelShowBg?: boolean;
717
- labelBgStyle?: import("react").CSSProperties;
717
+ labelBgStyle?: import('react').CSSProperties;
718
718
  labelBgPadding?: [number, number];
719
719
  labelBgBorderRadius?: number;
720
- style?: import("react").CSSProperties;
720
+ style?: import('react').CSSProperties;
721
721
  className?: string;
722
- updatable?: import("@xyflow/react").EdgeUpdatable;
722
+ updatable?: import('@xyflow/react').EdgeUpdatable;
723
723
  focusable?: boolean;
724
- data: import("../xyflow/types").RelationshipData;
724
+ data: import('../xyflow/types').RelationshipData;
725
725
  readonly id: string;
726
726
  readonly type: "relationship";
727
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
727
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
728
728
  source: string;
729
729
  target: string;
730
730
  sourceHandle?: string | null;
@@ -734,25 +734,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
734
734
  deletable?: boolean;
735
735
  selectable?: boolean;
736
736
  selected?: boolean;
737
- markerStart?: import("@xyflow/react").EdgeMarkerType;
738
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
737
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
738
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
739
739
  zIndex?: number;
740
740
  ariaLabel?: string;
741
741
  interactionWidth?: number;
742
- label?: import("react").ReactNode;
743
- labelStyle?: import("react").CSSProperties;
742
+ label?: import('react').ReactNode;
743
+ labelStyle?: import('react').CSSProperties;
744
744
  labelShowBg?: boolean;
745
- labelBgStyle?: import("react").CSSProperties;
745
+ labelBgStyle?: import('react').CSSProperties;
746
746
  labelBgPadding?: [number, number];
747
747
  labelBgBorderRadius?: number;
748
- style?: import("react").CSSProperties;
748
+ style?: import('react').CSSProperties;
749
749
  className?: string;
750
- updatable?: import("@xyflow/react").EdgeUpdatable;
750
+ updatable?: import('@xyflow/react').EdgeUpdatable;
751
751
  focusable?: boolean;
752
- data: import("../xyflow/types").RelationshipData;
752
+ data: import('../xyflow/types').RelationshipData;
753
753
  readonly id: string;
754
754
  readonly type: "relationship";
755
- }>> | ((state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
755
+ }>> | ((state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
756
756
  source: string;
757
757
  target: string;
758
758
  sourceHandle?: string | null;
@@ -762,25 +762,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
762
762
  deletable?: boolean;
763
763
  selectable?: boolean;
764
764
  selected?: boolean;
765
- markerStart?: import("@xyflow/react").EdgeMarkerType;
766
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
765
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
766
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
767
767
  zIndex?: number;
768
768
  ariaLabel?: string;
769
769
  interactionWidth?: number;
770
- label?: import("react").ReactNode;
771
- labelStyle?: import("react").CSSProperties;
770
+ label?: import('react').ReactNode;
771
+ labelStyle?: import('react').CSSProperties;
772
772
  labelShowBg?: boolean;
773
- labelBgStyle?: import("react").CSSProperties;
773
+ labelBgStyle?: import('react').CSSProperties;
774
774
  labelBgPadding?: [number, number];
775
775
  labelBgBorderRadius?: number;
776
- style?: import("react").CSSProperties;
776
+ style?: import('react').CSSProperties;
777
777
  className?: string;
778
- updatable?: import("@xyflow/react").EdgeUpdatable;
778
+ updatable?: import('@xyflow/react').EdgeUpdatable;
779
779
  focusable?: boolean;
780
- data: import("../xyflow/types").RelationshipData;
780
+ data: import('../xyflow/types').RelationshipData;
781
781
  readonly id: string;
782
782
  readonly type: "relationship";
783
- }>) => import("@xyflow/react").ReactFlowState<XYFlowNode, {
783
+ }>) => import('@xyflow/react').ReactFlowState<XYFlowNode, {
784
784
  source: string;
785
785
  target: string;
786
786
  sourceHandle?: string | null;
@@ -790,25 +790,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
790
790
  deletable?: boolean;
791
791
  selectable?: boolean;
792
792
  selected?: boolean;
793
- markerStart?: import("@xyflow/react").EdgeMarkerType;
794
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
793
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
794
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
795
795
  zIndex?: number;
796
796
  ariaLabel?: string;
797
797
  interactionWidth?: number;
798
- label?: import("react").ReactNode;
799
- labelStyle?: import("react").CSSProperties;
798
+ label?: import('react').ReactNode;
799
+ labelStyle?: import('react').CSSProperties;
800
800
  labelShowBg?: boolean;
801
- labelBgStyle?: import("react").CSSProperties;
801
+ labelBgStyle?: import('react').CSSProperties;
802
802
  labelBgPadding?: [number, number];
803
803
  labelBgBorderRadius?: number;
804
- style?: import("react").CSSProperties;
804
+ style?: import('react').CSSProperties;
805
805
  className?: string;
806
- updatable?: import("@xyflow/react").EdgeUpdatable;
806
+ updatable?: import('@xyflow/react').EdgeUpdatable;
807
807
  focusable?: boolean;
808
- data: import("../xyflow/types").RelationshipData;
808
+ data: import('../xyflow/types').RelationshipData;
809
809
  readonly id: string;
810
810
  readonly type: "relationship";
811
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
811
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
812
812
  source: string;
813
813
  target: string;
814
814
  sourceHandle?: string | null;
@@ -818,26 +818,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
818
818
  deletable?: boolean;
819
819
  selectable?: boolean;
820
820
  selected?: boolean;
821
- markerStart?: import("@xyflow/react").EdgeMarkerType;
822
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
821
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
822
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
823
823
  zIndex?: number;
824
824
  ariaLabel?: string;
825
825
  interactionWidth?: number;
826
- label?: import("react").ReactNode;
827
- labelStyle?: import("react").CSSProperties;
826
+ label?: import('react').ReactNode;
827
+ labelStyle?: import('react').CSSProperties;
828
828
  labelShowBg?: boolean;
829
- labelBgStyle?: import("react").CSSProperties;
829
+ labelBgStyle?: import('react').CSSProperties;
830
830
  labelBgPadding?: [number, number];
831
831
  labelBgBorderRadius?: number;
832
- style?: import("react").CSSProperties;
832
+ style?: import('react').CSSProperties;
833
833
  className?: string;
834
- updatable?: import("@xyflow/react").EdgeUpdatable;
834
+ updatable?: import('@xyflow/react').EdgeUpdatable;
835
835
  focusable?: boolean;
836
- data: import("../xyflow/types").RelationshipData;
836
+ data: import('../xyflow/types').RelationshipData;
837
837
  readonly id: string;
838
838
  readonly type: "relationship";
839
839
  }>>), replace?: boolean | undefined) => void;
840
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
840
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
841
841
  source: string;
842
842
  target: string;
843
843
  sourceHandle?: string | null;
@@ -847,25 +847,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
847
847
  deletable?: boolean;
848
848
  selectable?: boolean;
849
849
  selected?: boolean;
850
- markerStart?: import("@xyflow/react").EdgeMarkerType;
851
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
850
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
851
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
852
852
  zIndex?: number;
853
853
  ariaLabel?: string;
854
854
  interactionWidth?: number;
855
- label?: import("react").ReactNode;
856
- labelStyle?: import("react").CSSProperties;
855
+ label?: import('react').ReactNode;
856
+ labelStyle?: import('react').CSSProperties;
857
857
  labelShowBg?: boolean;
858
- labelBgStyle?: import("react").CSSProperties;
858
+ labelBgStyle?: import('react').CSSProperties;
859
859
  labelBgPadding?: [number, number];
860
860
  labelBgBorderRadius?: number;
861
- style?: import("react").CSSProperties;
861
+ style?: import('react').CSSProperties;
862
862
  className?: string;
863
- updatable?: import("@xyflow/react").EdgeUpdatable;
863
+ updatable?: import('@xyflow/react').EdgeUpdatable;
864
864
  focusable?: boolean;
865
- data: import("../xyflow/types").RelationshipData;
865
+ data: import('../xyflow/types').RelationshipData;
866
866
  readonly id: string;
867
867
  readonly type: "relationship";
868
- }>, prevState: import("@xyflow/react").ReactFlowState<XYFlowNode, {
868
+ }>, prevState: import('@xyflow/react').ReactFlowState<XYFlowNode, {
869
869
  source: string;
870
870
  target: string;
871
871
  sourceHandle?: string | null;
@@ -875,22 +875,22 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
875
875
  deletable?: boolean;
876
876
  selectable?: boolean;
877
877
  selected?: boolean;
878
- markerStart?: import("@xyflow/react").EdgeMarkerType;
879
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
878
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
879
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
880
880
  zIndex?: number;
881
881
  ariaLabel?: string;
882
882
  interactionWidth?: number;
883
- label?: import("react").ReactNode;
884
- labelStyle?: import("react").CSSProperties;
883
+ label?: import('react').ReactNode;
884
+ labelStyle?: import('react').CSSProperties;
885
885
  labelShowBg?: boolean;
886
- labelBgStyle?: import("react").CSSProperties;
886
+ labelBgStyle?: import('react').CSSProperties;
887
887
  labelBgPadding?: [number, number];
888
888
  labelBgBorderRadius?: number;
889
- style?: import("react").CSSProperties;
889
+ style?: import('react').CSSProperties;
890
890
  className?: string;
891
- updatable?: import("@xyflow/react").EdgeUpdatable;
891
+ updatable?: import('@xyflow/react').EdgeUpdatable;
892
892
  focusable?: boolean;
893
- data: import("../xyflow/types").RelationshipData;
893
+ data: import('../xyflow/types').RelationshipData;
894
894
  readonly id: string;
895
895
  readonly type: "relationship";
896
896
  }>) => void) => () => void;
@@ -927,15 +927,15 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
927
927
  positionCorrected: boolean;
928
928
  } | null;
929
929
  viewportChanged: boolean;
930
- onChange: import("../LikeC4Diagram.props").OnChange | null | undefined;
931
- onNavigateTo: import("../LikeC4Diagram.props").OnNavigateTo | null | undefined;
932
- onNodeClick: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
933
- onNodeContextMenu: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
934
- onCanvasContextMenu: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
935
- onEdgeClick: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
936
- onEdgeContextMenu: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
937
- onCanvasClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
938
- onCanvasDblClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
930
+ onChange: import('../LikeC4Diagram.props').OnChange | null | undefined;
931
+ onNavigateTo: import('../LikeC4Diagram.props').OnNavigateTo | null | undefined;
932
+ onNodeClick: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
933
+ onNodeContextMenu: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
934
+ onCanvasContextMenu: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
935
+ onEdgeClick: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
936
+ onEdgeContextMenu: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
937
+ onCanvasClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
938
+ onCanvasDblClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
939
939
  isDynamicView: () => boolean;
940
940
  updateView: (view: DiagramView) => void;
941
941
  focusOnNode: (nodeId: string) => void;
@@ -948,7 +948,7 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
948
948
  triggerOnChange: (changes: NonEmptyArray<import("../LikeC4Diagram.props").Changes.ChangeElementStyle>) => void;
949
949
  triggerOnNavigateTo: (xynodeId: string, event: ReactMouseEvent<Element, MouseEvent>) => void;
950
950
  fitDiagram: (xyStore: {
951
- getState: () => import("@xyflow/react").ReactFlowState<XYFlowNode, {
951
+ getState: () => import('@xyflow/react').ReactFlowState<XYFlowNode, {
952
952
  source: string;
953
953
  target: string;
954
954
  sourceHandle?: string | null;
@@ -958,26 +958,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
958
958
  deletable?: boolean;
959
959
  selectable?: boolean;
960
960
  selected?: boolean;
961
- markerStart?: import("@xyflow/react").EdgeMarkerType;
962
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
961
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
962
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
963
963
  zIndex?: number;
964
964
  ariaLabel?: string;
965
965
  interactionWidth?: number;
966
- label?: import("react").ReactNode;
967
- labelStyle?: import("react").CSSProperties;
966
+ label?: import('react').ReactNode;
967
+ labelStyle?: import('react').CSSProperties;
968
968
  labelShowBg?: boolean;
969
- labelBgStyle?: import("react").CSSProperties;
969
+ labelBgStyle?: import('react').CSSProperties;
970
970
  labelBgPadding?: [number, number];
971
971
  labelBgBorderRadius?: number;
972
- style?: import("react").CSSProperties;
972
+ style?: import('react').CSSProperties;
973
973
  className?: string;
974
- updatable?: import("@xyflow/react").EdgeUpdatable;
974
+ updatable?: import('@xyflow/react').EdgeUpdatable;
975
975
  focusable?: boolean;
976
- data: import("../xyflow/types").RelationshipData;
976
+ data: import('../xyflow/types').RelationshipData;
977
977
  readonly id: string;
978
978
  readonly type: "relationship";
979
979
  }>;
980
- setState: (partial: import("@xyflow/react").ReactFlowState<XYFlowNode, {
980
+ setState: (partial: import('@xyflow/react').ReactFlowState<XYFlowNode, {
981
981
  source: string;
982
982
  target: string;
983
983
  sourceHandle?: string | null;
@@ -987,25 +987,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
987
987
  deletable?: boolean;
988
988
  selectable?: boolean;
989
989
  selected?: boolean;
990
- markerStart?: import("@xyflow/react").EdgeMarkerType;
991
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
990
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
991
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
992
992
  zIndex?: number;
993
993
  ariaLabel?: string;
994
994
  interactionWidth?: number;
995
- label?: import("react").ReactNode;
996
- labelStyle?: import("react").CSSProperties;
995
+ label?: import('react').ReactNode;
996
+ labelStyle?: import('react').CSSProperties;
997
997
  labelShowBg?: boolean;
998
- labelBgStyle?: import("react").CSSProperties;
998
+ labelBgStyle?: import('react').CSSProperties;
999
999
  labelBgPadding?: [number, number];
1000
1000
  labelBgBorderRadius?: number;
1001
- style?: import("react").CSSProperties;
1001
+ style?: import('react').CSSProperties;
1002
1002
  className?: string;
1003
- updatable?: import("@xyflow/react").EdgeUpdatable;
1003
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1004
1004
  focusable?: boolean;
1005
- data: import("../xyflow/types").RelationshipData;
1005
+ data: import('../xyflow/types').RelationshipData;
1006
1006
  readonly id: string;
1007
1007
  readonly type: "relationship";
1008
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
1008
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
1009
1009
  source: string;
1010
1010
  target: string;
1011
1011
  sourceHandle?: string | null;
@@ -1015,25 +1015,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1015
1015
  deletable?: boolean;
1016
1016
  selectable?: boolean;
1017
1017
  selected?: boolean;
1018
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1019
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1018
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1019
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1020
1020
  zIndex?: number;
1021
1021
  ariaLabel?: string;
1022
1022
  interactionWidth?: number;
1023
- label?: import("react").ReactNode;
1024
- labelStyle?: import("react").CSSProperties;
1023
+ label?: import('react').ReactNode;
1024
+ labelStyle?: import('react').CSSProperties;
1025
1025
  labelShowBg?: boolean;
1026
- labelBgStyle?: import("react").CSSProperties;
1026
+ labelBgStyle?: import('react').CSSProperties;
1027
1027
  labelBgPadding?: [number, number];
1028
1028
  labelBgBorderRadius?: number;
1029
- style?: import("react").CSSProperties;
1029
+ style?: import('react').CSSProperties;
1030
1030
  className?: string;
1031
- updatable?: import("@xyflow/react").EdgeUpdatable;
1031
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1032
1032
  focusable?: boolean;
1033
- data: import("../xyflow/types").RelationshipData;
1033
+ data: import('../xyflow/types').RelationshipData;
1034
1034
  readonly id: string;
1035
1035
  readonly type: "relationship";
1036
- }>> | ((state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1036
+ }>> | ((state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1037
1037
  source: string;
1038
1038
  target: string;
1039
1039
  sourceHandle?: string | null;
@@ -1043,25 +1043,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1043
1043
  deletable?: boolean;
1044
1044
  selectable?: boolean;
1045
1045
  selected?: boolean;
1046
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1047
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1046
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1047
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1048
1048
  zIndex?: number;
1049
1049
  ariaLabel?: string;
1050
1050
  interactionWidth?: number;
1051
- label?: import("react").ReactNode;
1052
- labelStyle?: import("react").CSSProperties;
1051
+ label?: import('react').ReactNode;
1052
+ labelStyle?: import('react').CSSProperties;
1053
1053
  labelShowBg?: boolean;
1054
- labelBgStyle?: import("react").CSSProperties;
1054
+ labelBgStyle?: import('react').CSSProperties;
1055
1055
  labelBgPadding?: [number, number];
1056
1056
  labelBgBorderRadius?: number;
1057
- style?: import("react").CSSProperties;
1057
+ style?: import('react').CSSProperties;
1058
1058
  className?: string;
1059
- updatable?: import("@xyflow/react").EdgeUpdatable;
1059
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1060
1060
  focusable?: boolean;
1061
- data: import("../xyflow/types").RelationshipData;
1061
+ data: import('../xyflow/types').RelationshipData;
1062
1062
  readonly id: string;
1063
1063
  readonly type: "relationship";
1064
- }>) => import("@xyflow/react").ReactFlowState<XYFlowNode, {
1064
+ }>) => import('@xyflow/react').ReactFlowState<XYFlowNode, {
1065
1065
  source: string;
1066
1066
  target: string;
1067
1067
  sourceHandle?: string | null;
@@ -1071,25 +1071,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1071
1071
  deletable?: boolean;
1072
1072
  selectable?: boolean;
1073
1073
  selected?: boolean;
1074
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1075
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1074
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1075
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1076
1076
  zIndex?: number;
1077
1077
  ariaLabel?: string;
1078
1078
  interactionWidth?: number;
1079
- label?: import("react").ReactNode;
1080
- labelStyle?: import("react").CSSProperties;
1079
+ label?: import('react').ReactNode;
1080
+ labelStyle?: import('react').CSSProperties;
1081
1081
  labelShowBg?: boolean;
1082
- labelBgStyle?: import("react").CSSProperties;
1082
+ labelBgStyle?: import('react').CSSProperties;
1083
1083
  labelBgPadding?: [number, number];
1084
1084
  labelBgBorderRadius?: number;
1085
- style?: import("react").CSSProperties;
1085
+ style?: import('react').CSSProperties;
1086
1086
  className?: string;
1087
- updatable?: import("@xyflow/react").EdgeUpdatable;
1087
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1088
1088
  focusable?: boolean;
1089
- data: import("../xyflow/types").RelationshipData;
1089
+ data: import('../xyflow/types').RelationshipData;
1090
1090
  readonly id: string;
1091
1091
  readonly type: "relationship";
1092
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
1092
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
1093
1093
  source: string;
1094
1094
  target: string;
1095
1095
  sourceHandle?: string | null;
@@ -1099,26 +1099,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1099
1099
  deletable?: boolean;
1100
1100
  selectable?: boolean;
1101
1101
  selected?: boolean;
1102
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1103
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1102
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1103
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1104
1104
  zIndex?: number;
1105
1105
  ariaLabel?: string;
1106
1106
  interactionWidth?: number;
1107
- label?: import("react").ReactNode;
1108
- labelStyle?: import("react").CSSProperties;
1107
+ label?: import('react').ReactNode;
1108
+ labelStyle?: import('react').CSSProperties;
1109
1109
  labelShowBg?: boolean;
1110
- labelBgStyle?: import("react").CSSProperties;
1110
+ labelBgStyle?: import('react').CSSProperties;
1111
1111
  labelBgPadding?: [number, number];
1112
1112
  labelBgBorderRadius?: number;
1113
- style?: import("react").CSSProperties;
1113
+ style?: import('react').CSSProperties;
1114
1114
  className?: string;
1115
- updatable?: import("@xyflow/react").EdgeUpdatable;
1115
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1116
1116
  focusable?: boolean;
1117
- data: import("../xyflow/types").RelationshipData;
1117
+ data: import('../xyflow/types').RelationshipData;
1118
1118
  readonly id: string;
1119
1119
  readonly type: "relationship";
1120
1120
  }>>), replace?: boolean | undefined) => void;
1121
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1121
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1122
1122
  source: string;
1123
1123
  target: string;
1124
1124
  sourceHandle?: string | null;
@@ -1128,25 +1128,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1128
1128
  deletable?: boolean;
1129
1129
  selectable?: boolean;
1130
1130
  selected?: boolean;
1131
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1132
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1131
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1132
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1133
1133
  zIndex?: number;
1134
1134
  ariaLabel?: string;
1135
1135
  interactionWidth?: number;
1136
- label?: import("react").ReactNode;
1137
- labelStyle?: import("react").CSSProperties;
1136
+ label?: import('react').ReactNode;
1137
+ labelStyle?: import('react').CSSProperties;
1138
1138
  labelShowBg?: boolean;
1139
- labelBgStyle?: import("react").CSSProperties;
1139
+ labelBgStyle?: import('react').CSSProperties;
1140
1140
  labelBgPadding?: [number, number];
1141
1141
  labelBgBorderRadius?: number;
1142
- style?: import("react").CSSProperties;
1142
+ style?: import('react').CSSProperties;
1143
1143
  className?: string;
1144
- updatable?: import("@xyflow/react").EdgeUpdatable;
1144
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1145
1145
  focusable?: boolean;
1146
- data: import("../xyflow/types").RelationshipData;
1146
+ data: import('../xyflow/types').RelationshipData;
1147
1147
  readonly id: string;
1148
1148
  readonly type: "relationship";
1149
- }>, prevState: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1149
+ }>, prevState: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1150
1150
  source: string;
1151
1151
  target: string;
1152
1152
  sourceHandle?: string | null;
@@ -1156,22 +1156,22 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1156
1156
  deletable?: boolean;
1157
1157
  selectable?: boolean;
1158
1158
  selected?: boolean;
1159
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1160
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1159
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1160
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1161
1161
  zIndex?: number;
1162
1162
  ariaLabel?: string;
1163
1163
  interactionWidth?: number;
1164
- label?: import("react").ReactNode;
1165
- labelStyle?: import("react").CSSProperties;
1164
+ label?: import('react').ReactNode;
1165
+ labelStyle?: import('react').CSSProperties;
1166
1166
  labelShowBg?: boolean;
1167
- labelBgStyle?: import("react").CSSProperties;
1167
+ labelBgStyle?: import('react').CSSProperties;
1168
1168
  labelBgPadding?: [number, number];
1169
1169
  labelBgBorderRadius?: number;
1170
- style?: import("react").CSSProperties;
1170
+ style?: import('react').CSSProperties;
1171
1171
  className?: string;
1172
- updatable?: import("@xyflow/react").EdgeUpdatable;
1172
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1173
1173
  focusable?: boolean;
1174
- data: import("../xyflow/types").RelationshipData;
1174
+ data: import('../xyflow/types').RelationshipData;
1175
1175
  readonly id: string;
1176
1176
  readonly type: "relationship";
1177
1177
  }>) => void) => () => void;
@@ -1215,15 +1215,15 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1215
1215
  positionCorrected: boolean;
1216
1216
  } | null;
1217
1217
  viewportChanged: boolean;
1218
- onChange: import("../LikeC4Diagram.props").OnChange | null | undefined;
1219
- onNavigateTo: import("../LikeC4Diagram.props").OnNavigateTo | null | undefined;
1220
- onNodeClick: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
1221
- onNodeContextMenu: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
1222
- onCanvasContextMenu: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
1223
- onEdgeClick: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
1224
- onEdgeContextMenu: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
1225
- onCanvasClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
1226
- onCanvasDblClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
1218
+ onChange: import('../LikeC4Diagram.props').OnChange | null | undefined;
1219
+ onNavigateTo: import('../LikeC4Diagram.props').OnNavigateTo | null | undefined;
1220
+ onNodeClick: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
1221
+ onNodeContextMenu: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
1222
+ onCanvasContextMenu: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
1223
+ onEdgeClick: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
1224
+ onEdgeContextMenu: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
1225
+ onCanvasClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
1226
+ onCanvasDblClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
1227
1227
  isDynamicView: () => boolean;
1228
1228
  updateView: (view: DiagramView) => void;
1229
1229
  focusOnNode: (nodeId: string) => void;
@@ -1236,7 +1236,7 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1236
1236
  triggerOnChange: (changes: NonEmptyArray<import("../LikeC4Diagram.props").Changes.ChangeElementStyle>) => void;
1237
1237
  triggerOnNavigateTo: (xynodeId: string, event: ReactMouseEvent<Element, MouseEvent>) => void;
1238
1238
  fitDiagram: (xyStore: {
1239
- getState: () => import("@xyflow/react").ReactFlowState<XYFlowNode, {
1239
+ getState: () => import('@xyflow/react').ReactFlowState<XYFlowNode, {
1240
1240
  source: string;
1241
1241
  target: string;
1242
1242
  sourceHandle?: string | null;
@@ -1246,26 +1246,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1246
1246
  deletable?: boolean;
1247
1247
  selectable?: boolean;
1248
1248
  selected?: boolean;
1249
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1250
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1249
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1250
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1251
1251
  zIndex?: number;
1252
1252
  ariaLabel?: string;
1253
1253
  interactionWidth?: number;
1254
- label?: import("react").ReactNode;
1255
- labelStyle?: import("react").CSSProperties;
1254
+ label?: import('react').ReactNode;
1255
+ labelStyle?: import('react').CSSProperties;
1256
1256
  labelShowBg?: boolean;
1257
- labelBgStyle?: import("react").CSSProperties;
1257
+ labelBgStyle?: import('react').CSSProperties;
1258
1258
  labelBgPadding?: [number, number];
1259
1259
  labelBgBorderRadius?: number;
1260
- style?: import("react").CSSProperties;
1260
+ style?: import('react').CSSProperties;
1261
1261
  className?: string;
1262
- updatable?: import("@xyflow/react").EdgeUpdatable;
1262
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1263
1263
  focusable?: boolean;
1264
- data: import("../xyflow/types").RelationshipData;
1264
+ data: import('../xyflow/types').RelationshipData;
1265
1265
  readonly id: string;
1266
1266
  readonly type: "relationship";
1267
1267
  }>;
1268
- setState: (partial: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1268
+ setState: (partial: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1269
1269
  source: string;
1270
1270
  target: string;
1271
1271
  sourceHandle?: string | null;
@@ -1275,25 +1275,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1275
1275
  deletable?: boolean;
1276
1276
  selectable?: boolean;
1277
1277
  selected?: boolean;
1278
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1279
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1278
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1279
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1280
1280
  zIndex?: number;
1281
1281
  ariaLabel?: string;
1282
1282
  interactionWidth?: number;
1283
- label?: import("react").ReactNode;
1284
- labelStyle?: import("react").CSSProperties;
1283
+ label?: import('react').ReactNode;
1284
+ labelStyle?: import('react').CSSProperties;
1285
1285
  labelShowBg?: boolean;
1286
- labelBgStyle?: import("react").CSSProperties;
1286
+ labelBgStyle?: import('react').CSSProperties;
1287
1287
  labelBgPadding?: [number, number];
1288
1288
  labelBgBorderRadius?: number;
1289
- style?: import("react").CSSProperties;
1289
+ style?: import('react').CSSProperties;
1290
1290
  className?: string;
1291
- updatable?: import("@xyflow/react").EdgeUpdatable;
1291
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1292
1292
  focusable?: boolean;
1293
- data: import("../xyflow/types").RelationshipData;
1293
+ data: import('../xyflow/types').RelationshipData;
1294
1294
  readonly id: string;
1295
1295
  readonly type: "relationship";
1296
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
1296
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
1297
1297
  source: string;
1298
1298
  target: string;
1299
1299
  sourceHandle?: string | null;
@@ -1303,25 +1303,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1303
1303
  deletable?: boolean;
1304
1304
  selectable?: boolean;
1305
1305
  selected?: boolean;
1306
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1307
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1306
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1307
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1308
1308
  zIndex?: number;
1309
1309
  ariaLabel?: string;
1310
1310
  interactionWidth?: number;
1311
- label?: import("react").ReactNode;
1312
- labelStyle?: import("react").CSSProperties;
1311
+ label?: import('react').ReactNode;
1312
+ labelStyle?: import('react').CSSProperties;
1313
1313
  labelShowBg?: boolean;
1314
- labelBgStyle?: import("react").CSSProperties;
1314
+ labelBgStyle?: import('react').CSSProperties;
1315
1315
  labelBgPadding?: [number, number];
1316
1316
  labelBgBorderRadius?: number;
1317
- style?: import("react").CSSProperties;
1317
+ style?: import('react').CSSProperties;
1318
1318
  className?: string;
1319
- updatable?: import("@xyflow/react").EdgeUpdatable;
1319
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1320
1320
  focusable?: boolean;
1321
- data: import("../xyflow/types").RelationshipData;
1321
+ data: import('../xyflow/types').RelationshipData;
1322
1322
  readonly id: string;
1323
1323
  readonly type: "relationship";
1324
- }>> | ((state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1324
+ }>> | ((state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1325
1325
  source: string;
1326
1326
  target: string;
1327
1327
  sourceHandle?: string | null;
@@ -1331,25 +1331,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1331
1331
  deletable?: boolean;
1332
1332
  selectable?: boolean;
1333
1333
  selected?: boolean;
1334
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1335
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1334
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1335
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1336
1336
  zIndex?: number;
1337
1337
  ariaLabel?: string;
1338
1338
  interactionWidth?: number;
1339
- label?: import("react").ReactNode;
1340
- labelStyle?: import("react").CSSProperties;
1339
+ label?: import('react').ReactNode;
1340
+ labelStyle?: import('react').CSSProperties;
1341
1341
  labelShowBg?: boolean;
1342
- labelBgStyle?: import("react").CSSProperties;
1342
+ labelBgStyle?: import('react').CSSProperties;
1343
1343
  labelBgPadding?: [number, number];
1344
1344
  labelBgBorderRadius?: number;
1345
- style?: import("react").CSSProperties;
1345
+ style?: import('react').CSSProperties;
1346
1346
  className?: string;
1347
- updatable?: import("@xyflow/react").EdgeUpdatable;
1347
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1348
1348
  focusable?: boolean;
1349
- data: import("../xyflow/types").RelationshipData;
1349
+ data: import('../xyflow/types').RelationshipData;
1350
1350
  readonly id: string;
1351
1351
  readonly type: "relationship";
1352
- }>) => import("@xyflow/react").ReactFlowState<XYFlowNode, {
1352
+ }>) => import('@xyflow/react').ReactFlowState<XYFlowNode, {
1353
1353
  source: string;
1354
1354
  target: string;
1355
1355
  sourceHandle?: string | null;
@@ -1359,25 +1359,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1359
1359
  deletable?: boolean;
1360
1360
  selectable?: boolean;
1361
1361
  selected?: boolean;
1362
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1363
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1362
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1363
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1364
1364
  zIndex?: number;
1365
1365
  ariaLabel?: string;
1366
1366
  interactionWidth?: number;
1367
- label?: import("react").ReactNode;
1368
- labelStyle?: import("react").CSSProperties;
1367
+ label?: import('react').ReactNode;
1368
+ labelStyle?: import('react').CSSProperties;
1369
1369
  labelShowBg?: boolean;
1370
- labelBgStyle?: import("react").CSSProperties;
1370
+ labelBgStyle?: import('react').CSSProperties;
1371
1371
  labelBgPadding?: [number, number];
1372
1372
  labelBgBorderRadius?: number;
1373
- style?: import("react").CSSProperties;
1373
+ style?: import('react').CSSProperties;
1374
1374
  className?: string;
1375
- updatable?: import("@xyflow/react").EdgeUpdatable;
1375
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1376
1376
  focusable?: boolean;
1377
- data: import("../xyflow/types").RelationshipData;
1377
+ data: import('../xyflow/types').RelationshipData;
1378
1378
  readonly id: string;
1379
1379
  readonly type: "relationship";
1380
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
1380
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
1381
1381
  source: string;
1382
1382
  target: string;
1383
1383
  sourceHandle?: string | null;
@@ -1387,26 +1387,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1387
1387
  deletable?: boolean;
1388
1388
  selectable?: boolean;
1389
1389
  selected?: boolean;
1390
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1391
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1390
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1391
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1392
1392
  zIndex?: number;
1393
1393
  ariaLabel?: string;
1394
1394
  interactionWidth?: number;
1395
- label?: import("react").ReactNode;
1396
- labelStyle?: import("react").CSSProperties;
1395
+ label?: import('react').ReactNode;
1396
+ labelStyle?: import('react').CSSProperties;
1397
1397
  labelShowBg?: boolean;
1398
- labelBgStyle?: import("react").CSSProperties;
1398
+ labelBgStyle?: import('react').CSSProperties;
1399
1399
  labelBgPadding?: [number, number];
1400
1400
  labelBgBorderRadius?: number;
1401
- style?: import("react").CSSProperties;
1401
+ style?: import('react').CSSProperties;
1402
1402
  className?: string;
1403
- updatable?: import("@xyflow/react").EdgeUpdatable;
1403
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1404
1404
  focusable?: boolean;
1405
- data: import("../xyflow/types").RelationshipData;
1405
+ data: import('../xyflow/types').RelationshipData;
1406
1406
  readonly id: string;
1407
1407
  readonly type: "relationship";
1408
1408
  }>>), replace?: boolean | undefined) => void;
1409
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1409
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1410
1410
  source: string;
1411
1411
  target: string;
1412
1412
  sourceHandle?: string | null;
@@ -1416,25 +1416,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1416
1416
  deletable?: boolean;
1417
1417
  selectable?: boolean;
1418
1418
  selected?: boolean;
1419
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1420
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1419
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1420
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1421
1421
  zIndex?: number;
1422
1422
  ariaLabel?: string;
1423
1423
  interactionWidth?: number;
1424
- label?: import("react").ReactNode;
1425
- labelStyle?: import("react").CSSProperties;
1424
+ label?: import('react').ReactNode;
1425
+ labelStyle?: import('react').CSSProperties;
1426
1426
  labelShowBg?: boolean;
1427
- labelBgStyle?: import("react").CSSProperties;
1427
+ labelBgStyle?: import('react').CSSProperties;
1428
1428
  labelBgPadding?: [number, number];
1429
1429
  labelBgBorderRadius?: number;
1430
- style?: import("react").CSSProperties;
1430
+ style?: import('react').CSSProperties;
1431
1431
  className?: string;
1432
- updatable?: import("@xyflow/react").EdgeUpdatable;
1432
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1433
1433
  focusable?: boolean;
1434
- data: import("../xyflow/types").RelationshipData;
1434
+ data: import('../xyflow/types').RelationshipData;
1435
1435
  readonly id: string;
1436
1436
  readonly type: "relationship";
1437
- }>, prevState: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1437
+ }>, prevState: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1438
1438
  source: string;
1439
1439
  target: string;
1440
1440
  sourceHandle?: string | null;
@@ -1444,22 +1444,22 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1444
1444
  deletable?: boolean;
1445
1445
  selectable?: boolean;
1446
1446
  selected?: boolean;
1447
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1448
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1447
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1448
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1449
1449
  zIndex?: number;
1450
1450
  ariaLabel?: string;
1451
1451
  interactionWidth?: number;
1452
- label?: import("react").ReactNode;
1453
- labelStyle?: import("react").CSSProperties;
1452
+ label?: import('react').ReactNode;
1453
+ labelStyle?: import('react').CSSProperties;
1454
1454
  labelShowBg?: boolean;
1455
- labelBgStyle?: import("react").CSSProperties;
1455
+ labelBgStyle?: import('react').CSSProperties;
1456
1456
  labelBgPadding?: [number, number];
1457
1457
  labelBgBorderRadius?: number;
1458
- style?: import("react").CSSProperties;
1458
+ style?: import('react').CSSProperties;
1459
1459
  className?: string;
1460
- updatable?: import("@xyflow/react").EdgeUpdatable;
1460
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1461
1461
  focusable?: boolean;
1462
- data: import("../xyflow/types").RelationshipData;
1462
+ data: import('../xyflow/types').RelationshipData;
1463
1463
  readonly id: string;
1464
1464
  readonly type: "relationship";
1465
1465
  }>) => void) => () => void;
@@ -1495,15 +1495,15 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1495
1495
  positionCorrected: boolean;
1496
1496
  } | null;
1497
1497
  viewportChanged: boolean;
1498
- onChange: import("../LikeC4Diagram.props").OnChange | null | undefined;
1499
- onNavigateTo: import("../LikeC4Diagram.props").OnNavigateTo | null | undefined;
1500
- onNodeClick: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
1501
- onNodeContextMenu: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
1502
- onCanvasContextMenu: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
1503
- onEdgeClick: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
1504
- onEdgeContextMenu: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
1505
- onCanvasClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
1506
- onCanvasDblClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
1498
+ onChange: import('../LikeC4Diagram.props').OnChange | null | undefined;
1499
+ onNavigateTo: import('../LikeC4Diagram.props').OnNavigateTo | null | undefined;
1500
+ onNodeClick: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
1501
+ onNodeContextMenu: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
1502
+ onCanvasContextMenu: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
1503
+ onEdgeClick: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
1504
+ onEdgeContextMenu: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
1505
+ onCanvasClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
1506
+ onCanvasDblClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
1507
1507
  isDynamicView: () => boolean;
1508
1508
  updateView: (view: DiagramView) => void;
1509
1509
  focusOnNode: (nodeId: string) => void;
@@ -1516,7 +1516,7 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1516
1516
  triggerOnChange: (changes: NonEmptyArray<import("../LikeC4Diagram.props").Changes.ChangeElementStyle>) => void;
1517
1517
  triggerOnNavigateTo: (xynodeId: string, event: ReactMouseEvent<Element, MouseEvent>) => void;
1518
1518
  fitDiagram: (xyStore: {
1519
- getState: () => import("@xyflow/react").ReactFlowState<XYFlowNode, {
1519
+ getState: () => import('@xyflow/react').ReactFlowState<XYFlowNode, {
1520
1520
  source: string;
1521
1521
  target: string;
1522
1522
  sourceHandle?: string | null;
@@ -1526,26 +1526,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1526
1526
  deletable?: boolean;
1527
1527
  selectable?: boolean;
1528
1528
  selected?: boolean;
1529
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1530
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1529
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1530
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1531
1531
  zIndex?: number;
1532
1532
  ariaLabel?: string;
1533
1533
  interactionWidth?: number;
1534
- label?: import("react").ReactNode;
1535
- labelStyle?: import("react").CSSProperties;
1534
+ label?: import('react').ReactNode;
1535
+ labelStyle?: import('react').CSSProperties;
1536
1536
  labelShowBg?: boolean;
1537
- labelBgStyle?: import("react").CSSProperties;
1537
+ labelBgStyle?: import('react').CSSProperties;
1538
1538
  labelBgPadding?: [number, number];
1539
1539
  labelBgBorderRadius?: number;
1540
- style?: import("react").CSSProperties;
1540
+ style?: import('react').CSSProperties;
1541
1541
  className?: string;
1542
- updatable?: import("@xyflow/react").EdgeUpdatable;
1542
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1543
1543
  focusable?: boolean;
1544
- data: import("../xyflow/types").RelationshipData;
1544
+ data: import('../xyflow/types').RelationshipData;
1545
1545
  readonly id: string;
1546
1546
  readonly type: "relationship";
1547
1547
  }>;
1548
- setState: (partial: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1548
+ setState: (partial: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1549
1549
  source: string;
1550
1550
  target: string;
1551
1551
  sourceHandle?: string | null;
@@ -1555,25 +1555,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1555
1555
  deletable?: boolean;
1556
1556
  selectable?: boolean;
1557
1557
  selected?: boolean;
1558
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1559
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1558
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1559
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1560
1560
  zIndex?: number;
1561
1561
  ariaLabel?: string;
1562
1562
  interactionWidth?: number;
1563
- label?: import("react").ReactNode;
1564
- labelStyle?: import("react").CSSProperties;
1563
+ label?: import('react').ReactNode;
1564
+ labelStyle?: import('react').CSSProperties;
1565
1565
  labelShowBg?: boolean;
1566
- labelBgStyle?: import("react").CSSProperties;
1566
+ labelBgStyle?: import('react').CSSProperties;
1567
1567
  labelBgPadding?: [number, number];
1568
1568
  labelBgBorderRadius?: number;
1569
- style?: import("react").CSSProperties;
1569
+ style?: import('react').CSSProperties;
1570
1570
  className?: string;
1571
- updatable?: import("@xyflow/react").EdgeUpdatable;
1571
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1572
1572
  focusable?: boolean;
1573
- data: import("../xyflow/types").RelationshipData;
1573
+ data: import('../xyflow/types').RelationshipData;
1574
1574
  readonly id: string;
1575
1575
  readonly type: "relationship";
1576
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
1576
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
1577
1577
  source: string;
1578
1578
  target: string;
1579
1579
  sourceHandle?: string | null;
@@ -1583,25 +1583,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1583
1583
  deletable?: boolean;
1584
1584
  selectable?: boolean;
1585
1585
  selected?: boolean;
1586
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1587
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1586
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1587
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1588
1588
  zIndex?: number;
1589
1589
  ariaLabel?: string;
1590
1590
  interactionWidth?: number;
1591
- label?: import("react").ReactNode;
1592
- labelStyle?: import("react").CSSProperties;
1591
+ label?: import('react').ReactNode;
1592
+ labelStyle?: import('react').CSSProperties;
1593
1593
  labelShowBg?: boolean;
1594
- labelBgStyle?: import("react").CSSProperties;
1594
+ labelBgStyle?: import('react').CSSProperties;
1595
1595
  labelBgPadding?: [number, number];
1596
1596
  labelBgBorderRadius?: number;
1597
- style?: import("react").CSSProperties;
1597
+ style?: import('react').CSSProperties;
1598
1598
  className?: string;
1599
- updatable?: import("@xyflow/react").EdgeUpdatable;
1599
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1600
1600
  focusable?: boolean;
1601
- data: import("../xyflow/types").RelationshipData;
1601
+ data: import('../xyflow/types').RelationshipData;
1602
1602
  readonly id: string;
1603
1603
  readonly type: "relationship";
1604
- }>> | ((state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1604
+ }>> | ((state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1605
1605
  source: string;
1606
1606
  target: string;
1607
1607
  sourceHandle?: string | null;
@@ -1611,25 +1611,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1611
1611
  deletable?: boolean;
1612
1612
  selectable?: boolean;
1613
1613
  selected?: boolean;
1614
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1615
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1614
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1615
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1616
1616
  zIndex?: number;
1617
1617
  ariaLabel?: string;
1618
1618
  interactionWidth?: number;
1619
- label?: import("react").ReactNode;
1620
- labelStyle?: import("react").CSSProperties;
1619
+ label?: import('react').ReactNode;
1620
+ labelStyle?: import('react').CSSProperties;
1621
1621
  labelShowBg?: boolean;
1622
- labelBgStyle?: import("react").CSSProperties;
1622
+ labelBgStyle?: import('react').CSSProperties;
1623
1623
  labelBgPadding?: [number, number];
1624
1624
  labelBgBorderRadius?: number;
1625
- style?: import("react").CSSProperties;
1625
+ style?: import('react').CSSProperties;
1626
1626
  className?: string;
1627
- updatable?: import("@xyflow/react").EdgeUpdatable;
1627
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1628
1628
  focusable?: boolean;
1629
- data: import("../xyflow/types").RelationshipData;
1629
+ data: import('../xyflow/types').RelationshipData;
1630
1630
  readonly id: string;
1631
1631
  readonly type: "relationship";
1632
- }>) => import("@xyflow/react").ReactFlowState<XYFlowNode, {
1632
+ }>) => import('@xyflow/react').ReactFlowState<XYFlowNode, {
1633
1633
  source: string;
1634
1634
  target: string;
1635
1635
  sourceHandle?: string | null;
@@ -1639,25 +1639,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1639
1639
  deletable?: boolean;
1640
1640
  selectable?: boolean;
1641
1641
  selected?: boolean;
1642
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1643
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1642
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1643
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1644
1644
  zIndex?: number;
1645
1645
  ariaLabel?: string;
1646
1646
  interactionWidth?: number;
1647
- label?: import("react").ReactNode;
1648
- labelStyle?: import("react").CSSProperties;
1647
+ label?: import('react').ReactNode;
1648
+ labelStyle?: import('react').CSSProperties;
1649
1649
  labelShowBg?: boolean;
1650
- labelBgStyle?: import("react").CSSProperties;
1650
+ labelBgStyle?: import('react').CSSProperties;
1651
1651
  labelBgPadding?: [number, number];
1652
1652
  labelBgBorderRadius?: number;
1653
- style?: import("react").CSSProperties;
1653
+ style?: import('react').CSSProperties;
1654
1654
  className?: string;
1655
- updatable?: import("@xyflow/react").EdgeUpdatable;
1655
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1656
1656
  focusable?: boolean;
1657
- data: import("../xyflow/types").RelationshipData;
1657
+ data: import('../xyflow/types').RelationshipData;
1658
1658
  readonly id: string;
1659
1659
  readonly type: "relationship";
1660
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
1660
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
1661
1661
  source: string;
1662
1662
  target: string;
1663
1663
  sourceHandle?: string | null;
@@ -1667,26 +1667,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1667
1667
  deletable?: boolean;
1668
1668
  selectable?: boolean;
1669
1669
  selected?: boolean;
1670
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1671
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1670
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1671
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1672
1672
  zIndex?: number;
1673
1673
  ariaLabel?: string;
1674
1674
  interactionWidth?: number;
1675
- label?: import("react").ReactNode;
1676
- labelStyle?: import("react").CSSProperties;
1675
+ label?: import('react').ReactNode;
1676
+ labelStyle?: import('react').CSSProperties;
1677
1677
  labelShowBg?: boolean;
1678
- labelBgStyle?: import("react").CSSProperties;
1678
+ labelBgStyle?: import('react').CSSProperties;
1679
1679
  labelBgPadding?: [number, number];
1680
1680
  labelBgBorderRadius?: number;
1681
- style?: import("react").CSSProperties;
1681
+ style?: import('react').CSSProperties;
1682
1682
  className?: string;
1683
- updatable?: import("@xyflow/react").EdgeUpdatable;
1683
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1684
1684
  focusable?: boolean;
1685
- data: import("../xyflow/types").RelationshipData;
1685
+ data: import('../xyflow/types').RelationshipData;
1686
1686
  readonly id: string;
1687
1687
  readonly type: "relationship";
1688
1688
  }>>), replace?: boolean | undefined) => void;
1689
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1689
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1690
1690
  source: string;
1691
1691
  target: string;
1692
1692
  sourceHandle?: string | null;
@@ -1696,25 +1696,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1696
1696
  deletable?: boolean;
1697
1697
  selectable?: boolean;
1698
1698
  selected?: boolean;
1699
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1700
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1699
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1700
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1701
1701
  zIndex?: number;
1702
1702
  ariaLabel?: string;
1703
1703
  interactionWidth?: number;
1704
- label?: import("react").ReactNode;
1705
- labelStyle?: import("react").CSSProperties;
1704
+ label?: import('react').ReactNode;
1705
+ labelStyle?: import('react').CSSProperties;
1706
1706
  labelShowBg?: boolean;
1707
- labelBgStyle?: import("react").CSSProperties;
1707
+ labelBgStyle?: import('react').CSSProperties;
1708
1708
  labelBgPadding?: [number, number];
1709
1709
  labelBgBorderRadius?: number;
1710
- style?: import("react").CSSProperties;
1710
+ style?: import('react').CSSProperties;
1711
1711
  className?: string;
1712
- updatable?: import("@xyflow/react").EdgeUpdatable;
1712
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1713
1713
  focusable?: boolean;
1714
- data: import("../xyflow/types").RelationshipData;
1714
+ data: import('../xyflow/types').RelationshipData;
1715
1715
  readonly id: string;
1716
1716
  readonly type: "relationship";
1717
- }>, prevState: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1717
+ }>, prevState: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1718
1718
  source: string;
1719
1719
  target: string;
1720
1720
  sourceHandle?: string | null;
@@ -1724,22 +1724,22 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1724
1724
  deletable?: boolean;
1725
1725
  selectable?: boolean;
1726
1726
  selected?: boolean;
1727
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1728
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1727
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1728
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1729
1729
  zIndex?: number;
1730
1730
  ariaLabel?: string;
1731
1731
  interactionWidth?: number;
1732
- label?: import("react").ReactNode;
1733
- labelStyle?: import("react").CSSProperties;
1732
+ label?: import('react').ReactNode;
1733
+ labelStyle?: import('react').CSSProperties;
1734
1734
  labelShowBg?: boolean;
1735
- labelBgStyle?: import("react").CSSProperties;
1735
+ labelBgStyle?: import('react').CSSProperties;
1736
1736
  labelBgPadding?: [number, number];
1737
1737
  labelBgBorderRadius?: number;
1738
- style?: import("react").CSSProperties;
1738
+ style?: import('react').CSSProperties;
1739
1739
  className?: string;
1740
- updatable?: import("@xyflow/react").EdgeUpdatable;
1740
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1741
1741
  focusable?: boolean;
1742
- data: import("../xyflow/types").RelationshipData;
1742
+ data: import('../xyflow/types').RelationshipData;
1743
1743
  readonly id: string;
1744
1744
  readonly type: "relationship";
1745
1745
  }>) => void) => () => void;
@@ -1775,15 +1775,15 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1775
1775
  positionCorrected: boolean;
1776
1776
  } | null;
1777
1777
  viewportChanged: boolean;
1778
- onChange: import("../LikeC4Diagram.props").OnChange | null | undefined;
1779
- onNavigateTo: import("../LikeC4Diagram.props").OnNavigateTo | null | undefined;
1780
- onNodeClick: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
1781
- onNodeContextMenu: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
1782
- onCanvasContextMenu: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
1783
- onEdgeClick: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
1784
- onEdgeContextMenu: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
1785
- onCanvasClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
1786
- onCanvasDblClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
1778
+ onChange: import('../LikeC4Diagram.props').OnChange | null | undefined;
1779
+ onNavigateTo: import('../LikeC4Diagram.props').OnNavigateTo | null | undefined;
1780
+ onNodeClick: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
1781
+ onNodeContextMenu: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
1782
+ onCanvasContextMenu: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
1783
+ onEdgeClick: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
1784
+ onEdgeContextMenu: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
1785
+ onCanvasClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
1786
+ onCanvasDblClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
1787
1787
  isDynamicView: () => boolean;
1788
1788
  updateView: (view: DiagramView) => void;
1789
1789
  focusOnNode: (nodeId: string) => void;
@@ -1796,7 +1796,7 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1796
1796
  triggerOnChange: (changes: NonEmptyArray<import("../LikeC4Diagram.props").Changes.ChangeElementStyle>) => void;
1797
1797
  triggerOnNavigateTo: (xynodeId: string, event: ReactMouseEvent<Element, MouseEvent>) => void;
1798
1798
  fitDiagram: (xyStore: {
1799
- getState: () => import("@xyflow/react").ReactFlowState<XYFlowNode, {
1799
+ getState: () => import('@xyflow/react').ReactFlowState<XYFlowNode, {
1800
1800
  source: string;
1801
1801
  target: string;
1802
1802
  sourceHandle?: string | null;
@@ -1806,26 +1806,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1806
1806
  deletable?: boolean;
1807
1807
  selectable?: boolean;
1808
1808
  selected?: boolean;
1809
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1810
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1809
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1810
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1811
1811
  zIndex?: number;
1812
1812
  ariaLabel?: string;
1813
1813
  interactionWidth?: number;
1814
- label?: import("react").ReactNode;
1815
- labelStyle?: import("react").CSSProperties;
1814
+ label?: import('react').ReactNode;
1815
+ labelStyle?: import('react').CSSProperties;
1816
1816
  labelShowBg?: boolean;
1817
- labelBgStyle?: import("react").CSSProperties;
1817
+ labelBgStyle?: import('react').CSSProperties;
1818
1818
  labelBgPadding?: [number, number];
1819
1819
  labelBgBorderRadius?: number;
1820
- style?: import("react").CSSProperties;
1820
+ style?: import('react').CSSProperties;
1821
1821
  className?: string;
1822
- updatable?: import("@xyflow/react").EdgeUpdatable;
1822
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1823
1823
  focusable?: boolean;
1824
- data: import("../xyflow/types").RelationshipData;
1824
+ data: import('../xyflow/types').RelationshipData;
1825
1825
  readonly id: string;
1826
1826
  readonly type: "relationship";
1827
1827
  }>;
1828
- setState: (partial: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1828
+ setState: (partial: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1829
1829
  source: string;
1830
1830
  target: string;
1831
1831
  sourceHandle?: string | null;
@@ -1835,25 +1835,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1835
1835
  deletable?: boolean;
1836
1836
  selectable?: boolean;
1837
1837
  selected?: boolean;
1838
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1839
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1838
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1839
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1840
1840
  zIndex?: number;
1841
1841
  ariaLabel?: string;
1842
1842
  interactionWidth?: number;
1843
- label?: import("react").ReactNode;
1844
- labelStyle?: import("react").CSSProperties;
1843
+ label?: import('react').ReactNode;
1844
+ labelStyle?: import('react').CSSProperties;
1845
1845
  labelShowBg?: boolean;
1846
- labelBgStyle?: import("react").CSSProperties;
1846
+ labelBgStyle?: import('react').CSSProperties;
1847
1847
  labelBgPadding?: [number, number];
1848
1848
  labelBgBorderRadius?: number;
1849
- style?: import("react").CSSProperties;
1849
+ style?: import('react').CSSProperties;
1850
1850
  className?: string;
1851
- updatable?: import("@xyflow/react").EdgeUpdatable;
1851
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1852
1852
  focusable?: boolean;
1853
- data: import("../xyflow/types").RelationshipData;
1853
+ data: import('../xyflow/types').RelationshipData;
1854
1854
  readonly id: string;
1855
1855
  readonly type: "relationship";
1856
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
1856
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
1857
1857
  source: string;
1858
1858
  target: string;
1859
1859
  sourceHandle?: string | null;
@@ -1863,25 +1863,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1863
1863
  deletable?: boolean;
1864
1864
  selectable?: boolean;
1865
1865
  selected?: boolean;
1866
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1867
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1866
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1867
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1868
1868
  zIndex?: number;
1869
1869
  ariaLabel?: string;
1870
1870
  interactionWidth?: number;
1871
- label?: import("react").ReactNode;
1872
- labelStyle?: import("react").CSSProperties;
1871
+ label?: import('react').ReactNode;
1872
+ labelStyle?: import('react').CSSProperties;
1873
1873
  labelShowBg?: boolean;
1874
- labelBgStyle?: import("react").CSSProperties;
1874
+ labelBgStyle?: import('react').CSSProperties;
1875
1875
  labelBgPadding?: [number, number];
1876
1876
  labelBgBorderRadius?: number;
1877
- style?: import("react").CSSProperties;
1877
+ style?: import('react').CSSProperties;
1878
1878
  className?: string;
1879
- updatable?: import("@xyflow/react").EdgeUpdatable;
1879
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1880
1880
  focusable?: boolean;
1881
- data: import("../xyflow/types").RelationshipData;
1881
+ data: import('../xyflow/types').RelationshipData;
1882
1882
  readonly id: string;
1883
1883
  readonly type: "relationship";
1884
- }>> | ((state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1884
+ }>> | ((state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1885
1885
  source: string;
1886
1886
  target: string;
1887
1887
  sourceHandle?: string | null;
@@ -1891,25 +1891,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1891
1891
  deletable?: boolean;
1892
1892
  selectable?: boolean;
1893
1893
  selected?: boolean;
1894
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1895
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1894
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1895
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1896
1896
  zIndex?: number;
1897
1897
  ariaLabel?: string;
1898
1898
  interactionWidth?: number;
1899
- label?: import("react").ReactNode;
1900
- labelStyle?: import("react").CSSProperties;
1899
+ label?: import('react').ReactNode;
1900
+ labelStyle?: import('react').CSSProperties;
1901
1901
  labelShowBg?: boolean;
1902
- labelBgStyle?: import("react").CSSProperties;
1902
+ labelBgStyle?: import('react').CSSProperties;
1903
1903
  labelBgPadding?: [number, number];
1904
1904
  labelBgBorderRadius?: number;
1905
- style?: import("react").CSSProperties;
1905
+ style?: import('react').CSSProperties;
1906
1906
  className?: string;
1907
- updatable?: import("@xyflow/react").EdgeUpdatable;
1907
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1908
1908
  focusable?: boolean;
1909
- data: import("../xyflow/types").RelationshipData;
1909
+ data: import('../xyflow/types').RelationshipData;
1910
1910
  readonly id: string;
1911
1911
  readonly type: "relationship";
1912
- }>) => import("@xyflow/react").ReactFlowState<XYFlowNode, {
1912
+ }>) => import('@xyflow/react').ReactFlowState<XYFlowNode, {
1913
1913
  source: string;
1914
1914
  target: string;
1915
1915
  sourceHandle?: string | null;
@@ -1919,25 +1919,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1919
1919
  deletable?: boolean;
1920
1920
  selectable?: boolean;
1921
1921
  selected?: boolean;
1922
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1923
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1922
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1923
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1924
1924
  zIndex?: number;
1925
1925
  ariaLabel?: string;
1926
1926
  interactionWidth?: number;
1927
- label?: import("react").ReactNode;
1928
- labelStyle?: import("react").CSSProperties;
1927
+ label?: import('react').ReactNode;
1928
+ labelStyle?: import('react').CSSProperties;
1929
1929
  labelShowBg?: boolean;
1930
- labelBgStyle?: import("react").CSSProperties;
1930
+ labelBgStyle?: import('react').CSSProperties;
1931
1931
  labelBgPadding?: [number, number];
1932
1932
  labelBgBorderRadius?: number;
1933
- style?: import("react").CSSProperties;
1933
+ style?: import('react').CSSProperties;
1934
1934
  className?: string;
1935
- updatable?: import("@xyflow/react").EdgeUpdatable;
1935
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1936
1936
  focusable?: boolean;
1937
- data: import("../xyflow/types").RelationshipData;
1937
+ data: import('../xyflow/types').RelationshipData;
1938
1938
  readonly id: string;
1939
1939
  readonly type: "relationship";
1940
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
1940
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
1941
1941
  source: string;
1942
1942
  target: string;
1943
1943
  sourceHandle?: string | null;
@@ -1947,26 +1947,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1947
1947
  deletable?: boolean;
1948
1948
  selectable?: boolean;
1949
1949
  selected?: boolean;
1950
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1951
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1950
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1951
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1952
1952
  zIndex?: number;
1953
1953
  ariaLabel?: string;
1954
1954
  interactionWidth?: number;
1955
- label?: import("react").ReactNode;
1956
- labelStyle?: import("react").CSSProperties;
1955
+ label?: import('react').ReactNode;
1956
+ labelStyle?: import('react').CSSProperties;
1957
1957
  labelShowBg?: boolean;
1958
- labelBgStyle?: import("react").CSSProperties;
1958
+ labelBgStyle?: import('react').CSSProperties;
1959
1959
  labelBgPadding?: [number, number];
1960
1960
  labelBgBorderRadius?: number;
1961
- style?: import("react").CSSProperties;
1961
+ style?: import('react').CSSProperties;
1962
1962
  className?: string;
1963
- updatable?: import("@xyflow/react").EdgeUpdatable;
1963
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1964
1964
  focusable?: boolean;
1965
- data: import("../xyflow/types").RelationshipData;
1965
+ data: import('../xyflow/types').RelationshipData;
1966
1966
  readonly id: string;
1967
1967
  readonly type: "relationship";
1968
1968
  }>>), replace?: boolean | undefined) => void;
1969
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1969
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1970
1970
  source: string;
1971
1971
  target: string;
1972
1972
  sourceHandle?: string | null;
@@ -1976,25 +1976,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
1976
1976
  deletable?: boolean;
1977
1977
  selectable?: boolean;
1978
1978
  selected?: boolean;
1979
- markerStart?: import("@xyflow/react").EdgeMarkerType;
1980
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
1979
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
1980
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
1981
1981
  zIndex?: number;
1982
1982
  ariaLabel?: string;
1983
1983
  interactionWidth?: number;
1984
- label?: import("react").ReactNode;
1985
- labelStyle?: import("react").CSSProperties;
1984
+ label?: import('react').ReactNode;
1985
+ labelStyle?: import('react').CSSProperties;
1986
1986
  labelShowBg?: boolean;
1987
- labelBgStyle?: import("react").CSSProperties;
1987
+ labelBgStyle?: import('react').CSSProperties;
1988
1988
  labelBgPadding?: [number, number];
1989
1989
  labelBgBorderRadius?: number;
1990
- style?: import("react").CSSProperties;
1990
+ style?: import('react').CSSProperties;
1991
1991
  className?: string;
1992
- updatable?: import("@xyflow/react").EdgeUpdatable;
1992
+ updatable?: import('@xyflow/react').EdgeUpdatable;
1993
1993
  focusable?: boolean;
1994
- data: import("../xyflow/types").RelationshipData;
1994
+ data: import('../xyflow/types').RelationshipData;
1995
1995
  readonly id: string;
1996
1996
  readonly type: "relationship";
1997
- }>, prevState: import("@xyflow/react").ReactFlowState<XYFlowNode, {
1997
+ }>, prevState: import('@xyflow/react').ReactFlowState<XYFlowNode, {
1998
1998
  source: string;
1999
1999
  target: string;
2000
2000
  sourceHandle?: string | null;
@@ -2004,22 +2004,22 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2004
2004
  deletable?: boolean;
2005
2005
  selectable?: boolean;
2006
2006
  selected?: boolean;
2007
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2008
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2007
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2008
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2009
2009
  zIndex?: number;
2010
2010
  ariaLabel?: string;
2011
2011
  interactionWidth?: number;
2012
- label?: import("react").ReactNode;
2013
- labelStyle?: import("react").CSSProperties;
2012
+ label?: import('react').ReactNode;
2013
+ labelStyle?: import('react').CSSProperties;
2014
2014
  labelShowBg?: boolean;
2015
- labelBgStyle?: import("react").CSSProperties;
2015
+ labelBgStyle?: import('react').CSSProperties;
2016
2016
  labelBgPadding?: [number, number];
2017
2017
  labelBgBorderRadius?: number;
2018
- style?: import("react").CSSProperties;
2018
+ style?: import('react').CSSProperties;
2019
2019
  className?: string;
2020
- updatable?: import("@xyflow/react").EdgeUpdatable;
2020
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2021
2021
  focusable?: boolean;
2022
- data: import("../xyflow/types").RelationshipData;
2022
+ data: import('../xyflow/types').RelationshipData;
2023
2023
  readonly id: string;
2024
2024
  readonly type: "relationship";
2025
2025
  }>) => void) => () => void;
@@ -2055,15 +2055,15 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2055
2055
  positionCorrected: boolean;
2056
2056
  } | null;
2057
2057
  viewportChanged: boolean;
2058
- onChange: import("../LikeC4Diagram.props").OnChange | null | undefined;
2059
- onNavigateTo: import("../LikeC4Diagram.props").OnNavigateTo | null | undefined;
2060
- onNodeClick: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
2061
- onNodeContextMenu: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
2062
- onCanvasContextMenu: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
2063
- onEdgeClick: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
2064
- onEdgeContextMenu: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
2065
- onCanvasClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
2066
- onCanvasDblClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
2058
+ onChange: import('../LikeC4Diagram.props').OnChange | null | undefined;
2059
+ onNavigateTo: import('../LikeC4Diagram.props').OnNavigateTo | null | undefined;
2060
+ onNodeClick: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
2061
+ onNodeContextMenu: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
2062
+ onCanvasContextMenu: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
2063
+ onEdgeClick: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
2064
+ onEdgeContextMenu: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
2065
+ onCanvasClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
2066
+ onCanvasDblClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
2067
2067
  isDynamicView: () => boolean;
2068
2068
  updateView: (view: DiagramView) => void;
2069
2069
  focusOnNode: (nodeId: string) => void;
@@ -2076,7 +2076,7 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2076
2076
  triggerOnChange: (changes: NonEmptyArray<import("../LikeC4Diagram.props").Changes.ChangeElementStyle>) => void;
2077
2077
  triggerOnNavigateTo: (xynodeId: string, event: ReactMouseEvent<Element, MouseEvent>) => void;
2078
2078
  fitDiagram: (xyStore: {
2079
- getState: () => import("@xyflow/react").ReactFlowState<XYFlowNode, {
2079
+ getState: () => import('@xyflow/react').ReactFlowState<XYFlowNode, {
2080
2080
  source: string;
2081
2081
  target: string;
2082
2082
  sourceHandle?: string | null;
@@ -2086,26 +2086,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2086
2086
  deletable?: boolean;
2087
2087
  selectable?: boolean;
2088
2088
  selected?: boolean;
2089
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2090
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2089
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2090
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2091
2091
  zIndex?: number;
2092
2092
  ariaLabel?: string;
2093
2093
  interactionWidth?: number;
2094
- label?: import("react").ReactNode;
2095
- labelStyle?: import("react").CSSProperties;
2094
+ label?: import('react').ReactNode;
2095
+ labelStyle?: import('react').CSSProperties;
2096
2096
  labelShowBg?: boolean;
2097
- labelBgStyle?: import("react").CSSProperties;
2097
+ labelBgStyle?: import('react').CSSProperties;
2098
2098
  labelBgPadding?: [number, number];
2099
2099
  labelBgBorderRadius?: number;
2100
- style?: import("react").CSSProperties;
2100
+ style?: import('react').CSSProperties;
2101
2101
  className?: string;
2102
- updatable?: import("@xyflow/react").EdgeUpdatable;
2102
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2103
2103
  focusable?: boolean;
2104
- data: import("../xyflow/types").RelationshipData;
2104
+ data: import('../xyflow/types').RelationshipData;
2105
2105
  readonly id: string;
2106
2106
  readonly type: "relationship";
2107
2107
  }>;
2108
- setState: (partial: import("@xyflow/react").ReactFlowState<XYFlowNode, {
2108
+ setState: (partial: import('@xyflow/react').ReactFlowState<XYFlowNode, {
2109
2109
  source: string;
2110
2110
  target: string;
2111
2111
  sourceHandle?: string | null;
@@ -2115,25 +2115,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2115
2115
  deletable?: boolean;
2116
2116
  selectable?: boolean;
2117
2117
  selected?: boolean;
2118
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2119
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2118
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2119
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2120
2120
  zIndex?: number;
2121
2121
  ariaLabel?: string;
2122
2122
  interactionWidth?: number;
2123
- label?: import("react").ReactNode;
2124
- labelStyle?: import("react").CSSProperties;
2123
+ label?: import('react').ReactNode;
2124
+ labelStyle?: import('react').CSSProperties;
2125
2125
  labelShowBg?: boolean;
2126
- labelBgStyle?: import("react").CSSProperties;
2126
+ labelBgStyle?: import('react').CSSProperties;
2127
2127
  labelBgPadding?: [number, number];
2128
2128
  labelBgBorderRadius?: number;
2129
- style?: import("react").CSSProperties;
2129
+ style?: import('react').CSSProperties;
2130
2130
  className?: string;
2131
- updatable?: import("@xyflow/react").EdgeUpdatable;
2131
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2132
2132
  focusable?: boolean;
2133
- data: import("../xyflow/types").RelationshipData;
2133
+ data: import('../xyflow/types').RelationshipData;
2134
2134
  readonly id: string;
2135
2135
  readonly type: "relationship";
2136
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
2136
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
2137
2137
  source: string;
2138
2138
  target: string;
2139
2139
  sourceHandle?: string | null;
@@ -2143,25 +2143,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2143
2143
  deletable?: boolean;
2144
2144
  selectable?: boolean;
2145
2145
  selected?: boolean;
2146
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2147
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2146
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2147
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2148
2148
  zIndex?: number;
2149
2149
  ariaLabel?: string;
2150
2150
  interactionWidth?: number;
2151
- label?: import("react").ReactNode;
2152
- labelStyle?: import("react").CSSProperties;
2151
+ label?: import('react').ReactNode;
2152
+ labelStyle?: import('react').CSSProperties;
2153
2153
  labelShowBg?: boolean;
2154
- labelBgStyle?: import("react").CSSProperties;
2154
+ labelBgStyle?: import('react').CSSProperties;
2155
2155
  labelBgPadding?: [number, number];
2156
2156
  labelBgBorderRadius?: number;
2157
- style?: import("react").CSSProperties;
2157
+ style?: import('react').CSSProperties;
2158
2158
  className?: string;
2159
- updatable?: import("@xyflow/react").EdgeUpdatable;
2159
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2160
2160
  focusable?: boolean;
2161
- data: import("../xyflow/types").RelationshipData;
2161
+ data: import('../xyflow/types').RelationshipData;
2162
2162
  readonly id: string;
2163
2163
  readonly type: "relationship";
2164
- }>> | ((state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
2164
+ }>> | ((state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
2165
2165
  source: string;
2166
2166
  target: string;
2167
2167
  sourceHandle?: string | null;
@@ -2171,25 +2171,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2171
2171
  deletable?: boolean;
2172
2172
  selectable?: boolean;
2173
2173
  selected?: boolean;
2174
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2175
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2174
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2175
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2176
2176
  zIndex?: number;
2177
2177
  ariaLabel?: string;
2178
2178
  interactionWidth?: number;
2179
- label?: import("react").ReactNode;
2180
- labelStyle?: import("react").CSSProperties;
2179
+ label?: import('react').ReactNode;
2180
+ labelStyle?: import('react').CSSProperties;
2181
2181
  labelShowBg?: boolean;
2182
- labelBgStyle?: import("react").CSSProperties;
2182
+ labelBgStyle?: import('react').CSSProperties;
2183
2183
  labelBgPadding?: [number, number];
2184
2184
  labelBgBorderRadius?: number;
2185
- style?: import("react").CSSProperties;
2185
+ style?: import('react').CSSProperties;
2186
2186
  className?: string;
2187
- updatable?: import("@xyflow/react").EdgeUpdatable;
2187
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2188
2188
  focusable?: boolean;
2189
- data: import("../xyflow/types").RelationshipData;
2189
+ data: import('../xyflow/types').RelationshipData;
2190
2190
  readonly id: string;
2191
2191
  readonly type: "relationship";
2192
- }>) => import("@xyflow/react").ReactFlowState<XYFlowNode, {
2192
+ }>) => import('@xyflow/react').ReactFlowState<XYFlowNode, {
2193
2193
  source: string;
2194
2194
  target: string;
2195
2195
  sourceHandle?: string | null;
@@ -2199,25 +2199,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2199
2199
  deletable?: boolean;
2200
2200
  selectable?: boolean;
2201
2201
  selected?: boolean;
2202
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2203
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2202
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2203
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2204
2204
  zIndex?: number;
2205
2205
  ariaLabel?: string;
2206
2206
  interactionWidth?: number;
2207
- label?: import("react").ReactNode;
2208
- labelStyle?: import("react").CSSProperties;
2207
+ label?: import('react').ReactNode;
2208
+ labelStyle?: import('react').CSSProperties;
2209
2209
  labelShowBg?: boolean;
2210
- labelBgStyle?: import("react").CSSProperties;
2210
+ labelBgStyle?: import('react').CSSProperties;
2211
2211
  labelBgPadding?: [number, number];
2212
2212
  labelBgBorderRadius?: number;
2213
- style?: import("react").CSSProperties;
2213
+ style?: import('react').CSSProperties;
2214
2214
  className?: string;
2215
- updatable?: import("@xyflow/react").EdgeUpdatable;
2215
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2216
2216
  focusable?: boolean;
2217
- data: import("../xyflow/types").RelationshipData;
2217
+ data: import('../xyflow/types').RelationshipData;
2218
2218
  readonly id: string;
2219
2219
  readonly type: "relationship";
2220
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
2220
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
2221
2221
  source: string;
2222
2222
  target: string;
2223
2223
  sourceHandle?: string | null;
@@ -2227,26 +2227,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2227
2227
  deletable?: boolean;
2228
2228
  selectable?: boolean;
2229
2229
  selected?: boolean;
2230
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2231
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2230
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2231
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2232
2232
  zIndex?: number;
2233
2233
  ariaLabel?: string;
2234
2234
  interactionWidth?: number;
2235
- label?: import("react").ReactNode;
2236
- labelStyle?: import("react").CSSProperties;
2235
+ label?: import('react').ReactNode;
2236
+ labelStyle?: import('react').CSSProperties;
2237
2237
  labelShowBg?: boolean;
2238
- labelBgStyle?: import("react").CSSProperties;
2238
+ labelBgStyle?: import('react').CSSProperties;
2239
2239
  labelBgPadding?: [number, number];
2240
2240
  labelBgBorderRadius?: number;
2241
- style?: import("react").CSSProperties;
2241
+ style?: import('react').CSSProperties;
2242
2242
  className?: string;
2243
- updatable?: import("@xyflow/react").EdgeUpdatable;
2243
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2244
2244
  focusable?: boolean;
2245
- data: import("../xyflow/types").RelationshipData;
2245
+ data: import('../xyflow/types').RelationshipData;
2246
2246
  readonly id: string;
2247
2247
  readonly type: "relationship";
2248
2248
  }>>), replace?: boolean | undefined) => void;
2249
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
2249
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
2250
2250
  source: string;
2251
2251
  target: string;
2252
2252
  sourceHandle?: string | null;
@@ -2256,25 +2256,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2256
2256
  deletable?: boolean;
2257
2257
  selectable?: boolean;
2258
2258
  selected?: boolean;
2259
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2260
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2259
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2260
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2261
2261
  zIndex?: number;
2262
2262
  ariaLabel?: string;
2263
2263
  interactionWidth?: number;
2264
- label?: import("react").ReactNode;
2265
- labelStyle?: import("react").CSSProperties;
2264
+ label?: import('react').ReactNode;
2265
+ labelStyle?: import('react').CSSProperties;
2266
2266
  labelShowBg?: boolean;
2267
- labelBgStyle?: import("react").CSSProperties;
2267
+ labelBgStyle?: import('react').CSSProperties;
2268
2268
  labelBgPadding?: [number, number];
2269
2269
  labelBgBorderRadius?: number;
2270
- style?: import("react").CSSProperties;
2270
+ style?: import('react').CSSProperties;
2271
2271
  className?: string;
2272
- updatable?: import("@xyflow/react").EdgeUpdatable;
2272
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2273
2273
  focusable?: boolean;
2274
- data: import("../xyflow/types").RelationshipData;
2274
+ data: import('../xyflow/types').RelationshipData;
2275
2275
  readonly id: string;
2276
2276
  readonly type: "relationship";
2277
- }>, prevState: import("@xyflow/react").ReactFlowState<XYFlowNode, {
2277
+ }>, prevState: import('@xyflow/react').ReactFlowState<XYFlowNode, {
2278
2278
  source: string;
2279
2279
  target: string;
2280
2280
  sourceHandle?: string | null;
@@ -2284,22 +2284,22 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2284
2284
  deletable?: boolean;
2285
2285
  selectable?: boolean;
2286
2286
  selected?: boolean;
2287
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2288
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2287
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2288
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2289
2289
  zIndex?: number;
2290
2290
  ariaLabel?: string;
2291
2291
  interactionWidth?: number;
2292
- label?: import("react").ReactNode;
2293
- labelStyle?: import("react").CSSProperties;
2292
+ label?: import('react').ReactNode;
2293
+ labelStyle?: import('react').CSSProperties;
2294
2294
  labelShowBg?: boolean;
2295
- labelBgStyle?: import("react").CSSProperties;
2295
+ labelBgStyle?: import('react').CSSProperties;
2296
2296
  labelBgPadding?: [number, number];
2297
2297
  labelBgBorderRadius?: number;
2298
- style?: import("react").CSSProperties;
2298
+ style?: import('react').CSSProperties;
2299
2299
  className?: string;
2300
- updatable?: import("@xyflow/react").EdgeUpdatable;
2300
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2301
2301
  focusable?: boolean;
2302
- data: import("../xyflow/types").RelationshipData;
2302
+ data: import('../xyflow/types').RelationshipData;
2303
2303
  readonly id: string;
2304
2304
  readonly type: "relationship";
2305
2305
  }>) => void) => () => void;
@@ -2335,15 +2335,15 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2335
2335
  positionCorrected: boolean;
2336
2336
  } | null;
2337
2337
  viewportChanged: boolean;
2338
- onChange: import("../LikeC4Diagram.props").OnChange | null | undefined;
2339
- onNavigateTo: import("../LikeC4Diagram.props").OnNavigateTo | null | undefined;
2340
- onNodeClick: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
2341
- onNodeContextMenu: import("../LikeC4Diagram.props").OnNodeClick | null | undefined;
2342
- onCanvasContextMenu: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
2343
- onEdgeClick: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
2344
- onEdgeContextMenu: import("../LikeC4Diagram.props").OnEdgeClick | null | undefined;
2345
- onCanvasClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
2346
- onCanvasDblClick: import("../LikeC4Diagram.props").OnCanvasClick | null | undefined;
2338
+ onChange: import('../LikeC4Diagram.props').OnChange | null | undefined;
2339
+ onNavigateTo: import('../LikeC4Diagram.props').OnNavigateTo | null | undefined;
2340
+ onNodeClick: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
2341
+ onNodeContextMenu: import('../LikeC4Diagram.props').OnNodeClick | null | undefined;
2342
+ onCanvasContextMenu: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
2343
+ onEdgeClick: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
2344
+ onEdgeContextMenu: import('../LikeC4Diagram.props').OnEdgeClick | null | undefined;
2345
+ onCanvasClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
2346
+ onCanvasDblClick: import('../LikeC4Diagram.props').OnCanvasClick | null | undefined;
2347
2347
  isDynamicView: () => boolean;
2348
2348
  updateView: (view: DiagramView) => void;
2349
2349
  focusOnNode: (nodeId: string) => void;
@@ -2356,7 +2356,7 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2356
2356
  triggerOnChange: (changes: NonEmptyArray<import("../LikeC4Diagram.props").Changes.ChangeElementStyle>) => void;
2357
2357
  triggerOnNavigateTo: (xynodeId: string, event: ReactMouseEvent<Element, MouseEvent>) => void;
2358
2358
  fitDiagram: (xyStore: {
2359
- getState: () => import("@xyflow/react").ReactFlowState<XYFlowNode, {
2359
+ getState: () => import('@xyflow/react').ReactFlowState<XYFlowNode, {
2360
2360
  source: string;
2361
2361
  target: string;
2362
2362
  sourceHandle?: string | null;
@@ -2366,26 +2366,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2366
2366
  deletable?: boolean;
2367
2367
  selectable?: boolean;
2368
2368
  selected?: boolean;
2369
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2370
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2369
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2370
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2371
2371
  zIndex?: number;
2372
2372
  ariaLabel?: string;
2373
2373
  interactionWidth?: number;
2374
- label?: import("react").ReactNode;
2375
- labelStyle?: import("react").CSSProperties;
2374
+ label?: import('react').ReactNode;
2375
+ labelStyle?: import('react').CSSProperties;
2376
2376
  labelShowBg?: boolean;
2377
- labelBgStyle?: import("react").CSSProperties;
2377
+ labelBgStyle?: import('react').CSSProperties;
2378
2378
  labelBgPadding?: [number, number];
2379
2379
  labelBgBorderRadius?: number;
2380
- style?: import("react").CSSProperties;
2380
+ style?: import('react').CSSProperties;
2381
2381
  className?: string;
2382
- updatable?: import("@xyflow/react").EdgeUpdatable;
2382
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2383
2383
  focusable?: boolean;
2384
- data: import("../xyflow/types").RelationshipData;
2384
+ data: import('../xyflow/types').RelationshipData;
2385
2385
  readonly id: string;
2386
2386
  readonly type: "relationship";
2387
2387
  }>;
2388
- setState: (partial: import("@xyflow/react").ReactFlowState<XYFlowNode, {
2388
+ setState: (partial: import('@xyflow/react').ReactFlowState<XYFlowNode, {
2389
2389
  source: string;
2390
2390
  target: string;
2391
2391
  sourceHandle?: string | null;
@@ -2395,25 +2395,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2395
2395
  deletable?: boolean;
2396
2396
  selectable?: boolean;
2397
2397
  selected?: boolean;
2398
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2399
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2398
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2399
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2400
2400
  zIndex?: number;
2401
2401
  ariaLabel?: string;
2402
2402
  interactionWidth?: number;
2403
- label?: import("react").ReactNode;
2404
- labelStyle?: import("react").CSSProperties;
2403
+ label?: import('react').ReactNode;
2404
+ labelStyle?: import('react').CSSProperties;
2405
2405
  labelShowBg?: boolean;
2406
- labelBgStyle?: import("react").CSSProperties;
2406
+ labelBgStyle?: import('react').CSSProperties;
2407
2407
  labelBgPadding?: [number, number];
2408
2408
  labelBgBorderRadius?: number;
2409
- style?: import("react").CSSProperties;
2409
+ style?: import('react').CSSProperties;
2410
2410
  className?: string;
2411
- updatable?: import("@xyflow/react").EdgeUpdatable;
2411
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2412
2412
  focusable?: boolean;
2413
- data: import("../xyflow/types").RelationshipData;
2413
+ data: import('../xyflow/types').RelationshipData;
2414
2414
  readonly id: string;
2415
2415
  readonly type: "relationship";
2416
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
2416
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
2417
2417
  source: string;
2418
2418
  target: string;
2419
2419
  sourceHandle?: string | null;
@@ -2423,25 +2423,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2423
2423
  deletable?: boolean;
2424
2424
  selectable?: boolean;
2425
2425
  selected?: boolean;
2426
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2427
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2426
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2427
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2428
2428
  zIndex?: number;
2429
2429
  ariaLabel?: string;
2430
2430
  interactionWidth?: number;
2431
- label?: import("react").ReactNode;
2432
- labelStyle?: import("react").CSSProperties;
2431
+ label?: import('react').ReactNode;
2432
+ labelStyle?: import('react').CSSProperties;
2433
2433
  labelShowBg?: boolean;
2434
- labelBgStyle?: import("react").CSSProperties;
2434
+ labelBgStyle?: import('react').CSSProperties;
2435
2435
  labelBgPadding?: [number, number];
2436
2436
  labelBgBorderRadius?: number;
2437
- style?: import("react").CSSProperties;
2437
+ style?: import('react').CSSProperties;
2438
2438
  className?: string;
2439
- updatable?: import("@xyflow/react").EdgeUpdatable;
2439
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2440
2440
  focusable?: boolean;
2441
- data: import("../xyflow/types").RelationshipData;
2441
+ data: import('../xyflow/types').RelationshipData;
2442
2442
  readonly id: string;
2443
2443
  readonly type: "relationship";
2444
- }>> | ((state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
2444
+ }>> | ((state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
2445
2445
  source: string;
2446
2446
  target: string;
2447
2447
  sourceHandle?: string | null;
@@ -2451,25 +2451,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2451
2451
  deletable?: boolean;
2452
2452
  selectable?: boolean;
2453
2453
  selected?: boolean;
2454
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2455
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2454
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2455
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2456
2456
  zIndex?: number;
2457
2457
  ariaLabel?: string;
2458
2458
  interactionWidth?: number;
2459
- label?: import("react").ReactNode;
2460
- labelStyle?: import("react").CSSProperties;
2459
+ label?: import('react').ReactNode;
2460
+ labelStyle?: import('react').CSSProperties;
2461
2461
  labelShowBg?: boolean;
2462
- labelBgStyle?: import("react").CSSProperties;
2462
+ labelBgStyle?: import('react').CSSProperties;
2463
2463
  labelBgPadding?: [number, number];
2464
2464
  labelBgBorderRadius?: number;
2465
- style?: import("react").CSSProperties;
2465
+ style?: import('react').CSSProperties;
2466
2466
  className?: string;
2467
- updatable?: import("@xyflow/react").EdgeUpdatable;
2467
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2468
2468
  focusable?: boolean;
2469
- data: import("../xyflow/types").RelationshipData;
2469
+ data: import('../xyflow/types').RelationshipData;
2470
2470
  readonly id: string;
2471
2471
  readonly type: "relationship";
2472
- }>) => import("@xyflow/react").ReactFlowState<XYFlowNode, {
2472
+ }>) => import('@xyflow/react').ReactFlowState<XYFlowNode, {
2473
2473
  source: string;
2474
2474
  target: string;
2475
2475
  sourceHandle?: string | null;
@@ -2479,25 +2479,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2479
2479
  deletable?: boolean;
2480
2480
  selectable?: boolean;
2481
2481
  selected?: boolean;
2482
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2483
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2482
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2483
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2484
2484
  zIndex?: number;
2485
2485
  ariaLabel?: string;
2486
2486
  interactionWidth?: number;
2487
- label?: import("react").ReactNode;
2488
- labelStyle?: import("react").CSSProperties;
2487
+ label?: import('react').ReactNode;
2488
+ labelStyle?: import('react').CSSProperties;
2489
2489
  labelShowBg?: boolean;
2490
- labelBgStyle?: import("react").CSSProperties;
2490
+ labelBgStyle?: import('react').CSSProperties;
2491
2491
  labelBgPadding?: [number, number];
2492
2492
  labelBgBorderRadius?: number;
2493
- style?: import("react").CSSProperties;
2493
+ style?: import('react').CSSProperties;
2494
2494
  className?: string;
2495
- updatable?: import("@xyflow/react").EdgeUpdatable;
2495
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2496
2496
  focusable?: boolean;
2497
- data: import("../xyflow/types").RelationshipData;
2497
+ data: import('../xyflow/types').RelationshipData;
2498
2498
  readonly id: string;
2499
2499
  readonly type: "relationship";
2500
- }> | Partial<import("@xyflow/react").ReactFlowState<XYFlowNode, {
2500
+ }> | Partial<import('@xyflow/react').ReactFlowState<XYFlowNode, {
2501
2501
  source: string;
2502
2502
  target: string;
2503
2503
  sourceHandle?: string | null;
@@ -2507,26 +2507,26 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2507
2507
  deletable?: boolean;
2508
2508
  selectable?: boolean;
2509
2509
  selected?: boolean;
2510
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2511
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2510
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2511
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2512
2512
  zIndex?: number;
2513
2513
  ariaLabel?: string;
2514
2514
  interactionWidth?: number;
2515
- label?: import("react").ReactNode;
2516
- labelStyle?: import("react").CSSProperties;
2515
+ label?: import('react').ReactNode;
2516
+ labelStyle?: import('react').CSSProperties;
2517
2517
  labelShowBg?: boolean;
2518
- labelBgStyle?: import("react").CSSProperties;
2518
+ labelBgStyle?: import('react').CSSProperties;
2519
2519
  labelBgPadding?: [number, number];
2520
2520
  labelBgBorderRadius?: number;
2521
- style?: import("react").CSSProperties;
2521
+ style?: import('react').CSSProperties;
2522
2522
  className?: string;
2523
- updatable?: import("@xyflow/react").EdgeUpdatable;
2523
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2524
2524
  focusable?: boolean;
2525
- data: import("../xyflow/types").RelationshipData;
2525
+ data: import('../xyflow/types').RelationshipData;
2526
2526
  readonly id: string;
2527
2527
  readonly type: "relationship";
2528
2528
  }>>), replace?: boolean | undefined) => void;
2529
- subscribe: (listener: (state: import("@xyflow/react").ReactFlowState<XYFlowNode, {
2529
+ subscribe: (listener: (state: import('@xyflow/react').ReactFlowState<XYFlowNode, {
2530
2530
  source: string;
2531
2531
  target: string;
2532
2532
  sourceHandle?: string | null;
@@ -2536,25 +2536,25 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2536
2536
  deletable?: boolean;
2537
2537
  selectable?: boolean;
2538
2538
  selected?: boolean;
2539
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2540
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2539
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2540
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2541
2541
  zIndex?: number;
2542
2542
  ariaLabel?: string;
2543
2543
  interactionWidth?: number;
2544
- label?: import("react").ReactNode;
2545
- labelStyle?: import("react").CSSProperties;
2544
+ label?: import('react').ReactNode;
2545
+ labelStyle?: import('react').CSSProperties;
2546
2546
  labelShowBg?: boolean;
2547
- labelBgStyle?: import("react").CSSProperties;
2547
+ labelBgStyle?: import('react').CSSProperties;
2548
2548
  labelBgPadding?: [number, number];
2549
2549
  labelBgBorderRadius?: number;
2550
- style?: import("react").CSSProperties;
2550
+ style?: import('react').CSSProperties;
2551
2551
  className?: string;
2552
- updatable?: import("@xyflow/react").EdgeUpdatable;
2552
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2553
2553
  focusable?: boolean;
2554
- data: import("../xyflow/types").RelationshipData;
2554
+ data: import('../xyflow/types').RelationshipData;
2555
2555
  readonly id: string;
2556
2556
  readonly type: "relationship";
2557
- }>, prevState: import("@xyflow/react").ReactFlowState<XYFlowNode, {
2557
+ }>, prevState: import('@xyflow/react').ReactFlowState<XYFlowNode, {
2558
2558
  source: string;
2559
2559
  target: string;
2560
2560
  sourceHandle?: string | null;
@@ -2564,22 +2564,22 @@ export declare function createDiagramStore<T extends Exact<CreateDiagramStore, T
2564
2564
  deletable?: boolean;
2565
2565
  selectable?: boolean;
2566
2566
  selected?: boolean;
2567
- markerStart?: import("@xyflow/react").EdgeMarkerType;
2568
- markerEnd?: import("@xyflow/react").EdgeMarkerType;
2567
+ markerStart?: import('@xyflow/react').EdgeMarkerType;
2568
+ markerEnd?: import('@xyflow/react').EdgeMarkerType;
2569
2569
  zIndex?: number;
2570
2570
  ariaLabel?: string;
2571
2571
  interactionWidth?: number;
2572
- label?: import("react").ReactNode;
2573
- labelStyle?: import("react").CSSProperties;
2572
+ label?: import('react').ReactNode;
2573
+ labelStyle?: import('react').CSSProperties;
2574
2574
  labelShowBg?: boolean;
2575
- labelBgStyle?: import("react").CSSProperties;
2575
+ labelBgStyle?: import('react').CSSProperties;
2576
2576
  labelBgPadding?: [number, number];
2577
2577
  labelBgBorderRadius?: number;
2578
- style?: import("react").CSSProperties;
2578
+ style?: import('react').CSSProperties;
2579
2579
  className?: string;
2580
- updatable?: import("@xyflow/react").EdgeUpdatable;
2580
+ updatable?: import('@xyflow/react').EdgeUpdatable;
2581
2581
  focusable?: boolean;
2582
- data: import("../xyflow/types").RelationshipData;
2582
+ data: import('../xyflow/types').RelationshipData;
2583
2583
  readonly id: string;
2584
2584
  readonly type: "relationship";
2585
2585
  }>) => void) => () => void;