compose_variant_figure
Generates a JSXGraph DSL figure for variant items to enable client-side rendering. Provide thread_id and item_id; optionally override with a custom DSL.
Instructions
为某道变式造图(~12s)→ 中性 JSXGraph DSL(bbox+objects),客户端 GeoEngine 渲活图。
参数: thread_id;item_id(= seq,字符串); dsl: 传入=覆盖重绘(把该 DSL 作修正依据令引擎照此重画;不传=从题面/figure_spec 现推)。 返回: {ok, item_id, needs_figure, figure_spec}(figure_spec=JSXGraph DSL:{bbox, objects[]}); 造图降级 → {ok:false, needs_figure:true, reason}。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsl | No | ||
| item_id | Yes | ||
| thread_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||