Skip to content

@graphty/graphty-element / session / SavedScope

Interface: SavedScope ​

Defined in: graphty-element/src/session/scope/ScopeApi.ts:205

One scope somebody saved under a name.

Properties ​

bound ​

readonly bound: boolean

Defined in: graphty-element/src/session/scope/ScopeApi.ts:217

Whether everything the specification refers to is still here: the saved set it names still exists, the capability it needs is present, at least one of its literal node ids is still in the graph. False means resolving it would throw or would answer with nothing.


id ​

readonly id: string

Defined in: graphty-element/src/session/scope/ScopeApi.ts:207

The element-minted id, which is what { set: id } names.


name ​

readonly name: string

Defined in: graphty-element/src/session/scope/ScopeApi.ts:209

The name it was saved under, unique within the session.


spec ​

readonly spec: Scope

Defined in: graphty-element/src/session/scope/ScopeApi.ts:211

The specification it holds.