@likec4/diagram 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LikeC4Diagram.props.d.ts +4 -4
- package/dist/hooks/useUpdateEffect.d.ts +1 -1
- package/dist/icons/Clipboard.d.ts +1 -1
- package/dist/icons/Link.d.ts +1 -1
- package/dist/icons/ZoomIn.d.ts +1 -1
- package/dist/index.mjs +100 -189
- package/dist/state/DiagramContext.d.ts +830 -830
- package/dist/state/diagramStore.d.ts +736 -736
- package/dist/state/useDiagramStore.d.ts +648 -648
- package/dist/xyflow/XYFlow.d.ts +1 -1
- package/dist/xyflow/XYFlowBackground.d.ts +1 -1
- package/dist/xyflow/XYFlowEvents.d.ts +4 -4
- package/dist/xyflow/XYFlowInner.d.ts +1 -1
- package/dist/xyflow/diagram-to-xyflow.d.ts +1 -1
- package/dist/xyflow/edges/RelationshipEdge.d.ts +6 -6
- package/dist/xyflow/edges/utils.d.ts +2 -2
- package/dist/xyflow/hooks/useLayoutConstraints.d.ts +1 -1
- package/dist/xyflow/hooks/useXYFlow.d.ts +72 -72
- package/dist/xyflow/nodes/compound/CompoundNode.d.ts +1 -1
- package/dist/xyflow/nodes/element/ElementNode.d.ts +1 -1
- package/dist/xyflow/types.d.ts +10 -10
- package/package.json +7 -8
- package/src/xyflow/XYFlowEvents.tsx +4 -4
|
@@ -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(
|
|
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(
|
|
88
|
-
onNavigateTo: import(
|
|
89
|
-
onNodeClick: import(
|
|
90
|
-
onNodeContextMenu: import(
|
|
91
|
-
onCanvasContextMenu: import(
|
|
92
|
-
onEdgeClick: import(
|
|
93
|
-
onEdgeContextMenu: import(
|
|
94
|
-
onCanvasClick: import(
|
|
95
|
-
onCanvasDblClick: import(
|
|
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(
|
|
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(
|
|
119
|
-
markerEnd?: import(
|
|
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(
|
|
124
|
-
labelStyle?: import(
|
|
123
|
+
label?: import('react').ReactNode;
|
|
124
|
+
labelStyle?: import('react').CSSProperties;
|
|
125
125
|
labelShowBg?: boolean;
|
|
126
|
-
labelBgStyle?: import(
|
|
126
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
127
127
|
labelBgPadding?: [number, number];
|
|
128
128
|
labelBgBorderRadius?: number;
|
|
129
|
-
style?: import(
|
|
129
|
+
style?: import('react').CSSProperties;
|
|
130
130
|
className?: string;
|
|
131
|
-
updatable?: import(
|
|
131
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
132
132
|
focusable?: boolean;
|
|
133
|
-
data: import(
|
|
133
|
+
data: import('../xyflow/types').RelationshipData;
|
|
134
134
|
readonly id: string;
|
|
135
135
|
readonly type: "relationship";
|
|
136
136
|
}>;
|
|
137
|
-
setState: (partial: import(
|
|
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(
|
|
148
|
-
markerEnd?: import(
|
|
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(
|
|
153
|
-
labelStyle?: import(
|
|
152
|
+
label?: import('react').ReactNode;
|
|
153
|
+
labelStyle?: import('react').CSSProperties;
|
|
154
154
|
labelShowBg?: boolean;
|
|
155
|
-
labelBgStyle?: import(
|
|
155
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
156
156
|
labelBgPadding?: [number, number];
|
|
157
157
|
labelBgBorderRadius?: number;
|
|
158
|
-
style?: import(
|
|
158
|
+
style?: import('react').CSSProperties;
|
|
159
159
|
className?: string;
|
|
160
|
-
updatable?: import(
|
|
160
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
161
161
|
focusable?: boolean;
|
|
162
|
-
data: import(
|
|
162
|
+
data: import('../xyflow/types').RelationshipData;
|
|
163
163
|
readonly id: string;
|
|
164
164
|
readonly type: "relationship";
|
|
165
|
-
}> | Partial<import(
|
|
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(
|
|
176
|
-
markerEnd?: import(
|
|
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(
|
|
181
|
-
labelStyle?: import(
|
|
180
|
+
label?: import('react').ReactNode;
|
|
181
|
+
labelStyle?: import('react').CSSProperties;
|
|
182
182
|
labelShowBg?: boolean;
|
|
183
|
-
labelBgStyle?: import(
|
|
183
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
184
184
|
labelBgPadding?: [number, number];
|
|
185
185
|
labelBgBorderRadius?: number;
|
|
186
|
-
style?: import(
|
|
186
|
+
style?: import('react').CSSProperties;
|
|
187
187
|
className?: string;
|
|
188
|
-
updatable?: import(
|
|
188
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
189
189
|
focusable?: boolean;
|
|
190
|
-
data: import(
|
|
190
|
+
data: import('../xyflow/types').RelationshipData;
|
|
191
191
|
readonly id: string;
|
|
192
192
|
readonly type: "relationship";
|
|
193
|
-
}>> | ((state: import(
|
|
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(
|
|
204
|
-
markerEnd?: import(
|
|
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(
|
|
209
|
-
labelStyle?: import(
|
|
208
|
+
label?: import('react').ReactNode;
|
|
209
|
+
labelStyle?: import('react').CSSProperties;
|
|
210
210
|
labelShowBg?: boolean;
|
|
211
|
-
labelBgStyle?: import(
|
|
211
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
212
212
|
labelBgPadding?: [number, number];
|
|
213
213
|
labelBgBorderRadius?: number;
|
|
214
|
-
style?: import(
|
|
214
|
+
style?: import('react').CSSProperties;
|
|
215
215
|
className?: string;
|
|
216
|
-
updatable?: import(
|
|
216
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
217
217
|
focusable?: boolean;
|
|
218
|
-
data: import(
|
|
218
|
+
data: import('../xyflow/types').RelationshipData;
|
|
219
219
|
readonly id: string;
|
|
220
220
|
readonly type: "relationship";
|
|
221
|
-
}>) => import(
|
|
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(
|
|
232
|
-
markerEnd?: import(
|
|
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(
|
|
237
|
-
labelStyle?: import(
|
|
236
|
+
label?: import('react').ReactNode;
|
|
237
|
+
labelStyle?: import('react').CSSProperties;
|
|
238
238
|
labelShowBg?: boolean;
|
|
239
|
-
labelBgStyle?: import(
|
|
239
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
240
240
|
labelBgPadding?: [number, number];
|
|
241
241
|
labelBgBorderRadius?: number;
|
|
242
|
-
style?: import(
|
|
242
|
+
style?: import('react').CSSProperties;
|
|
243
243
|
className?: string;
|
|
244
|
-
updatable?: import(
|
|
244
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
245
245
|
focusable?: boolean;
|
|
246
|
-
data: import(
|
|
246
|
+
data: import('../xyflow/types').RelationshipData;
|
|
247
247
|
readonly id: string;
|
|
248
248
|
readonly type: "relationship";
|
|
249
|
-
}> | Partial<import(
|
|
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(
|
|
260
|
-
markerEnd?: import(
|
|
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(
|
|
265
|
-
labelStyle?: import(
|
|
264
|
+
label?: import('react').ReactNode;
|
|
265
|
+
labelStyle?: import('react').CSSProperties;
|
|
266
266
|
labelShowBg?: boolean;
|
|
267
|
-
labelBgStyle?: import(
|
|
267
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
268
268
|
labelBgPadding?: [number, number];
|
|
269
269
|
labelBgBorderRadius?: number;
|
|
270
|
-
style?: import(
|
|
270
|
+
style?: import('react').CSSProperties;
|
|
271
271
|
className?: string;
|
|
272
|
-
updatable?: import(
|
|
272
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
273
273
|
focusable?: boolean;
|
|
274
|
-
data: import(
|
|
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(
|
|
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(
|
|
289
|
-
markerEnd?: import(
|
|
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(
|
|
294
|
-
labelStyle?: import(
|
|
293
|
+
label?: import('react').ReactNode;
|
|
294
|
+
labelStyle?: import('react').CSSProperties;
|
|
295
295
|
labelShowBg?: boolean;
|
|
296
|
-
labelBgStyle?: import(
|
|
296
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
297
297
|
labelBgPadding?: [number, number];
|
|
298
298
|
labelBgBorderRadius?: number;
|
|
299
|
-
style?: import(
|
|
299
|
+
style?: import('react').CSSProperties;
|
|
300
300
|
className?: string;
|
|
301
|
-
updatable?: import(
|
|
301
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
302
302
|
focusable?: boolean;
|
|
303
|
-
data: import(
|
|
303
|
+
data: import('../xyflow/types').RelationshipData;
|
|
304
304
|
readonly id: string;
|
|
305
305
|
readonly type: "relationship";
|
|
306
|
-
}>, prevState: import(
|
|
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(
|
|
317
|
-
markerEnd?: import(
|
|
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(
|
|
322
|
-
labelStyle?: import(
|
|
321
|
+
label?: import('react').ReactNode;
|
|
322
|
+
labelStyle?: import('react').CSSProperties;
|
|
323
323
|
labelShowBg?: boolean;
|
|
324
|
-
labelBgStyle?: import(
|
|
324
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
325
325
|
labelBgPadding?: [number, number];
|
|
326
326
|
labelBgBorderRadius?: number;
|
|
327
|
-
style?: import(
|
|
327
|
+
style?: import('react').CSSProperties;
|
|
328
328
|
className?: string;
|
|
329
|
-
updatable?: import(
|
|
329
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
330
330
|
focusable?: boolean;
|
|
331
|
-
data: import(
|
|
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(
|
|
370
|
-
onNavigateTo: import(
|
|
371
|
-
onNodeClick: import(
|
|
372
|
-
onNodeContextMenu: import(
|
|
373
|
-
onCanvasContextMenu: import(
|
|
374
|
-
onEdgeClick: import(
|
|
375
|
-
onEdgeContextMenu: import(
|
|
376
|
-
onCanvasClick: import(
|
|
377
|
-
onCanvasDblClick: import(
|
|
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(
|
|
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(
|
|
401
|
-
markerEnd?: import(
|
|
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(
|
|
406
|
-
labelStyle?: import(
|
|
405
|
+
label?: import('react').ReactNode;
|
|
406
|
+
labelStyle?: import('react').CSSProperties;
|
|
407
407
|
labelShowBg?: boolean;
|
|
408
|
-
labelBgStyle?: import(
|
|
408
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
409
409
|
labelBgPadding?: [number, number];
|
|
410
410
|
labelBgBorderRadius?: number;
|
|
411
|
-
style?: import(
|
|
411
|
+
style?: import('react').CSSProperties;
|
|
412
412
|
className?: string;
|
|
413
|
-
updatable?: import(
|
|
413
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
414
414
|
focusable?: boolean;
|
|
415
|
-
data: import(
|
|
415
|
+
data: import('../xyflow/types').RelationshipData;
|
|
416
416
|
readonly id: string;
|
|
417
417
|
readonly type: "relationship";
|
|
418
418
|
}>;
|
|
419
|
-
setState: (partial: import(
|
|
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(
|
|
430
|
-
markerEnd?: import(
|
|
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(
|
|
435
|
-
labelStyle?: import(
|
|
434
|
+
label?: import('react').ReactNode;
|
|
435
|
+
labelStyle?: import('react').CSSProperties;
|
|
436
436
|
labelShowBg?: boolean;
|
|
437
|
-
labelBgStyle?: import(
|
|
437
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
438
438
|
labelBgPadding?: [number, number];
|
|
439
439
|
labelBgBorderRadius?: number;
|
|
440
|
-
style?: import(
|
|
440
|
+
style?: import('react').CSSProperties;
|
|
441
441
|
className?: string;
|
|
442
|
-
updatable?: import(
|
|
442
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
443
443
|
focusable?: boolean;
|
|
444
|
-
data: import(
|
|
444
|
+
data: import('../xyflow/types').RelationshipData;
|
|
445
445
|
readonly id: string;
|
|
446
446
|
readonly type: "relationship";
|
|
447
|
-
}> | Partial<import(
|
|
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(
|
|
458
|
-
markerEnd?: import(
|
|
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(
|
|
463
|
-
labelStyle?: import(
|
|
462
|
+
label?: import('react').ReactNode;
|
|
463
|
+
labelStyle?: import('react').CSSProperties;
|
|
464
464
|
labelShowBg?: boolean;
|
|
465
|
-
labelBgStyle?: import(
|
|
465
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
466
466
|
labelBgPadding?: [number, number];
|
|
467
467
|
labelBgBorderRadius?: number;
|
|
468
|
-
style?: import(
|
|
468
|
+
style?: import('react').CSSProperties;
|
|
469
469
|
className?: string;
|
|
470
|
-
updatable?: import(
|
|
470
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
471
471
|
focusable?: boolean;
|
|
472
|
-
data: import(
|
|
472
|
+
data: import('../xyflow/types').RelationshipData;
|
|
473
473
|
readonly id: string;
|
|
474
474
|
readonly type: "relationship";
|
|
475
|
-
}>> | ((state: import(
|
|
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(
|
|
486
|
-
markerEnd?: import(
|
|
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(
|
|
491
|
-
labelStyle?: import(
|
|
490
|
+
label?: import('react').ReactNode;
|
|
491
|
+
labelStyle?: import('react').CSSProperties;
|
|
492
492
|
labelShowBg?: boolean;
|
|
493
|
-
labelBgStyle?: import(
|
|
493
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
494
494
|
labelBgPadding?: [number, number];
|
|
495
495
|
labelBgBorderRadius?: number;
|
|
496
|
-
style?: import(
|
|
496
|
+
style?: import('react').CSSProperties;
|
|
497
497
|
className?: string;
|
|
498
|
-
updatable?: import(
|
|
498
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
499
499
|
focusable?: boolean;
|
|
500
|
-
data: import(
|
|
500
|
+
data: import('../xyflow/types').RelationshipData;
|
|
501
501
|
readonly id: string;
|
|
502
502
|
readonly type: "relationship";
|
|
503
|
-
}>) => import(
|
|
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(
|
|
514
|
-
markerEnd?: import(
|
|
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(
|
|
519
|
-
labelStyle?: import(
|
|
518
|
+
label?: import('react').ReactNode;
|
|
519
|
+
labelStyle?: import('react').CSSProperties;
|
|
520
520
|
labelShowBg?: boolean;
|
|
521
|
-
labelBgStyle?: import(
|
|
521
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
522
522
|
labelBgPadding?: [number, number];
|
|
523
523
|
labelBgBorderRadius?: number;
|
|
524
|
-
style?: import(
|
|
524
|
+
style?: import('react').CSSProperties;
|
|
525
525
|
className?: string;
|
|
526
|
-
updatable?: import(
|
|
526
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
527
527
|
focusable?: boolean;
|
|
528
|
-
data: import(
|
|
528
|
+
data: import('../xyflow/types').RelationshipData;
|
|
529
529
|
readonly id: string;
|
|
530
530
|
readonly type: "relationship";
|
|
531
|
-
}> | Partial<import(
|
|
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(
|
|
542
|
-
markerEnd?: import(
|
|
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(
|
|
547
|
-
labelStyle?: import(
|
|
546
|
+
label?: import('react').ReactNode;
|
|
547
|
+
labelStyle?: import('react').CSSProperties;
|
|
548
548
|
labelShowBg?: boolean;
|
|
549
|
-
labelBgStyle?: import(
|
|
549
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
550
550
|
labelBgPadding?: [number, number];
|
|
551
551
|
labelBgBorderRadius?: number;
|
|
552
|
-
style?: import(
|
|
552
|
+
style?: import('react').CSSProperties;
|
|
553
553
|
className?: string;
|
|
554
|
-
updatable?: import(
|
|
554
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
555
555
|
focusable?: boolean;
|
|
556
|
-
data: import(
|
|
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(
|
|
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(
|
|
571
|
-
markerEnd?: import(
|
|
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(
|
|
576
|
-
labelStyle?: import(
|
|
575
|
+
label?: import('react').ReactNode;
|
|
576
|
+
labelStyle?: import('react').CSSProperties;
|
|
577
577
|
labelShowBg?: boolean;
|
|
578
|
-
labelBgStyle?: import(
|
|
578
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
579
579
|
labelBgPadding?: [number, number];
|
|
580
580
|
labelBgBorderRadius?: number;
|
|
581
|
-
style?: import(
|
|
581
|
+
style?: import('react').CSSProperties;
|
|
582
582
|
className?: string;
|
|
583
|
-
updatable?: import(
|
|
583
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
584
584
|
focusable?: boolean;
|
|
585
|
-
data: import(
|
|
585
|
+
data: import('../xyflow/types').RelationshipData;
|
|
586
586
|
readonly id: string;
|
|
587
587
|
readonly type: "relationship";
|
|
588
|
-
}>, prevState: import(
|
|
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(
|
|
599
|
-
markerEnd?: import(
|
|
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(
|
|
604
|
-
labelStyle?: import(
|
|
603
|
+
label?: import('react').ReactNode;
|
|
604
|
+
labelStyle?: import('react').CSSProperties;
|
|
605
605
|
labelShowBg?: boolean;
|
|
606
|
-
labelBgStyle?: import(
|
|
606
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
607
607
|
labelBgPadding?: [number, number];
|
|
608
608
|
labelBgBorderRadius?: number;
|
|
609
|
-
style?: import(
|
|
609
|
+
style?: import('react').CSSProperties;
|
|
610
610
|
className?: string;
|
|
611
|
-
updatable?: import(
|
|
611
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
612
612
|
focusable?: boolean;
|
|
613
|
-
data: import(
|
|
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(
|
|
650
|
-
onNavigateTo: import(
|
|
651
|
-
onNodeClick: import(
|
|
652
|
-
onNodeContextMenu: import(
|
|
653
|
-
onCanvasContextMenu: import(
|
|
654
|
-
onEdgeClick: import(
|
|
655
|
-
onEdgeContextMenu: import(
|
|
656
|
-
onCanvasClick: import(
|
|
657
|
-
onCanvasDblClick: import(
|
|
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(
|
|
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(
|
|
681
|
-
markerEnd?: import(
|
|
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(
|
|
686
|
-
labelStyle?: import(
|
|
685
|
+
label?: import('react').ReactNode;
|
|
686
|
+
labelStyle?: import('react').CSSProperties;
|
|
687
687
|
labelShowBg?: boolean;
|
|
688
|
-
labelBgStyle?: import(
|
|
688
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
689
689
|
labelBgPadding?: [number, number];
|
|
690
690
|
labelBgBorderRadius?: number;
|
|
691
|
-
style?: import(
|
|
691
|
+
style?: import('react').CSSProperties;
|
|
692
692
|
className?: string;
|
|
693
|
-
updatable?: import(
|
|
693
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
694
694
|
focusable?: boolean;
|
|
695
|
-
data: import(
|
|
695
|
+
data: import('../xyflow/types').RelationshipData;
|
|
696
696
|
readonly id: string;
|
|
697
697
|
readonly type: "relationship";
|
|
698
698
|
}>;
|
|
699
|
-
setState: (partial: import(
|
|
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(
|
|
710
|
-
markerEnd?: import(
|
|
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(
|
|
715
|
-
labelStyle?: import(
|
|
714
|
+
label?: import('react').ReactNode;
|
|
715
|
+
labelStyle?: import('react').CSSProperties;
|
|
716
716
|
labelShowBg?: boolean;
|
|
717
|
-
labelBgStyle?: import(
|
|
717
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
718
718
|
labelBgPadding?: [number, number];
|
|
719
719
|
labelBgBorderRadius?: number;
|
|
720
|
-
style?: import(
|
|
720
|
+
style?: import('react').CSSProperties;
|
|
721
721
|
className?: string;
|
|
722
|
-
updatable?: import(
|
|
722
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
723
723
|
focusable?: boolean;
|
|
724
|
-
data: import(
|
|
724
|
+
data: import('../xyflow/types').RelationshipData;
|
|
725
725
|
readonly id: string;
|
|
726
726
|
readonly type: "relationship";
|
|
727
|
-
}> | Partial<import(
|
|
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(
|
|
738
|
-
markerEnd?: import(
|
|
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(
|
|
743
|
-
labelStyle?: import(
|
|
742
|
+
label?: import('react').ReactNode;
|
|
743
|
+
labelStyle?: import('react').CSSProperties;
|
|
744
744
|
labelShowBg?: boolean;
|
|
745
|
-
labelBgStyle?: import(
|
|
745
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
746
746
|
labelBgPadding?: [number, number];
|
|
747
747
|
labelBgBorderRadius?: number;
|
|
748
|
-
style?: import(
|
|
748
|
+
style?: import('react').CSSProperties;
|
|
749
749
|
className?: string;
|
|
750
|
-
updatable?: import(
|
|
750
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
751
751
|
focusable?: boolean;
|
|
752
|
-
data: import(
|
|
752
|
+
data: import('../xyflow/types').RelationshipData;
|
|
753
753
|
readonly id: string;
|
|
754
754
|
readonly type: "relationship";
|
|
755
|
-
}>> | ((state: import(
|
|
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(
|
|
766
|
-
markerEnd?: import(
|
|
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(
|
|
771
|
-
labelStyle?: import(
|
|
770
|
+
label?: import('react').ReactNode;
|
|
771
|
+
labelStyle?: import('react').CSSProperties;
|
|
772
772
|
labelShowBg?: boolean;
|
|
773
|
-
labelBgStyle?: import(
|
|
773
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
774
774
|
labelBgPadding?: [number, number];
|
|
775
775
|
labelBgBorderRadius?: number;
|
|
776
|
-
style?: import(
|
|
776
|
+
style?: import('react').CSSProperties;
|
|
777
777
|
className?: string;
|
|
778
|
-
updatable?: import(
|
|
778
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
779
779
|
focusable?: boolean;
|
|
780
|
-
data: import(
|
|
780
|
+
data: import('../xyflow/types').RelationshipData;
|
|
781
781
|
readonly id: string;
|
|
782
782
|
readonly type: "relationship";
|
|
783
|
-
}>) => import(
|
|
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(
|
|
794
|
-
markerEnd?: import(
|
|
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(
|
|
799
|
-
labelStyle?: import(
|
|
798
|
+
label?: import('react').ReactNode;
|
|
799
|
+
labelStyle?: import('react').CSSProperties;
|
|
800
800
|
labelShowBg?: boolean;
|
|
801
|
-
labelBgStyle?: import(
|
|
801
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
802
802
|
labelBgPadding?: [number, number];
|
|
803
803
|
labelBgBorderRadius?: number;
|
|
804
|
-
style?: import(
|
|
804
|
+
style?: import('react').CSSProperties;
|
|
805
805
|
className?: string;
|
|
806
|
-
updatable?: import(
|
|
806
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
807
807
|
focusable?: boolean;
|
|
808
|
-
data: import(
|
|
808
|
+
data: import('../xyflow/types').RelationshipData;
|
|
809
809
|
readonly id: string;
|
|
810
810
|
readonly type: "relationship";
|
|
811
|
-
}> | Partial<import(
|
|
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(
|
|
822
|
-
markerEnd?: import(
|
|
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(
|
|
827
|
-
labelStyle?: import(
|
|
826
|
+
label?: import('react').ReactNode;
|
|
827
|
+
labelStyle?: import('react').CSSProperties;
|
|
828
828
|
labelShowBg?: boolean;
|
|
829
|
-
labelBgStyle?: import(
|
|
829
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
830
830
|
labelBgPadding?: [number, number];
|
|
831
831
|
labelBgBorderRadius?: number;
|
|
832
|
-
style?: import(
|
|
832
|
+
style?: import('react').CSSProperties;
|
|
833
833
|
className?: string;
|
|
834
|
-
updatable?: import(
|
|
834
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
835
835
|
focusable?: boolean;
|
|
836
|
-
data: import(
|
|
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(
|
|
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(
|
|
851
|
-
markerEnd?: import(
|
|
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(
|
|
856
|
-
labelStyle?: import(
|
|
855
|
+
label?: import('react').ReactNode;
|
|
856
|
+
labelStyle?: import('react').CSSProperties;
|
|
857
857
|
labelShowBg?: boolean;
|
|
858
|
-
labelBgStyle?: import(
|
|
858
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
859
859
|
labelBgPadding?: [number, number];
|
|
860
860
|
labelBgBorderRadius?: number;
|
|
861
|
-
style?: import(
|
|
861
|
+
style?: import('react').CSSProperties;
|
|
862
862
|
className?: string;
|
|
863
|
-
updatable?: import(
|
|
863
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
864
864
|
focusable?: boolean;
|
|
865
|
-
data: import(
|
|
865
|
+
data: import('../xyflow/types').RelationshipData;
|
|
866
866
|
readonly id: string;
|
|
867
867
|
readonly type: "relationship";
|
|
868
|
-
}>, prevState: import(
|
|
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(
|
|
879
|
-
markerEnd?: import(
|
|
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(
|
|
884
|
-
labelStyle?: import(
|
|
883
|
+
label?: import('react').ReactNode;
|
|
884
|
+
labelStyle?: import('react').CSSProperties;
|
|
885
885
|
labelShowBg?: boolean;
|
|
886
|
-
labelBgStyle?: import(
|
|
886
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
887
887
|
labelBgPadding?: [number, number];
|
|
888
888
|
labelBgBorderRadius?: number;
|
|
889
|
-
style?: import(
|
|
889
|
+
style?: import('react').CSSProperties;
|
|
890
890
|
className?: string;
|
|
891
|
-
updatable?: import(
|
|
891
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
892
892
|
focusable?: boolean;
|
|
893
|
-
data: import(
|
|
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(
|
|
931
|
-
onNavigateTo: import(
|
|
932
|
-
onNodeClick: import(
|
|
933
|
-
onNodeContextMenu: import(
|
|
934
|
-
onCanvasContextMenu: import(
|
|
935
|
-
onEdgeClick: import(
|
|
936
|
-
onEdgeContextMenu: import(
|
|
937
|
-
onCanvasClick: import(
|
|
938
|
-
onCanvasDblClick: import(
|
|
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(
|
|
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(
|
|
962
|
-
markerEnd?: import(
|
|
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(
|
|
967
|
-
labelStyle?: import(
|
|
966
|
+
label?: import('react').ReactNode;
|
|
967
|
+
labelStyle?: import('react').CSSProperties;
|
|
968
968
|
labelShowBg?: boolean;
|
|
969
|
-
labelBgStyle?: import(
|
|
969
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
970
970
|
labelBgPadding?: [number, number];
|
|
971
971
|
labelBgBorderRadius?: number;
|
|
972
|
-
style?: import(
|
|
972
|
+
style?: import('react').CSSProperties;
|
|
973
973
|
className?: string;
|
|
974
|
-
updatable?: import(
|
|
974
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
975
975
|
focusable?: boolean;
|
|
976
|
-
data: import(
|
|
976
|
+
data: import('../xyflow/types').RelationshipData;
|
|
977
977
|
readonly id: string;
|
|
978
978
|
readonly type: "relationship";
|
|
979
979
|
}>;
|
|
980
|
-
setState: (partial: import(
|
|
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(
|
|
991
|
-
markerEnd?: import(
|
|
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(
|
|
996
|
-
labelStyle?: import(
|
|
995
|
+
label?: import('react').ReactNode;
|
|
996
|
+
labelStyle?: import('react').CSSProperties;
|
|
997
997
|
labelShowBg?: boolean;
|
|
998
|
-
labelBgStyle?: import(
|
|
998
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
999
999
|
labelBgPadding?: [number, number];
|
|
1000
1000
|
labelBgBorderRadius?: number;
|
|
1001
|
-
style?: import(
|
|
1001
|
+
style?: import('react').CSSProperties;
|
|
1002
1002
|
className?: string;
|
|
1003
|
-
updatable?: import(
|
|
1003
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1004
1004
|
focusable?: boolean;
|
|
1005
|
-
data: import(
|
|
1005
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1006
1006
|
readonly id: string;
|
|
1007
1007
|
readonly type: "relationship";
|
|
1008
|
-
}> | Partial<import(
|
|
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(
|
|
1019
|
-
markerEnd?: import(
|
|
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(
|
|
1024
|
-
labelStyle?: import(
|
|
1023
|
+
label?: import('react').ReactNode;
|
|
1024
|
+
labelStyle?: import('react').CSSProperties;
|
|
1025
1025
|
labelShowBg?: boolean;
|
|
1026
|
-
labelBgStyle?: import(
|
|
1026
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1027
1027
|
labelBgPadding?: [number, number];
|
|
1028
1028
|
labelBgBorderRadius?: number;
|
|
1029
|
-
style?: import(
|
|
1029
|
+
style?: import('react').CSSProperties;
|
|
1030
1030
|
className?: string;
|
|
1031
|
-
updatable?: import(
|
|
1031
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1032
1032
|
focusable?: boolean;
|
|
1033
|
-
data: import(
|
|
1033
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1034
1034
|
readonly id: string;
|
|
1035
1035
|
readonly type: "relationship";
|
|
1036
|
-
}>> | ((state: import(
|
|
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(
|
|
1047
|
-
markerEnd?: import(
|
|
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(
|
|
1052
|
-
labelStyle?: import(
|
|
1051
|
+
label?: import('react').ReactNode;
|
|
1052
|
+
labelStyle?: import('react').CSSProperties;
|
|
1053
1053
|
labelShowBg?: boolean;
|
|
1054
|
-
labelBgStyle?: import(
|
|
1054
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1055
1055
|
labelBgPadding?: [number, number];
|
|
1056
1056
|
labelBgBorderRadius?: number;
|
|
1057
|
-
style?: import(
|
|
1057
|
+
style?: import('react').CSSProperties;
|
|
1058
1058
|
className?: string;
|
|
1059
|
-
updatable?: import(
|
|
1059
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1060
1060
|
focusable?: boolean;
|
|
1061
|
-
data: import(
|
|
1061
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1062
1062
|
readonly id: string;
|
|
1063
1063
|
readonly type: "relationship";
|
|
1064
|
-
}>) => import(
|
|
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(
|
|
1075
|
-
markerEnd?: import(
|
|
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(
|
|
1080
|
-
labelStyle?: import(
|
|
1079
|
+
label?: import('react').ReactNode;
|
|
1080
|
+
labelStyle?: import('react').CSSProperties;
|
|
1081
1081
|
labelShowBg?: boolean;
|
|
1082
|
-
labelBgStyle?: import(
|
|
1082
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1083
1083
|
labelBgPadding?: [number, number];
|
|
1084
1084
|
labelBgBorderRadius?: number;
|
|
1085
|
-
style?: import(
|
|
1085
|
+
style?: import('react').CSSProperties;
|
|
1086
1086
|
className?: string;
|
|
1087
|
-
updatable?: import(
|
|
1087
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1088
1088
|
focusable?: boolean;
|
|
1089
|
-
data: import(
|
|
1089
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1090
1090
|
readonly id: string;
|
|
1091
1091
|
readonly type: "relationship";
|
|
1092
|
-
}> | Partial<import(
|
|
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(
|
|
1103
|
-
markerEnd?: import(
|
|
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(
|
|
1108
|
-
labelStyle?: import(
|
|
1107
|
+
label?: import('react').ReactNode;
|
|
1108
|
+
labelStyle?: import('react').CSSProperties;
|
|
1109
1109
|
labelShowBg?: boolean;
|
|
1110
|
-
labelBgStyle?: import(
|
|
1110
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1111
1111
|
labelBgPadding?: [number, number];
|
|
1112
1112
|
labelBgBorderRadius?: number;
|
|
1113
|
-
style?: import(
|
|
1113
|
+
style?: import('react').CSSProperties;
|
|
1114
1114
|
className?: string;
|
|
1115
|
-
updatable?: import(
|
|
1115
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1116
1116
|
focusable?: boolean;
|
|
1117
|
-
data: import(
|
|
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(
|
|
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(
|
|
1132
|
-
markerEnd?: import(
|
|
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(
|
|
1137
|
-
labelStyle?: import(
|
|
1136
|
+
label?: import('react').ReactNode;
|
|
1137
|
+
labelStyle?: import('react').CSSProperties;
|
|
1138
1138
|
labelShowBg?: boolean;
|
|
1139
|
-
labelBgStyle?: import(
|
|
1139
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1140
1140
|
labelBgPadding?: [number, number];
|
|
1141
1141
|
labelBgBorderRadius?: number;
|
|
1142
|
-
style?: import(
|
|
1142
|
+
style?: import('react').CSSProperties;
|
|
1143
1143
|
className?: string;
|
|
1144
|
-
updatable?: import(
|
|
1144
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1145
1145
|
focusable?: boolean;
|
|
1146
|
-
data: import(
|
|
1146
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1147
1147
|
readonly id: string;
|
|
1148
1148
|
readonly type: "relationship";
|
|
1149
|
-
}>, prevState: import(
|
|
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(
|
|
1160
|
-
markerEnd?: import(
|
|
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(
|
|
1165
|
-
labelStyle?: import(
|
|
1164
|
+
label?: import('react').ReactNode;
|
|
1165
|
+
labelStyle?: import('react').CSSProperties;
|
|
1166
1166
|
labelShowBg?: boolean;
|
|
1167
|
-
labelBgStyle?: import(
|
|
1167
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1168
1168
|
labelBgPadding?: [number, number];
|
|
1169
1169
|
labelBgBorderRadius?: number;
|
|
1170
|
-
style?: import(
|
|
1170
|
+
style?: import('react').CSSProperties;
|
|
1171
1171
|
className?: string;
|
|
1172
|
-
updatable?: import(
|
|
1172
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1173
1173
|
focusable?: boolean;
|
|
1174
|
-
data: import(
|
|
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(
|
|
1219
|
-
onNavigateTo: import(
|
|
1220
|
-
onNodeClick: import(
|
|
1221
|
-
onNodeContextMenu: import(
|
|
1222
|
-
onCanvasContextMenu: import(
|
|
1223
|
-
onEdgeClick: import(
|
|
1224
|
-
onEdgeContextMenu: import(
|
|
1225
|
-
onCanvasClick: import(
|
|
1226
|
-
onCanvasDblClick: import(
|
|
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(
|
|
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(
|
|
1250
|
-
markerEnd?: import(
|
|
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(
|
|
1255
|
-
labelStyle?: import(
|
|
1254
|
+
label?: import('react').ReactNode;
|
|
1255
|
+
labelStyle?: import('react').CSSProperties;
|
|
1256
1256
|
labelShowBg?: boolean;
|
|
1257
|
-
labelBgStyle?: import(
|
|
1257
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1258
1258
|
labelBgPadding?: [number, number];
|
|
1259
1259
|
labelBgBorderRadius?: number;
|
|
1260
|
-
style?: import(
|
|
1260
|
+
style?: import('react').CSSProperties;
|
|
1261
1261
|
className?: string;
|
|
1262
|
-
updatable?: import(
|
|
1262
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1263
1263
|
focusable?: boolean;
|
|
1264
|
-
data: import(
|
|
1264
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1265
1265
|
readonly id: string;
|
|
1266
1266
|
readonly type: "relationship";
|
|
1267
1267
|
}>;
|
|
1268
|
-
setState: (partial: import(
|
|
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(
|
|
1279
|
-
markerEnd?: import(
|
|
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(
|
|
1284
|
-
labelStyle?: import(
|
|
1283
|
+
label?: import('react').ReactNode;
|
|
1284
|
+
labelStyle?: import('react').CSSProperties;
|
|
1285
1285
|
labelShowBg?: boolean;
|
|
1286
|
-
labelBgStyle?: import(
|
|
1286
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1287
1287
|
labelBgPadding?: [number, number];
|
|
1288
1288
|
labelBgBorderRadius?: number;
|
|
1289
|
-
style?: import(
|
|
1289
|
+
style?: import('react').CSSProperties;
|
|
1290
1290
|
className?: string;
|
|
1291
|
-
updatable?: import(
|
|
1291
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1292
1292
|
focusable?: boolean;
|
|
1293
|
-
data: import(
|
|
1293
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1294
1294
|
readonly id: string;
|
|
1295
1295
|
readonly type: "relationship";
|
|
1296
|
-
}> | Partial<import(
|
|
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(
|
|
1307
|
-
markerEnd?: import(
|
|
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(
|
|
1312
|
-
labelStyle?: import(
|
|
1311
|
+
label?: import('react').ReactNode;
|
|
1312
|
+
labelStyle?: import('react').CSSProperties;
|
|
1313
1313
|
labelShowBg?: boolean;
|
|
1314
|
-
labelBgStyle?: import(
|
|
1314
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1315
1315
|
labelBgPadding?: [number, number];
|
|
1316
1316
|
labelBgBorderRadius?: number;
|
|
1317
|
-
style?: import(
|
|
1317
|
+
style?: import('react').CSSProperties;
|
|
1318
1318
|
className?: string;
|
|
1319
|
-
updatable?: import(
|
|
1319
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1320
1320
|
focusable?: boolean;
|
|
1321
|
-
data: import(
|
|
1321
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1322
1322
|
readonly id: string;
|
|
1323
1323
|
readonly type: "relationship";
|
|
1324
|
-
}>> | ((state: import(
|
|
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(
|
|
1335
|
-
markerEnd?: import(
|
|
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(
|
|
1340
|
-
labelStyle?: import(
|
|
1339
|
+
label?: import('react').ReactNode;
|
|
1340
|
+
labelStyle?: import('react').CSSProperties;
|
|
1341
1341
|
labelShowBg?: boolean;
|
|
1342
|
-
labelBgStyle?: import(
|
|
1342
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1343
1343
|
labelBgPadding?: [number, number];
|
|
1344
1344
|
labelBgBorderRadius?: number;
|
|
1345
|
-
style?: import(
|
|
1345
|
+
style?: import('react').CSSProperties;
|
|
1346
1346
|
className?: string;
|
|
1347
|
-
updatable?: import(
|
|
1347
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1348
1348
|
focusable?: boolean;
|
|
1349
|
-
data: import(
|
|
1349
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1350
1350
|
readonly id: string;
|
|
1351
1351
|
readonly type: "relationship";
|
|
1352
|
-
}>) => import(
|
|
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(
|
|
1363
|
-
markerEnd?: import(
|
|
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(
|
|
1368
|
-
labelStyle?: import(
|
|
1367
|
+
label?: import('react').ReactNode;
|
|
1368
|
+
labelStyle?: import('react').CSSProperties;
|
|
1369
1369
|
labelShowBg?: boolean;
|
|
1370
|
-
labelBgStyle?: import(
|
|
1370
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1371
1371
|
labelBgPadding?: [number, number];
|
|
1372
1372
|
labelBgBorderRadius?: number;
|
|
1373
|
-
style?: import(
|
|
1373
|
+
style?: import('react').CSSProperties;
|
|
1374
1374
|
className?: string;
|
|
1375
|
-
updatable?: import(
|
|
1375
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1376
1376
|
focusable?: boolean;
|
|
1377
|
-
data: import(
|
|
1377
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1378
1378
|
readonly id: string;
|
|
1379
1379
|
readonly type: "relationship";
|
|
1380
|
-
}> | Partial<import(
|
|
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(
|
|
1391
|
-
markerEnd?: import(
|
|
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(
|
|
1396
|
-
labelStyle?: import(
|
|
1395
|
+
label?: import('react').ReactNode;
|
|
1396
|
+
labelStyle?: import('react').CSSProperties;
|
|
1397
1397
|
labelShowBg?: boolean;
|
|
1398
|
-
labelBgStyle?: import(
|
|
1398
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1399
1399
|
labelBgPadding?: [number, number];
|
|
1400
1400
|
labelBgBorderRadius?: number;
|
|
1401
|
-
style?: import(
|
|
1401
|
+
style?: import('react').CSSProperties;
|
|
1402
1402
|
className?: string;
|
|
1403
|
-
updatable?: import(
|
|
1403
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1404
1404
|
focusable?: boolean;
|
|
1405
|
-
data: import(
|
|
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(
|
|
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(
|
|
1420
|
-
markerEnd?: import(
|
|
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(
|
|
1425
|
-
labelStyle?: import(
|
|
1424
|
+
label?: import('react').ReactNode;
|
|
1425
|
+
labelStyle?: import('react').CSSProperties;
|
|
1426
1426
|
labelShowBg?: boolean;
|
|
1427
|
-
labelBgStyle?: import(
|
|
1427
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1428
1428
|
labelBgPadding?: [number, number];
|
|
1429
1429
|
labelBgBorderRadius?: number;
|
|
1430
|
-
style?: import(
|
|
1430
|
+
style?: import('react').CSSProperties;
|
|
1431
1431
|
className?: string;
|
|
1432
|
-
updatable?: import(
|
|
1432
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1433
1433
|
focusable?: boolean;
|
|
1434
|
-
data: import(
|
|
1434
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1435
1435
|
readonly id: string;
|
|
1436
1436
|
readonly type: "relationship";
|
|
1437
|
-
}>, prevState: import(
|
|
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(
|
|
1448
|
-
markerEnd?: import(
|
|
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(
|
|
1453
|
-
labelStyle?: import(
|
|
1452
|
+
label?: import('react').ReactNode;
|
|
1453
|
+
labelStyle?: import('react').CSSProperties;
|
|
1454
1454
|
labelShowBg?: boolean;
|
|
1455
|
-
labelBgStyle?: import(
|
|
1455
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1456
1456
|
labelBgPadding?: [number, number];
|
|
1457
1457
|
labelBgBorderRadius?: number;
|
|
1458
|
-
style?: import(
|
|
1458
|
+
style?: import('react').CSSProperties;
|
|
1459
1459
|
className?: string;
|
|
1460
|
-
updatable?: import(
|
|
1460
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1461
1461
|
focusable?: boolean;
|
|
1462
|
-
data: import(
|
|
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(
|
|
1499
|
-
onNavigateTo: import(
|
|
1500
|
-
onNodeClick: import(
|
|
1501
|
-
onNodeContextMenu: import(
|
|
1502
|
-
onCanvasContextMenu: import(
|
|
1503
|
-
onEdgeClick: import(
|
|
1504
|
-
onEdgeContextMenu: import(
|
|
1505
|
-
onCanvasClick: import(
|
|
1506
|
-
onCanvasDblClick: import(
|
|
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(
|
|
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(
|
|
1530
|
-
markerEnd?: import(
|
|
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(
|
|
1535
|
-
labelStyle?: import(
|
|
1534
|
+
label?: import('react').ReactNode;
|
|
1535
|
+
labelStyle?: import('react').CSSProperties;
|
|
1536
1536
|
labelShowBg?: boolean;
|
|
1537
|
-
labelBgStyle?: import(
|
|
1537
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1538
1538
|
labelBgPadding?: [number, number];
|
|
1539
1539
|
labelBgBorderRadius?: number;
|
|
1540
|
-
style?: import(
|
|
1540
|
+
style?: import('react').CSSProperties;
|
|
1541
1541
|
className?: string;
|
|
1542
|
-
updatable?: import(
|
|
1542
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1543
1543
|
focusable?: boolean;
|
|
1544
|
-
data: import(
|
|
1544
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1545
1545
|
readonly id: string;
|
|
1546
1546
|
readonly type: "relationship";
|
|
1547
1547
|
}>;
|
|
1548
|
-
setState: (partial: import(
|
|
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(
|
|
1559
|
-
markerEnd?: import(
|
|
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(
|
|
1564
|
-
labelStyle?: import(
|
|
1563
|
+
label?: import('react').ReactNode;
|
|
1564
|
+
labelStyle?: import('react').CSSProperties;
|
|
1565
1565
|
labelShowBg?: boolean;
|
|
1566
|
-
labelBgStyle?: import(
|
|
1566
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1567
1567
|
labelBgPadding?: [number, number];
|
|
1568
1568
|
labelBgBorderRadius?: number;
|
|
1569
|
-
style?: import(
|
|
1569
|
+
style?: import('react').CSSProperties;
|
|
1570
1570
|
className?: string;
|
|
1571
|
-
updatable?: import(
|
|
1571
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1572
1572
|
focusable?: boolean;
|
|
1573
|
-
data: import(
|
|
1573
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1574
1574
|
readonly id: string;
|
|
1575
1575
|
readonly type: "relationship";
|
|
1576
|
-
}> | Partial<import(
|
|
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(
|
|
1587
|
-
markerEnd?: import(
|
|
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(
|
|
1592
|
-
labelStyle?: import(
|
|
1591
|
+
label?: import('react').ReactNode;
|
|
1592
|
+
labelStyle?: import('react').CSSProperties;
|
|
1593
1593
|
labelShowBg?: boolean;
|
|
1594
|
-
labelBgStyle?: import(
|
|
1594
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1595
1595
|
labelBgPadding?: [number, number];
|
|
1596
1596
|
labelBgBorderRadius?: number;
|
|
1597
|
-
style?: import(
|
|
1597
|
+
style?: import('react').CSSProperties;
|
|
1598
1598
|
className?: string;
|
|
1599
|
-
updatable?: import(
|
|
1599
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1600
1600
|
focusable?: boolean;
|
|
1601
|
-
data: import(
|
|
1601
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1602
1602
|
readonly id: string;
|
|
1603
1603
|
readonly type: "relationship";
|
|
1604
|
-
}>> | ((state: import(
|
|
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(
|
|
1615
|
-
markerEnd?: import(
|
|
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(
|
|
1620
|
-
labelStyle?: import(
|
|
1619
|
+
label?: import('react').ReactNode;
|
|
1620
|
+
labelStyle?: import('react').CSSProperties;
|
|
1621
1621
|
labelShowBg?: boolean;
|
|
1622
|
-
labelBgStyle?: import(
|
|
1622
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1623
1623
|
labelBgPadding?: [number, number];
|
|
1624
1624
|
labelBgBorderRadius?: number;
|
|
1625
|
-
style?: import(
|
|
1625
|
+
style?: import('react').CSSProperties;
|
|
1626
1626
|
className?: string;
|
|
1627
|
-
updatable?: import(
|
|
1627
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1628
1628
|
focusable?: boolean;
|
|
1629
|
-
data: import(
|
|
1629
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1630
1630
|
readonly id: string;
|
|
1631
1631
|
readonly type: "relationship";
|
|
1632
|
-
}>) => import(
|
|
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(
|
|
1643
|
-
markerEnd?: import(
|
|
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(
|
|
1648
|
-
labelStyle?: import(
|
|
1647
|
+
label?: import('react').ReactNode;
|
|
1648
|
+
labelStyle?: import('react').CSSProperties;
|
|
1649
1649
|
labelShowBg?: boolean;
|
|
1650
|
-
labelBgStyle?: import(
|
|
1650
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1651
1651
|
labelBgPadding?: [number, number];
|
|
1652
1652
|
labelBgBorderRadius?: number;
|
|
1653
|
-
style?: import(
|
|
1653
|
+
style?: import('react').CSSProperties;
|
|
1654
1654
|
className?: string;
|
|
1655
|
-
updatable?: import(
|
|
1655
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1656
1656
|
focusable?: boolean;
|
|
1657
|
-
data: import(
|
|
1657
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1658
1658
|
readonly id: string;
|
|
1659
1659
|
readonly type: "relationship";
|
|
1660
|
-
}> | Partial<import(
|
|
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(
|
|
1671
|
-
markerEnd?: import(
|
|
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(
|
|
1676
|
-
labelStyle?: import(
|
|
1675
|
+
label?: import('react').ReactNode;
|
|
1676
|
+
labelStyle?: import('react').CSSProperties;
|
|
1677
1677
|
labelShowBg?: boolean;
|
|
1678
|
-
labelBgStyle?: import(
|
|
1678
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1679
1679
|
labelBgPadding?: [number, number];
|
|
1680
1680
|
labelBgBorderRadius?: number;
|
|
1681
|
-
style?: import(
|
|
1681
|
+
style?: import('react').CSSProperties;
|
|
1682
1682
|
className?: string;
|
|
1683
|
-
updatable?: import(
|
|
1683
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1684
1684
|
focusable?: boolean;
|
|
1685
|
-
data: import(
|
|
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(
|
|
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(
|
|
1700
|
-
markerEnd?: import(
|
|
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(
|
|
1705
|
-
labelStyle?: import(
|
|
1704
|
+
label?: import('react').ReactNode;
|
|
1705
|
+
labelStyle?: import('react').CSSProperties;
|
|
1706
1706
|
labelShowBg?: boolean;
|
|
1707
|
-
labelBgStyle?: import(
|
|
1707
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1708
1708
|
labelBgPadding?: [number, number];
|
|
1709
1709
|
labelBgBorderRadius?: number;
|
|
1710
|
-
style?: import(
|
|
1710
|
+
style?: import('react').CSSProperties;
|
|
1711
1711
|
className?: string;
|
|
1712
|
-
updatable?: import(
|
|
1712
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1713
1713
|
focusable?: boolean;
|
|
1714
|
-
data: import(
|
|
1714
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1715
1715
|
readonly id: string;
|
|
1716
1716
|
readonly type: "relationship";
|
|
1717
|
-
}>, prevState: import(
|
|
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(
|
|
1728
|
-
markerEnd?: import(
|
|
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(
|
|
1733
|
-
labelStyle?: import(
|
|
1732
|
+
label?: import('react').ReactNode;
|
|
1733
|
+
labelStyle?: import('react').CSSProperties;
|
|
1734
1734
|
labelShowBg?: boolean;
|
|
1735
|
-
labelBgStyle?: import(
|
|
1735
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1736
1736
|
labelBgPadding?: [number, number];
|
|
1737
1737
|
labelBgBorderRadius?: number;
|
|
1738
|
-
style?: import(
|
|
1738
|
+
style?: import('react').CSSProperties;
|
|
1739
1739
|
className?: string;
|
|
1740
|
-
updatable?: import(
|
|
1740
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1741
1741
|
focusable?: boolean;
|
|
1742
|
-
data: import(
|
|
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(
|
|
1779
|
-
onNavigateTo: import(
|
|
1780
|
-
onNodeClick: import(
|
|
1781
|
-
onNodeContextMenu: import(
|
|
1782
|
-
onCanvasContextMenu: import(
|
|
1783
|
-
onEdgeClick: import(
|
|
1784
|
-
onEdgeContextMenu: import(
|
|
1785
|
-
onCanvasClick: import(
|
|
1786
|
-
onCanvasDblClick: import(
|
|
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(
|
|
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(
|
|
1810
|
-
markerEnd?: import(
|
|
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(
|
|
1815
|
-
labelStyle?: import(
|
|
1814
|
+
label?: import('react').ReactNode;
|
|
1815
|
+
labelStyle?: import('react').CSSProperties;
|
|
1816
1816
|
labelShowBg?: boolean;
|
|
1817
|
-
labelBgStyle?: import(
|
|
1817
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1818
1818
|
labelBgPadding?: [number, number];
|
|
1819
1819
|
labelBgBorderRadius?: number;
|
|
1820
|
-
style?: import(
|
|
1820
|
+
style?: import('react').CSSProperties;
|
|
1821
1821
|
className?: string;
|
|
1822
|
-
updatable?: import(
|
|
1822
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1823
1823
|
focusable?: boolean;
|
|
1824
|
-
data: import(
|
|
1824
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1825
1825
|
readonly id: string;
|
|
1826
1826
|
readonly type: "relationship";
|
|
1827
1827
|
}>;
|
|
1828
|
-
setState: (partial: import(
|
|
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(
|
|
1839
|
-
markerEnd?: import(
|
|
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(
|
|
1844
|
-
labelStyle?: import(
|
|
1843
|
+
label?: import('react').ReactNode;
|
|
1844
|
+
labelStyle?: import('react').CSSProperties;
|
|
1845
1845
|
labelShowBg?: boolean;
|
|
1846
|
-
labelBgStyle?: import(
|
|
1846
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1847
1847
|
labelBgPadding?: [number, number];
|
|
1848
1848
|
labelBgBorderRadius?: number;
|
|
1849
|
-
style?: import(
|
|
1849
|
+
style?: import('react').CSSProperties;
|
|
1850
1850
|
className?: string;
|
|
1851
|
-
updatable?: import(
|
|
1851
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1852
1852
|
focusable?: boolean;
|
|
1853
|
-
data: import(
|
|
1853
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1854
1854
|
readonly id: string;
|
|
1855
1855
|
readonly type: "relationship";
|
|
1856
|
-
}> | Partial<import(
|
|
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(
|
|
1867
|
-
markerEnd?: import(
|
|
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(
|
|
1872
|
-
labelStyle?: import(
|
|
1871
|
+
label?: import('react').ReactNode;
|
|
1872
|
+
labelStyle?: import('react').CSSProperties;
|
|
1873
1873
|
labelShowBg?: boolean;
|
|
1874
|
-
labelBgStyle?: import(
|
|
1874
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1875
1875
|
labelBgPadding?: [number, number];
|
|
1876
1876
|
labelBgBorderRadius?: number;
|
|
1877
|
-
style?: import(
|
|
1877
|
+
style?: import('react').CSSProperties;
|
|
1878
1878
|
className?: string;
|
|
1879
|
-
updatable?: import(
|
|
1879
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1880
1880
|
focusable?: boolean;
|
|
1881
|
-
data: import(
|
|
1881
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1882
1882
|
readonly id: string;
|
|
1883
1883
|
readonly type: "relationship";
|
|
1884
|
-
}>> | ((state: import(
|
|
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(
|
|
1895
|
-
markerEnd?: import(
|
|
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(
|
|
1900
|
-
labelStyle?: import(
|
|
1899
|
+
label?: import('react').ReactNode;
|
|
1900
|
+
labelStyle?: import('react').CSSProperties;
|
|
1901
1901
|
labelShowBg?: boolean;
|
|
1902
|
-
labelBgStyle?: import(
|
|
1902
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1903
1903
|
labelBgPadding?: [number, number];
|
|
1904
1904
|
labelBgBorderRadius?: number;
|
|
1905
|
-
style?: import(
|
|
1905
|
+
style?: import('react').CSSProperties;
|
|
1906
1906
|
className?: string;
|
|
1907
|
-
updatable?: import(
|
|
1907
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1908
1908
|
focusable?: boolean;
|
|
1909
|
-
data: import(
|
|
1909
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1910
1910
|
readonly id: string;
|
|
1911
1911
|
readonly type: "relationship";
|
|
1912
|
-
}>) => import(
|
|
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(
|
|
1923
|
-
markerEnd?: import(
|
|
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(
|
|
1928
|
-
labelStyle?: import(
|
|
1927
|
+
label?: import('react').ReactNode;
|
|
1928
|
+
labelStyle?: import('react').CSSProperties;
|
|
1929
1929
|
labelShowBg?: boolean;
|
|
1930
|
-
labelBgStyle?: import(
|
|
1930
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1931
1931
|
labelBgPadding?: [number, number];
|
|
1932
1932
|
labelBgBorderRadius?: number;
|
|
1933
|
-
style?: import(
|
|
1933
|
+
style?: import('react').CSSProperties;
|
|
1934
1934
|
className?: string;
|
|
1935
|
-
updatable?: import(
|
|
1935
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1936
1936
|
focusable?: boolean;
|
|
1937
|
-
data: import(
|
|
1937
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1938
1938
|
readonly id: string;
|
|
1939
1939
|
readonly type: "relationship";
|
|
1940
|
-
}> | Partial<import(
|
|
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(
|
|
1951
|
-
markerEnd?: import(
|
|
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(
|
|
1956
|
-
labelStyle?: import(
|
|
1955
|
+
label?: import('react').ReactNode;
|
|
1956
|
+
labelStyle?: import('react').CSSProperties;
|
|
1957
1957
|
labelShowBg?: boolean;
|
|
1958
|
-
labelBgStyle?: import(
|
|
1958
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1959
1959
|
labelBgPadding?: [number, number];
|
|
1960
1960
|
labelBgBorderRadius?: number;
|
|
1961
|
-
style?: import(
|
|
1961
|
+
style?: import('react').CSSProperties;
|
|
1962
1962
|
className?: string;
|
|
1963
|
-
updatable?: import(
|
|
1963
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1964
1964
|
focusable?: boolean;
|
|
1965
|
-
data: import(
|
|
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(
|
|
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(
|
|
1980
|
-
markerEnd?: import(
|
|
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(
|
|
1985
|
-
labelStyle?: import(
|
|
1984
|
+
label?: import('react').ReactNode;
|
|
1985
|
+
labelStyle?: import('react').CSSProperties;
|
|
1986
1986
|
labelShowBg?: boolean;
|
|
1987
|
-
labelBgStyle?: import(
|
|
1987
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
1988
1988
|
labelBgPadding?: [number, number];
|
|
1989
1989
|
labelBgBorderRadius?: number;
|
|
1990
|
-
style?: import(
|
|
1990
|
+
style?: import('react').CSSProperties;
|
|
1991
1991
|
className?: string;
|
|
1992
|
-
updatable?: import(
|
|
1992
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
1993
1993
|
focusable?: boolean;
|
|
1994
|
-
data: import(
|
|
1994
|
+
data: import('../xyflow/types').RelationshipData;
|
|
1995
1995
|
readonly id: string;
|
|
1996
1996
|
readonly type: "relationship";
|
|
1997
|
-
}>, prevState: import(
|
|
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(
|
|
2008
|
-
markerEnd?: import(
|
|
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(
|
|
2013
|
-
labelStyle?: import(
|
|
2012
|
+
label?: import('react').ReactNode;
|
|
2013
|
+
labelStyle?: import('react').CSSProperties;
|
|
2014
2014
|
labelShowBg?: boolean;
|
|
2015
|
-
labelBgStyle?: import(
|
|
2015
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2016
2016
|
labelBgPadding?: [number, number];
|
|
2017
2017
|
labelBgBorderRadius?: number;
|
|
2018
|
-
style?: import(
|
|
2018
|
+
style?: import('react').CSSProperties;
|
|
2019
2019
|
className?: string;
|
|
2020
|
-
updatable?: import(
|
|
2020
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2021
2021
|
focusable?: boolean;
|
|
2022
|
-
data: import(
|
|
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(
|
|
2059
|
-
onNavigateTo: import(
|
|
2060
|
-
onNodeClick: import(
|
|
2061
|
-
onNodeContextMenu: import(
|
|
2062
|
-
onCanvasContextMenu: import(
|
|
2063
|
-
onEdgeClick: import(
|
|
2064
|
-
onEdgeContextMenu: import(
|
|
2065
|
-
onCanvasClick: import(
|
|
2066
|
-
onCanvasDblClick: import(
|
|
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(
|
|
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(
|
|
2090
|
-
markerEnd?: import(
|
|
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(
|
|
2095
|
-
labelStyle?: import(
|
|
2094
|
+
label?: import('react').ReactNode;
|
|
2095
|
+
labelStyle?: import('react').CSSProperties;
|
|
2096
2096
|
labelShowBg?: boolean;
|
|
2097
|
-
labelBgStyle?: import(
|
|
2097
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2098
2098
|
labelBgPadding?: [number, number];
|
|
2099
2099
|
labelBgBorderRadius?: number;
|
|
2100
|
-
style?: import(
|
|
2100
|
+
style?: import('react').CSSProperties;
|
|
2101
2101
|
className?: string;
|
|
2102
|
-
updatable?: import(
|
|
2102
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2103
2103
|
focusable?: boolean;
|
|
2104
|
-
data: import(
|
|
2104
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2105
2105
|
readonly id: string;
|
|
2106
2106
|
readonly type: "relationship";
|
|
2107
2107
|
}>;
|
|
2108
|
-
setState: (partial: import(
|
|
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(
|
|
2119
|
-
markerEnd?: import(
|
|
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(
|
|
2124
|
-
labelStyle?: import(
|
|
2123
|
+
label?: import('react').ReactNode;
|
|
2124
|
+
labelStyle?: import('react').CSSProperties;
|
|
2125
2125
|
labelShowBg?: boolean;
|
|
2126
|
-
labelBgStyle?: import(
|
|
2126
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2127
2127
|
labelBgPadding?: [number, number];
|
|
2128
2128
|
labelBgBorderRadius?: number;
|
|
2129
|
-
style?: import(
|
|
2129
|
+
style?: import('react').CSSProperties;
|
|
2130
2130
|
className?: string;
|
|
2131
|
-
updatable?: import(
|
|
2131
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2132
2132
|
focusable?: boolean;
|
|
2133
|
-
data: import(
|
|
2133
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2134
2134
|
readonly id: string;
|
|
2135
2135
|
readonly type: "relationship";
|
|
2136
|
-
}> | Partial<import(
|
|
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(
|
|
2147
|
-
markerEnd?: import(
|
|
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(
|
|
2152
|
-
labelStyle?: import(
|
|
2151
|
+
label?: import('react').ReactNode;
|
|
2152
|
+
labelStyle?: import('react').CSSProperties;
|
|
2153
2153
|
labelShowBg?: boolean;
|
|
2154
|
-
labelBgStyle?: import(
|
|
2154
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2155
2155
|
labelBgPadding?: [number, number];
|
|
2156
2156
|
labelBgBorderRadius?: number;
|
|
2157
|
-
style?: import(
|
|
2157
|
+
style?: import('react').CSSProperties;
|
|
2158
2158
|
className?: string;
|
|
2159
|
-
updatable?: import(
|
|
2159
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2160
2160
|
focusable?: boolean;
|
|
2161
|
-
data: import(
|
|
2161
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2162
2162
|
readonly id: string;
|
|
2163
2163
|
readonly type: "relationship";
|
|
2164
|
-
}>> | ((state: import(
|
|
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(
|
|
2175
|
-
markerEnd?: import(
|
|
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(
|
|
2180
|
-
labelStyle?: import(
|
|
2179
|
+
label?: import('react').ReactNode;
|
|
2180
|
+
labelStyle?: import('react').CSSProperties;
|
|
2181
2181
|
labelShowBg?: boolean;
|
|
2182
|
-
labelBgStyle?: import(
|
|
2182
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2183
2183
|
labelBgPadding?: [number, number];
|
|
2184
2184
|
labelBgBorderRadius?: number;
|
|
2185
|
-
style?: import(
|
|
2185
|
+
style?: import('react').CSSProperties;
|
|
2186
2186
|
className?: string;
|
|
2187
|
-
updatable?: import(
|
|
2187
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2188
2188
|
focusable?: boolean;
|
|
2189
|
-
data: import(
|
|
2189
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2190
2190
|
readonly id: string;
|
|
2191
2191
|
readonly type: "relationship";
|
|
2192
|
-
}>) => import(
|
|
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(
|
|
2203
|
-
markerEnd?: import(
|
|
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(
|
|
2208
|
-
labelStyle?: import(
|
|
2207
|
+
label?: import('react').ReactNode;
|
|
2208
|
+
labelStyle?: import('react').CSSProperties;
|
|
2209
2209
|
labelShowBg?: boolean;
|
|
2210
|
-
labelBgStyle?: import(
|
|
2210
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2211
2211
|
labelBgPadding?: [number, number];
|
|
2212
2212
|
labelBgBorderRadius?: number;
|
|
2213
|
-
style?: import(
|
|
2213
|
+
style?: import('react').CSSProperties;
|
|
2214
2214
|
className?: string;
|
|
2215
|
-
updatable?: import(
|
|
2215
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2216
2216
|
focusable?: boolean;
|
|
2217
|
-
data: import(
|
|
2217
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2218
2218
|
readonly id: string;
|
|
2219
2219
|
readonly type: "relationship";
|
|
2220
|
-
}> | Partial<import(
|
|
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(
|
|
2231
|
-
markerEnd?: import(
|
|
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(
|
|
2236
|
-
labelStyle?: import(
|
|
2235
|
+
label?: import('react').ReactNode;
|
|
2236
|
+
labelStyle?: import('react').CSSProperties;
|
|
2237
2237
|
labelShowBg?: boolean;
|
|
2238
|
-
labelBgStyle?: import(
|
|
2238
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2239
2239
|
labelBgPadding?: [number, number];
|
|
2240
2240
|
labelBgBorderRadius?: number;
|
|
2241
|
-
style?: import(
|
|
2241
|
+
style?: import('react').CSSProperties;
|
|
2242
2242
|
className?: string;
|
|
2243
|
-
updatable?: import(
|
|
2243
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2244
2244
|
focusable?: boolean;
|
|
2245
|
-
data: import(
|
|
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(
|
|
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(
|
|
2260
|
-
markerEnd?: import(
|
|
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(
|
|
2265
|
-
labelStyle?: import(
|
|
2264
|
+
label?: import('react').ReactNode;
|
|
2265
|
+
labelStyle?: import('react').CSSProperties;
|
|
2266
2266
|
labelShowBg?: boolean;
|
|
2267
|
-
labelBgStyle?: import(
|
|
2267
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2268
2268
|
labelBgPadding?: [number, number];
|
|
2269
2269
|
labelBgBorderRadius?: number;
|
|
2270
|
-
style?: import(
|
|
2270
|
+
style?: import('react').CSSProperties;
|
|
2271
2271
|
className?: string;
|
|
2272
|
-
updatable?: import(
|
|
2272
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2273
2273
|
focusable?: boolean;
|
|
2274
|
-
data: import(
|
|
2274
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2275
2275
|
readonly id: string;
|
|
2276
2276
|
readonly type: "relationship";
|
|
2277
|
-
}>, prevState: import(
|
|
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(
|
|
2288
|
-
markerEnd?: import(
|
|
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(
|
|
2293
|
-
labelStyle?: import(
|
|
2292
|
+
label?: import('react').ReactNode;
|
|
2293
|
+
labelStyle?: import('react').CSSProperties;
|
|
2294
2294
|
labelShowBg?: boolean;
|
|
2295
|
-
labelBgStyle?: import(
|
|
2295
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2296
2296
|
labelBgPadding?: [number, number];
|
|
2297
2297
|
labelBgBorderRadius?: number;
|
|
2298
|
-
style?: import(
|
|
2298
|
+
style?: import('react').CSSProperties;
|
|
2299
2299
|
className?: string;
|
|
2300
|
-
updatable?: import(
|
|
2300
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2301
2301
|
focusable?: boolean;
|
|
2302
|
-
data: import(
|
|
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(
|
|
2339
|
-
onNavigateTo: import(
|
|
2340
|
-
onNodeClick: import(
|
|
2341
|
-
onNodeContextMenu: import(
|
|
2342
|
-
onCanvasContextMenu: import(
|
|
2343
|
-
onEdgeClick: import(
|
|
2344
|
-
onEdgeContextMenu: import(
|
|
2345
|
-
onCanvasClick: import(
|
|
2346
|
-
onCanvasDblClick: import(
|
|
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(
|
|
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(
|
|
2370
|
-
markerEnd?: import(
|
|
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(
|
|
2375
|
-
labelStyle?: import(
|
|
2374
|
+
label?: import('react').ReactNode;
|
|
2375
|
+
labelStyle?: import('react').CSSProperties;
|
|
2376
2376
|
labelShowBg?: boolean;
|
|
2377
|
-
labelBgStyle?: import(
|
|
2377
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2378
2378
|
labelBgPadding?: [number, number];
|
|
2379
2379
|
labelBgBorderRadius?: number;
|
|
2380
|
-
style?: import(
|
|
2380
|
+
style?: import('react').CSSProperties;
|
|
2381
2381
|
className?: string;
|
|
2382
|
-
updatable?: import(
|
|
2382
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2383
2383
|
focusable?: boolean;
|
|
2384
|
-
data: import(
|
|
2384
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2385
2385
|
readonly id: string;
|
|
2386
2386
|
readonly type: "relationship";
|
|
2387
2387
|
}>;
|
|
2388
|
-
setState: (partial: import(
|
|
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(
|
|
2399
|
-
markerEnd?: import(
|
|
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(
|
|
2404
|
-
labelStyle?: import(
|
|
2403
|
+
label?: import('react').ReactNode;
|
|
2404
|
+
labelStyle?: import('react').CSSProperties;
|
|
2405
2405
|
labelShowBg?: boolean;
|
|
2406
|
-
labelBgStyle?: import(
|
|
2406
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2407
2407
|
labelBgPadding?: [number, number];
|
|
2408
2408
|
labelBgBorderRadius?: number;
|
|
2409
|
-
style?: import(
|
|
2409
|
+
style?: import('react').CSSProperties;
|
|
2410
2410
|
className?: string;
|
|
2411
|
-
updatable?: import(
|
|
2411
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2412
2412
|
focusable?: boolean;
|
|
2413
|
-
data: import(
|
|
2413
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2414
2414
|
readonly id: string;
|
|
2415
2415
|
readonly type: "relationship";
|
|
2416
|
-
}> | Partial<import(
|
|
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(
|
|
2427
|
-
markerEnd?: import(
|
|
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(
|
|
2432
|
-
labelStyle?: import(
|
|
2431
|
+
label?: import('react').ReactNode;
|
|
2432
|
+
labelStyle?: import('react').CSSProperties;
|
|
2433
2433
|
labelShowBg?: boolean;
|
|
2434
|
-
labelBgStyle?: import(
|
|
2434
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2435
2435
|
labelBgPadding?: [number, number];
|
|
2436
2436
|
labelBgBorderRadius?: number;
|
|
2437
|
-
style?: import(
|
|
2437
|
+
style?: import('react').CSSProperties;
|
|
2438
2438
|
className?: string;
|
|
2439
|
-
updatable?: import(
|
|
2439
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2440
2440
|
focusable?: boolean;
|
|
2441
|
-
data: import(
|
|
2441
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2442
2442
|
readonly id: string;
|
|
2443
2443
|
readonly type: "relationship";
|
|
2444
|
-
}>> | ((state: import(
|
|
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(
|
|
2455
|
-
markerEnd?: import(
|
|
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(
|
|
2460
|
-
labelStyle?: import(
|
|
2459
|
+
label?: import('react').ReactNode;
|
|
2460
|
+
labelStyle?: import('react').CSSProperties;
|
|
2461
2461
|
labelShowBg?: boolean;
|
|
2462
|
-
labelBgStyle?: import(
|
|
2462
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2463
2463
|
labelBgPadding?: [number, number];
|
|
2464
2464
|
labelBgBorderRadius?: number;
|
|
2465
|
-
style?: import(
|
|
2465
|
+
style?: import('react').CSSProperties;
|
|
2466
2466
|
className?: string;
|
|
2467
|
-
updatable?: import(
|
|
2467
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2468
2468
|
focusable?: boolean;
|
|
2469
|
-
data: import(
|
|
2469
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2470
2470
|
readonly id: string;
|
|
2471
2471
|
readonly type: "relationship";
|
|
2472
|
-
}>) => import(
|
|
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(
|
|
2483
|
-
markerEnd?: import(
|
|
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(
|
|
2488
|
-
labelStyle?: import(
|
|
2487
|
+
label?: import('react').ReactNode;
|
|
2488
|
+
labelStyle?: import('react').CSSProperties;
|
|
2489
2489
|
labelShowBg?: boolean;
|
|
2490
|
-
labelBgStyle?: import(
|
|
2490
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2491
2491
|
labelBgPadding?: [number, number];
|
|
2492
2492
|
labelBgBorderRadius?: number;
|
|
2493
|
-
style?: import(
|
|
2493
|
+
style?: import('react').CSSProperties;
|
|
2494
2494
|
className?: string;
|
|
2495
|
-
updatable?: import(
|
|
2495
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2496
2496
|
focusable?: boolean;
|
|
2497
|
-
data: import(
|
|
2497
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2498
2498
|
readonly id: string;
|
|
2499
2499
|
readonly type: "relationship";
|
|
2500
|
-
}> | Partial<import(
|
|
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(
|
|
2511
|
-
markerEnd?: import(
|
|
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(
|
|
2516
|
-
labelStyle?: import(
|
|
2515
|
+
label?: import('react').ReactNode;
|
|
2516
|
+
labelStyle?: import('react').CSSProperties;
|
|
2517
2517
|
labelShowBg?: boolean;
|
|
2518
|
-
labelBgStyle?: import(
|
|
2518
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2519
2519
|
labelBgPadding?: [number, number];
|
|
2520
2520
|
labelBgBorderRadius?: number;
|
|
2521
|
-
style?: import(
|
|
2521
|
+
style?: import('react').CSSProperties;
|
|
2522
2522
|
className?: string;
|
|
2523
|
-
updatable?: import(
|
|
2523
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2524
2524
|
focusable?: boolean;
|
|
2525
|
-
data: import(
|
|
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(
|
|
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(
|
|
2540
|
-
markerEnd?: import(
|
|
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(
|
|
2545
|
-
labelStyle?: import(
|
|
2544
|
+
label?: import('react').ReactNode;
|
|
2545
|
+
labelStyle?: import('react').CSSProperties;
|
|
2546
2546
|
labelShowBg?: boolean;
|
|
2547
|
-
labelBgStyle?: import(
|
|
2547
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2548
2548
|
labelBgPadding?: [number, number];
|
|
2549
2549
|
labelBgBorderRadius?: number;
|
|
2550
|
-
style?: import(
|
|
2550
|
+
style?: import('react').CSSProperties;
|
|
2551
2551
|
className?: string;
|
|
2552
|
-
updatable?: import(
|
|
2552
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2553
2553
|
focusable?: boolean;
|
|
2554
|
-
data: import(
|
|
2554
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2555
2555
|
readonly id: string;
|
|
2556
2556
|
readonly type: "relationship";
|
|
2557
|
-
}>, prevState: import(
|
|
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(
|
|
2568
|
-
markerEnd?: import(
|
|
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(
|
|
2573
|
-
labelStyle?: import(
|
|
2572
|
+
label?: import('react').ReactNode;
|
|
2573
|
+
labelStyle?: import('react').CSSProperties;
|
|
2574
2574
|
labelShowBg?: boolean;
|
|
2575
|
-
labelBgStyle?: import(
|
|
2575
|
+
labelBgStyle?: import('react').CSSProperties;
|
|
2576
2576
|
labelBgPadding?: [number, number];
|
|
2577
2577
|
labelBgBorderRadius?: number;
|
|
2578
|
-
style?: import(
|
|
2578
|
+
style?: import('react').CSSProperties;
|
|
2579
2579
|
className?: string;
|
|
2580
|
-
updatable?: import(
|
|
2580
|
+
updatable?: import('@xyflow/react').EdgeUpdatable;
|
|
2581
2581
|
focusable?: boolean;
|
|
2582
|
-
data: import(
|
|
2582
|
+
data: import('../xyflow/types').RelationshipData;
|
|
2583
2583
|
readonly id: string;
|
|
2584
2584
|
readonly type: "relationship";
|
|
2585
2585
|
}>) => void) => () => void;
|