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