Skip to content

@graphty/graphty-element / session / JournalEntry

Interface: JournalEntry ​

Defined in: graphty-element/src/session/journal.ts:25

One command the session ran. Frozen.

Properties ​

at ​

readonly at: string

Defined in: graphty-element/src/session/journal.ts:29

When the command finished, as ISO 8601 UTC with milliseconds.


coalesceKey? ​

readonly optional coalesceKey?: string

Defined in: graphty-element/src/session/journal.ts:44

Present on a command that is part of a continuous gesture, such as dragging a filter slider. Consecutive commands with the same key are one entry: the newest replaces the one before it.


command ​

readonly command: SessionCommand

Defined in: graphty-element/src/session/journal.ts:38

The command, exactly as it ran, as plain data.


durationMs ​

readonly durationMs: number

Defined in: graphty-element/src/session/journal.ts:46

How long the command executed, in milliseconds.


engine ​

readonly engine: EngineVersions

Defined in: graphty-element/src/session/journal.ts:50

The versions of the packages that ran it.


id ​

readonly id: string

Defined in: graphty-element/src/session/journal.ts:27

Stable for the life of the entry.


kind ​

readonly kind: "filter" | "data" | "run" | "layout" | "style" | "view" | "config" | "window" | "set" | "selection" | "note"

Defined in: graphty-element/src/session/journal.ts:35

What the command changed.

OPEN UNION: kinds may be added in a minor release; handle one you do not know.


runId? ​

readonly optional runId?: string

Defined in: graphty-element/src/session/journal.ts:48

The run an algo.run command finished.