Skip to content

@graphty/graphty-element / session / RunSpec

Interface: RunSpec ​

Defined in: graphty-element/src/session/runs/types.ts:417

One member of a batch: the same thing start takes, as data.

Properties ​

algorithm ​

readonly algorithm: AlgorithmKey

Defined in: graphty-element/src/session/runs/types.ts:419

Which algorithm to run.


as? ​

readonly optional as?: string

Defined in: graphty-element/src/session/runs/types.ts:427

The id to give the run.


params? ​

readonly optional params?: Readonly<Record<string, unknown>>

Defined in: graphty-element/src/session/runs/types.ts:421

Its parameters.


scope? ​

readonly optional scope?: ScopeInput

Defined in: graphty-element/src/session/runs/types.ts:423

What it may look at, as StartOptions.scope.


seed? ​

readonly optional seed?: number

Defined in: graphty-element/src/session/runs/types.ts:425

The seed for a randomised or sampled method.


style? ​

readonly optional style?: RunStyle

Defined in: graphty-element/src/session/runs/types.ts:429

What the element paints on first completion; see RunStyle.