Nodes Match Size

The Match Size node is a operator that transforms a source geometry to align with the bounding box of a target geometry.

It simplifies common layout tasks like placing an object on top of another, centering it, or aligning it to a corner, using intuitive presets.

Inputs

Node Input DiagramA diagram showing a source shape connecting to the left input of a node, and a target shape connecting to the right input.SourceTargetMatch Size

Source

Connect the geometry you want to move and/or scale. This is the shape that will be transformed.

Target

Connect the reference geometry. Its bounding box is used for alignment, but the geometry itself is not passed through the node.

Parameters

ParameterDescription
LabelThe display name for the node.
GroupThe group of shapes to transform. If empty, all shapes are affected.
AlignHow to align the source to the target.
OffsetAn additional offset to apply after alignment.
Scale to FitScales the source to fit the target bounds.
Uniform ScaleMaintains aspect ratio when scaling.

Alignment Options

Determines how the source’s bounding box is positioned relative to the target’s bounding box.

AlignmentDescriptionResult
Before Match SizeSource and target as separate streams.Source circle and target rectangle before matching.TargetSource
CenterCircle centered within rectangle.Match Size result: Center
Top LeftCircle at top-left corner.Match Size result: Top Left
Top CenterCircle at top edge, centered horizontally.Match Size result: Top Center
Top RightCircle at top-right corner.Match Size result: Top Right
Middle RightCircle at right edge, centered vertically.Match Size result: Middle Right
Bottom RightCircle at bottom-right corner.Match Size result: Bottom Right
Bottom CenterCircle at bottom edge, centered horizontally.Match Size result: Bottom Center
Place BelowCircle placed below rectangle.Match Size result: Place Below

See Also