Skip to content

@graphty/graphty-element / catalog / sourceDescriptors

Function: sourceDescriptors() ​

sourceDescriptors(): readonly SourceInfo[]

Defined in: graphty-element/src/catalog/sources.ts:16

Every network source the element can load from, built-in and registered, with its descriptor and its public samples (graph-samples' datasets among them). Read at each call, so a source registered later appears; no source's code is loaded. Experimental.

Returns ​

readonly SourceInfo[]

One entry per source: id, descriptor and whether its code is loaded.