Skip to content

Diagram

This sample analyzes all the code in context and attempts to generate a diagram using mermaid.

diagram.genai.mts
script({
model: "small",
tests: {},
});
$`Generate a diagram of a merge.`;