Skip to main content

GraphSearchIndex

Search index for a Graph. This class wraps 4 indexes - one each for nodes, groups, ports and edges, and exposes a search method that searches across each of the indexes. By default every field in the data objects is searched, but you can control that via the options you pass to the constructor.

Methods

search(value): SearchResults

Search the index for the given string.

Parameters

value

string

Returns

SearchResults