@graphty/graphty-element / index / SourceLimits
Type Alias: SourceLimits ​
SourceLimits =
Readonly<SourceLimitOptions> &object
Defined in: graph-io/dist/src/sources/types.d.ts:176
The caps as a source sees them. Experimental.
Type Declaration ​
reached() ​
reached():
boolean
Whether a node or edge cap has been reached. Under "stop" it warns W_SOURCE_LIMIT once and returns true; under "error" it throws E_SOURCE_LIMIT.
Returns ​
boolean
true when the source should stop