onNodeResized method
Called when a node's size changes.
Override this method to respond when a tracked node is resized. For GroupAnnotation with explicit behavior, this triggers a refit.
Implementation
void onNodeResized(
String nodeId,
Size newSize,
AnnotationDragContext context,
) {
// Default implementation does nothing
}