Lay the node labels over the canvas as page text, hidden until ForceGraphLabelPlacer places the ones close enough to read. One layer holds them all, so thousands of labels cost no React work while the camera moves.
Label layer properties.
Labels to lay out, in the order the placer receives them.
Receives the layer, whose children the placer moves.
Lay the node labels over the canvas as page text, hidden until ForceGraphLabelPlacer places the ones close enough to read. One layer holds them all, so thousands of labels cost no React work while the camera moves.