Skip to content

rune-langium / visual-editor/src / DomainNodeData

Type Alias: DomainNodeData ​

ts
type DomainNodeData = AnyDomain;

Defined in: packages/visual-editor/src/types.ts:92

Domain payload of an editor graph node — the discriminated union (on $type) of Dehydrated<T> over every top-level element kind the editor renders. This is the PURE domain object: lossless, strict { $refText } refs, $type required, and NO UI metadata (which lives on node.meta).

Sourced from the generated core AnyDomain union (single source of truth; the editor no longer hand-maintains the arm list — the langium-zod repository.elementTypes config drives it).

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.