@graphty/graphty-element / session / LoadedSource
Interface: LoadedSource ​
Defined in: graphty-element/src/session/types.ts:1688
One load still in the graph: where it came from, and what it added.
Extends ​
Properties ​
added ​
readonlyadded:object
Defined in: graphty-element/src/session/types.ts:1698
How many nodes and edges the load added to the graph.
edges ​
readonlyedges:number
nodes ​
readonlynodes:number
config? ​
readonlyoptionalconfig?:Readonly<Record<string,unknown>>
Defined in: graphty-element/src/session/types.ts:1663
The source's options, without data and file: the url, and what the source reads besides.
Inherited from ​
leftOut? ​
readonlyoptionalleftOut?:object
Defined in: graphty-element/src/session/types.ts:1704
Edge rows the load left out because they named a node no node row held (unmatched: "leave-out"), and how many distinct such names, as LoadReport.unmatched counts them. Present only when the load left at least one row out.
edges? ​
readonlyoptionaledges?: readonlyLeftOutEdge[]
The left-out rows themselves (the first 100), so they can be shown after the load and after a project is saved and reopened: each row's two ends as the load read them, and its other values. Absent in a project saved before they were kept.
endColumns? ​
readonlyoptionalendColumns?:object
The names of the columns the load read each row's two ends from. Absent when an end was read by an expression that is not a plain column name, or in a project saved before it was kept.
endColumns.source ​
readonlysource:string
endColumns.target ​
readonlytarget:string
rows ​
readonlyrows:number
values ​
readonlyvalues:number
name? ​
readonlyoptionalname?:string
Defined in: graphty-element/src/session/types.ts:1659
What the reader calls the data.
Inherited from ​
size? ​
readonlyoptionalsize?:number
Defined in: graphty-element/src/session/types.ts:1661
The file's size in bytes, when a file was read.
Inherited from ​
tableRows? ​
readonlyoptionaltableRows?: readonly ("edges"|"nodes")[]
Defined in: graphty-element/src/session/types.ts:1696
What each of tables held, in the same order: rows of nodes or rows of edges, as the load read them. Absent when the load read a graph file (its one entry holds both) or no table by name, and in a project saved before it was kept.
tables ​
readonlytables: readonlystring[]
Defined in: graphty-element/src/session/types.ts:1690
The names of the tables the load read, as the draft named them; empty when it read none by name.
type? ​
readonlyoptionaltype?:string
Defined in: graphty-element/src/session/types.ts:1657
The data source that read it: the format named, or the one detected.