rune-langium / visual-editor/src / NodeOf
Type Alias: NodeOf<K>
ts
type NodeOf<K> = Node<Extract<AnyDomain, {
$type: K;
}>> & {
meta: GraphNodeMeta;
};Defined in: packages/visual-editor/src/store/node-repository.ts:10
A graph node whose domain payload is narrowed to the $type named by K.
Type Parameters
| Type Parameter |
|---|
K extends AnyDomain["$type"] |
Type Declaration
| Name | Type | Defined in |
|---|---|---|
meta | GraphNodeMeta | packages/visual-editor/src/store/node-repository.ts:11 |