Function: SearchControl()
SearchControl(
props
,context
?):ReactNode
The SearchControl
create an input text where user can search a node in the graph by its label.
There is an autocomplete based on includes & lower case.
When a node is found, the graph will focus on the highlighted node
<SigmaContainer>
<ControlsContainer>
<SearchControl />
</ControlsContainer>
</SigmaContainer>
See [[SearchControlProps]] for more information.
Parameters
• props: SearchControlProps
• context?: any
Returns
ReactNode