@graphty/graphty-element / session / DataSourceDescriptor
Interface: DataSourceDescriptor ​
Defined in: graphty-element/src/session/types.ts:1214
Where a graph was loaded from, as the graph keeps it: never the inline text or the file itself, which the loaded rows already hold.
Properties ​
config? ​
readonlyoptionalconfig?:Readonly<Record<string,unknown>>
Defined in: graphty-element/src/session/types.ts:1222
The source's options, without data and file: the url, and what the source reads besides.
name? ​
readonlyoptionalname?:string
Defined in: graphty-element/src/session/types.ts:1218
What the reader calls the data.
size? ​
readonlyoptionalsize?:number
Defined in: graphty-element/src/session/types.ts:1220
The file's size in bytes, when a file was read.
type? ​
readonlyoptionaltype?:string
Defined in: graphty-element/src/session/types.ts:1216
The data source that read it: the format named, or the one detected.