Skip to content

@graphty/graphty-element / index / GraphDataLoadedEvent

Interface: GraphDataLoadedEvent ​

Defined in: graphty-element/src/events.ts:100

Properties ​

cause? ​

optional cause?: HistoryCause

Defined in: graphty-element/src/events.ts:116

What loaded it; absent for a load that does not yet come through the session's history.


details ​

details: object

Defined in: graphty-element/src/events.ts:103

chunksLoaded ​

chunksLoaded: number

dataSourceType ​

dataSourceType: string

loadId? ​

optional loadId?: number

Which load this is about: the id addDataFromSource, loadFromFile and loadFromUrl resolve to, and that every event about one load carries. Absent on a report about records handed to a setter, which is not a load.

report ​

report: ImportReport

What the load did: the endpoint spelling it resolved, and the counts it produced.


graph ​

graph: Graph

Defined in: graphty-element/src/events.ts:102


type ​

type: "data-loaded"

Defined in: graphty-element/src/events.ts:101