Support multiple outputs in a proto node definition with return struct unpacking in the node macro
Author: KeavonCreated Apr 5, 2025Updated Sep 20, 2026
LabelsGraphene
The node macro should be updated to convert a returned struct (with each field annotated with an attribute for metadata like the output name) into the necessary node definitions to unpack the struct as separate outputs. This could occur by generating a subgraph, but an approach which allows for avoiding that would be preferred.
Source: GraphiteEditor/Graphite