workflow / Exports / UniversalPosition
Interface: UniversalPosition
Universal position information for nodes Supports both explicit positioning and automatic layout hints
Table of contents
Properties
Properties
x
• Optional x: number
Explicit X coordinate (pixels)
Defined in
y
• Optional y: number
Explicit Y coordinate (pixels)
Defined in
level
• level: number
Hierarchical level for automatic layout
Defined in
order
• order: number
Order within the same level
Defined in
groupId
• Optional groupId: string
Layout group identifier for related nodes
Defined in
layoutHints
• Optional layoutHints: Object
Layout hints for automatic positioning
Type declaration
| Name | Type | Description |
|---|---|---|
align? | "left" | "center" | "right" | Preferred horizontal alignment |
spacing? | "compact" | "normal" | "loose" | Spacing preferences |
constraints? | { minX?: number ; maxX?: number ; minY?: number ; maxY?: number } | Force position constraints |
constraints.minX? | number | - |
constraints.maxX? | number | - |
constraints.minY? | number | - |
constraints.maxY? | number | - |