Labels
Label visibility, styling, and font configuration for nodes and edges. Labels auto-show/hide based on zoom level or can be forced visible.
Import
import { GraphCanvas } from 'reagraph';
// LabelVisibilityType is used as a prop value, not imported directly
LabelVisibilityType
Controls which labels are visible. Set via labelType on GraphCanvas:
| Value | Description |
|---|---|
'auto' | Show labels based on zoom level and node size (default) |
[Description truncada. Veja o README completo no GitHub.]