@graphty/graphty-element / index / GraphSource
Type Alias: GraphSource<P> ​
GraphSource<
P> =SourceBase<P> &object|SourceBase<P> &object|SourceBase<P> &object
Defined in: graph-io/dist/src/sources/types.d.ts:588
A network source: an id, an optional descriptor, and exactly one of three read methods, simplest first: records (return nodes and edges, or an async iterable of pages), file (return a body the format importers read) or import (write into the sink yourself). Experimental.
Type Parameters ​
P ​
P = Record<string, unknown>