Skip to content

@graphty/graphty-element / session / EngineVersions

Interface: EngineVersions ​

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

Which versions of which packages produced a result.

Properties ​

algorithms ​

readonly algorithms: string

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

The algorithms package version.


element ​

readonly element: string

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

The graphty-element version.


layout ​

readonly layout: string

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

The layout package version.


plugins? ​

readonly optional plugins?: Readonly<Record<string, string>>

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

The versions of any registered extensions that produced these numbers, by catalogue key.

WHY IT IS HERE. The three fixed fields above name the element and its two sibling packages, which is everything when the element's own algorithm did the work. A run of a THIRD PARTY's algorithm used to record those same three and nothing at all identifying the code that actually computed the result -- which is the field's whole purpose. Filled from an optional static version on the registered class, and absent when the class declares none.