General

Nodes in this category deal with general data handling, such as merging and flattening graphical elements.

Nodes

NodeDetailsPossible Types
Count Elements

Node description coming soon.

ListDyn → f64
Extend

Joins two Lists of the same type, extending the base List with the items from the new List.

Artboard[] → Artboard[]
Graphic[] → Graphic[]
Vector[] → Vector[]
Raster[] → Raster[]
Color[] → Color[]
GradientStops[] → GradientStops[]
Extract Element

Returns the bare element (without the item's attributes) at the specified index in a List.

Use this when downstream nodes want just the inner value rather than a List containing a single item.

If no value exists at that index, the element type's default is returned.

String[] → String
f64[] → f64
u8[] → u8
NodeId[] → NodeId
Color[] → Color
GradientStops[] → GradientStops
Vector[] → Vector
Raster[] → Raster
Graphic[] → Graphic
Artboard[] → Artboard
Flatten Color

Converts a List<Graphic> into a List<Color> by deeply flattening any color content it contains, and discarding any non-color content.

Graphic[] → Color[]
Color[] → Color[]
Flatten Gradient

Converts a List<Graphic> into a List<GradientStops> by deeply flattening any gradient content it contains, and discarding any non-gradient content.

Graphic[] → GradientStops[]
GradientStops[] → GradientStops[]
Flatten Graphic

Removes a level of nesting from a List<Graphic>, or all nesting if "Fully Flatten" is enabled.

Graphic[] → Graphic[]
Index Elements

Returns the value at the specified index in the list.

If no value exists at that index, the type's default value is returned.

Artboard[] → Artboard[]
Graphic[] → Graphic[]
Vector[] → Vector[]
Raster[] → Raster[]
Color[] → Color[]
GradientStops[] → GradientStops[]
String[] → String[]
f64[] → f64[]
u8[] → u8[]
NodeId[] → NodeId[]
Map

Node description coming soon.

Graphic[] → Graphic[]
Vector[] → Vector[]
Raster[] → Raster[]
Color[] → Color[]
GradientStops[] → GradientStops[]
Mirror

Node description coming soon.

Graphic[] → Graphic[]
Vector[] → Vector[]
Raster[] → Raster[]
Color[] → Color[]
GradientStops[] → GradientStops[]
Omit Element

Returns the list with the element at the specified index removed.

If no value exists at that index, the list is returned unchanged.

String[] → String[]
Artboard[] → Artboard[]
Graphic[] → Graphic[]
Vector[] → Vector[]
Raster[] → Raster[]
Color[] → Color[]
GradientStops[] → GradientStops[]
To Graphic

Converts a List of graphical content into a List<Graphic> by placing it into an element of a new wrapper List<Graphic>.

If it is already a List<Graphic>, it is not wrapped again. Use the 'Wrap Graphic' node if wrapping is always desired.

Graphic[] → Graphic[]
Vector[] → Graphic[]
Raster[] → Graphic[]
Color[] → Graphic[]
GradientStops[] → Graphic[]
Wrap Graphic

Nests the input graphical content in a wrapper graphic. This essentially "groups" the input.

The inverse of this node is 'Flatten Graphic'.

Graphic[] → Graphic[]
Vector[] → Graphic[]
Raster[] → Graphic[]
Color[] → Graphic[]
GradientStops[] → Graphic[]
Transform → Graphic[]