Skip to content

@graphty/graphty-element / index / SourceInput

Interface: SourceInput ​

Defined in: graphty-element/src/session/sources/types.ts:45

What data.import takes for a network source: its id and its params. Experimental.

Properties ​

config ​

readonly config: Readonly<Record<string, unknown>>

Defined in: graphty-element/src/session/sources/types.ts:49

Its params.


name? ​

readonly optional name?: string

Defined in: graphty-element/src/session/sources/types.ts:51

What the reader calls the data.


source ​

readonly source: string

Defined in: graphty-element/src/session/sources/types.ts:47

The source id, as listSources() names it.