@graphty/graphty-element / session / Scope
Type Alias: Scope ​
Scope =
"visible"|"graph"|"selection"|"largest-component"| {set:ScopeId; } | {where:Query; } | {nodes: readonlyNodeId[]; } | {define:SetDefinition; }
Defined in: graphty-element/src/catalog/types.ts:992
What an operation runs over: a set reference.
{ define } carries a set definition inline, with edge members in stable form; a write position that also accepts session edge ids takes ScopeInput. The keyword "search" is reserved for a later release and refused.
OPEN UNION: forms may be added in a minor release; handle unknown forms.