feat(core): add __experimentalFeatures flag to store
This commit is contained in:
@@ -114,6 +114,10 @@ const defaultState = (): State => ({
|
|||||||
defaultEdgeOptions: undefined,
|
defaultEdgeOptions: undefined,
|
||||||
elevateEdgesOnSelect: false,
|
elevateEdgesOnSelect: false,
|
||||||
|
|
||||||
|
__experimentalFeatures: {
|
||||||
|
nestedFlow: false,
|
||||||
|
},
|
||||||
|
|
||||||
vueFlowVersion: typeof __VUE_FLOW_VERSION__ !== 'undefined' ? __VUE_FLOW_VERSION__ : '-',
|
vueFlowVersion: typeof __VUE_FLOW_VERSION__ !== 'undefined' ? __VUE_FLOW_VERSION__ : '-',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -157,6 +157,10 @@ export interface FlowProps {
|
|||||||
defaultEdgeOptions?: DefaultEdgeOptions
|
defaultEdgeOptions?: DefaultEdgeOptions
|
||||||
/** elevates edges when selected and applies z-Index to put them above their nodes */
|
/** elevates edges when selected and applies z-Index to put them above their nodes */
|
||||||
elevateEdgesOnSelect?: boolean
|
elevateEdgesOnSelect?: boolean
|
||||||
|
|
||||||
|
__experimentalFeatures?: {
|
||||||
|
nestedFlow?: boolean
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type FlowOptions = FlowProps
|
export type FlowOptions = FlowProps
|
||||||
|
|||||||
Reference in New Issue
Block a user