Skip to content

Function: AnnotationsContextProvider() ​

ts
function AnnotationsContextProvider(props): Element;

Provides a context provider for managing annotations in a graph visualization.

This component handles the state and interactions for creating, selecting, and styling annotations, including arrow and text annotations.

Parameters ​

props ​

Props

The component props containing child elements

Returns ​

Element

A context provider with annotation management capabilities