Generate Threat Model
generate_threat_modelCreate a threat model from a normalized architecture (ReactFlow nodes + edges). Ingests components via the shared Stage-0 service; the pipeline then auto-generates threats. Returns the diagram id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Threat model name | |
| edges | No | ReactFlow edges | |
| nodes | Yes | ReactFlow nodes (each: id, position, data.label) |