Contains the result of graph code generation.
The generated code.
The code generation context.
Diagnostic messages. If not empty, the generated code might be incorrect.
code
Determines if an error occured.
Optional
The optional preview data.
Contains the result of graph code generation.