File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ export interface FlowExportObject {
127
127
128
128
export interface FlowProps {
129
129
id ?: string
130
+ /** @deprecated use `nodes` & `edges` instead */
130
131
modelValue ?: Elements
131
132
nodes ?: Node [ ]
132
133
edges ?: Edge [ ]
@@ -174,12 +175,19 @@ export interface FlowProps {
174
175
preventScrolling ?: boolean
175
176
selectionMode ?: SelectionMode
176
177
edgeUpdaterRadius ?: number
178
+ /** will be renamed to `fitView` */
177
179
fitViewOnInit ?: boolean
178
180
/** allow connection with click handlers, i.e. support touch devices */
179
181
connectOnClick ?: boolean
180
- /** apply default change handlers for position, dimensions, adding/removing nodes. set this to false if you want to apply the changes manually */
182
+ /**
183
+ * @deprecated - will be removed in the next major version, changes will not be auto applied in the future
184
+ * apply default change handlers for position, dimensions, adding/removing nodes. set this to false if you want to apply the changes manually
185
+ */
181
186
applyDefault ?: boolean
182
- /** automatically create an edge when connection is triggered */
187
+ /**
188
+ * @deprecated - will be removed in the next major version
189
+ * automatically create an edge when connection is triggered
190
+ */
183
191
autoConnect ?: boolean | Connector
184
192
noDragClassName ?: string
185
193
noWheelClassName ?: string
You can’t perform that action at this time.
0 commit comments