[[LogicItem]] 逻辑项
1. 结构声明
- TS Declaration
- JSON Schema
abstract class LogicItem extends BaseNode {
label?: string;
description?: string;
folded?: boolean = false;
offsetX?: number;
offsetY?: number;
}
{
"type": "object",
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"folded": {
"type": "boolean"
},
"offsetX": {
"type": "number"
},
"offsetY": {
"type": "number"
}
},
"additionalProperties": false
}