File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ export interface FlowExportObject {
127127
128128export interface FlowProps {
129129 id ?: string
130+ /** @deprecated use `nodes` & `edges` instead */
130131 modelValue ?: Elements
131132 nodes ?: Node [ ]
132133 edges ?: Edge [ ]
@@ -174,12 +175,19 @@ export interface FlowProps {
174175 preventScrolling ?: boolean
175176 selectionMode ?: SelectionMode
176177 edgeUpdaterRadius ?: number
178+ /** will be renamed to `fitView` */
177179 fitViewOnInit ?: boolean
178180 /** allow connection with click handlers, i.e. support touch devices */
179181 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+ */
181186 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+ */
183191 autoConnect ?: boolean | Connector
184192 noDragClassName ?: string
185193 noWheelClassName ?: string
You can’t perform that action at this time.
0 commit comments