private void OnDiagramNodePayloadAreaSizeChanged(IDiagramNode diagramNode, Size2D newSize) { if (newSize.IsDefined) { DiagramNodePayloadAreaSizeChanged?.Invoke(diagramNode, newSize); } }
private void OnDiagramNodePayloadAreaSizeChanged(IDiagramNode diagramNode, Size2D newSize) => DiagramNodePayloadAreaSizeChanged?.Invoke(diagramNode, newSize);