This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.
Nodes in this category read and write the named attributes stored on the items of a list, with values calculated individually for each item.
Nodes
| Node | Details | Possible Types |
|---|---|---|
| Read Attribute Artboard | Reads a named | ListDyn → Artboard[] |
| Read Attribute Blend Mode | Reads a named | ListDyn → BlendMode[] |
| Read Attribute Bool | Reads a named | ListDyn → Bool[] |
| Read Attribute Color | Reads a named | ListDyn → Color[] |
| Read Attribute Gradient Form | Reads a named | ListDyn → GradientForm[] |
| Read Attribute Gradient Hue Direction | Reads a named | ListDyn → GradientHueDirection[] |
| Read Attribute Gradient Interpolation | Reads a named | ListDyn → GradientInterpolation[] |
| Read Attribute Gradient Space | Reads a named | ListDyn → GradientSpace[] |
| Read Attribute Gradient Spread | Reads a named | ListDyn → GradientSpread[] |
| Read Attribute Gradient Stops | Reads a named | ListDyn → Gradient[] |
| Read Attribute Number | Reads a named | ListDyn → Number[] |
| Read Attribute Raster | Reads a named | ListDyn → Raster[] |
| Read Attribute String | Reads a named | ListDyn → String[] |
| Read Attribute Transform | Reads a named | ListDyn → Transform[] |
| Read Attribute Vector | Reads a named | ListDyn → Vector[] |
| Write Attribute | Sets a named attribute on the input list, computing one value per item via the value-producing input. That input is evaluated once per item, with the item's index and the item itself (as a list containing only that item, passed as a vararg) provided via context, so the upstream pipeline can return a different value per item that may be derived from the item's own data. If the attribute already exists, its values are replaced; if not, it's added. The value is type-erased into an monomorphizes over | String[] → String[]Bool[] → Bool[]Number[] → Number[]Integer[] → Integer[]Vec2[] → Vec2[]Transform[] → Transform[]Vector[] → Vector[]Graphic[] → Graphic[]Raster[] → Raster[]Color[] → Color[]Gradient[] → Gradient[]Artboard[] → Artboard[]BlendMode[] → BlendMode[]GradientForm[] → GradientForm[]GradientSpread[] → GradientSpread[] |