Function: useSigma()
useSigma<
N
,E
,G
>():Sigma
<N
,E
,G
>
React hook to retrieve the sigma instance (from the context).
const sigma = useSigma();
Type Parameters
• N extends Attributes
= Attributes
• E extends Attributes
= Attributes
• G extends Attributes
= Attributes
Returns
Sigma
<N
, E
, G
>