feat(svelte): add zIndexMode

This commit is contained in:
moklick
2025-12-01 12:11:19 +01:00
parent fe3bb90c54
commit 4eb42952f0
6 changed files with 37 additions and 9 deletions

View File

@@ -692,5 +692,11 @@ export interface ReactFlowProps<NodeType extends Node = Node, EdgeType extends E
* Allows localization, customization of ARIA descriptions, control labels, minimap labels, and other UI strings.
*/
ariaLabelConfig?: Partial<AriaLabelConfig>;
/**
* Used to define how z-indexing is calculated for nodes and edges.
* 'auto' is for selections and sub flows, 'basic' for selections only, and 'manual' for no auto z-indexing.
*
* @default 'auto'
*/
zIndexMode?: ZIndexMode;
}