mirror of
https://gitee.com/hoslay/ddei-editor.git
synced 2025-12-06 17:18:36 +08:00
91 lines
2.0 KiB
TypeScript
91 lines
2.0 KiB
TypeScript
export default {
|
|
'id': '302006',
|
|
'name': '扩展用例',
|
|
'code': 'case',
|
|
'desc': 'UML的用例节点',
|
|
'from': '100009',
|
|
|
|
'define': {
|
|
width: 140,
|
|
height: 90,
|
|
ext: {
|
|
sample: {
|
|
//分割横线的纵坐标
|
|
pvalue: -20,
|
|
},
|
|
groups: [
|
|
{
|
|
name: "样式",
|
|
icon: 'icon-fill',
|
|
subGroups: [
|
|
{
|
|
name: "填充",
|
|
attrs: ["fill.type", "fill.color", "fill.image", "fill.opacity"]
|
|
},
|
|
{
|
|
name: "线条",
|
|
attrs: ["border.type", "border.color", "borderOpacity", "borderWidth", "borderDash", "borderRound"]
|
|
},
|
|
{
|
|
name: "文本",
|
|
attrs: ["font.family", "font.size", "font.color", "fontAlign", "textStyle.feed"
|
|
, "textStyle.scale", "textStyle.hollow", "textStyle.bold", "textStyle.italic"
|
|
, "textStyle.underline", "textStyle.deleteline", "textStyle.topline", "textStyle.hspace", "textStyle.vspace"]
|
|
},
|
|
]
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
//组合控件
|
|
composes: [
|
|
{
|
|
width: 136,
|
|
height: 24,
|
|
cIndex: 2,
|
|
id: '100002',
|
|
border: {
|
|
type: 0
|
|
},
|
|
fill: {
|
|
type: 0
|
|
},
|
|
text: "用例",
|
|
initCPV: {
|
|
x: 0, y: -31.5
|
|
},
|
|
attrLinks: [
|
|
{ code: "font", mapping: ["*"] },
|
|
{ code: "textStyle", mapping: ["*"] },
|
|
]
|
|
},
|
|
{
|
|
width: 136,
|
|
height: 55,
|
|
cIndex: 2,
|
|
id: '100002',
|
|
textStyle: {
|
|
valign: 1,
|
|
feed: 1
|
|
},
|
|
border: {
|
|
type: 0
|
|
},
|
|
fill: {
|
|
type: 0,
|
|
},
|
|
text: "扩展点",
|
|
initCPV: {
|
|
x: 0, y: 16
|
|
},
|
|
attrLinks: [
|
|
{ code: "font", mapping: ["*"] },
|
|
{ code: "textStyle", mapping: ["*"] },
|
|
]
|
|
},
|
|
],
|
|
}
|
|
|
|
}
|