private void DrawClusterPoints(Cluster cluster, Brush brush, DrawingContext drawingContext) { foreach (var point in cluster.Points) { drawingContext.DrawRectangle(brush, null, new Rect(point.X, point.Y, clusterPointSize, clusterPointSize)); } }