onNodeResized method

void onNodeResized(
  1. String nodeId,
  2. Size newSize,
  3. AnnotationDragContext context
)

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
}