@graphty/graphty-element / index / SourceSample
Interface: SourceSample ​
Defined in: graph-io/dist/src/sources/types.d.ts:294
A public example a source offers. Experimental.
Properties ​
counts? ​
readonlyoptionalcounts?:object
Defined in: graph-io/dist/src/sources/types.d.ts:311
How big it is.
edges? ​
readonlyoptionaledges?:number
How many edges.
nodes? ​
readonlyoptionalnodes?:number
How many nodes.
endpoint? ​
readonlyoptionalendpoint?:string
Defined in: graph-io/dist/src/sources/types.d.ts:302
The endpoint, when not the source's default.
id ​
readonlyid:string
Defined in: graph-io/dist/src/sources/types.d.ts:296
Its id ("neo4j-movies").
params ​
readonlyparams:Readonly<Record<string,unknown>>
Defined in: graph-io/dist/src/sources/types.d.ts:300
The params that load it.
plainName ​
readonlyplainName:string
Defined in: graph-io/dist/src/sources/types.d.ts:298
Its default name; catalog data.
publicLogin? ​
readonlyoptionalpublicLogin?:object
Defined in: graph-io/dist/src/sources/types.d.ts:304
A login the service publishes for everyone; never stored.
password ​
readonlypassword:string
The password, published by the service for everyone.
username ​
readonlyusername:string
The user name.
whole? ​
readonlyoptionalwhole?:boolean
Defined in: graph-io/dist/src/sources/types.d.ts:318
false: too big to load whole; start from a neighborhood.