fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/**
|
|
|
|
* Created by Dailer on 2017/7/25.
|
|
|
|
*/
|
|
|
|
|
|
|
|
Demo.Nodes = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
render: function (vessel) {
|
|
|
|
return {
|
|
|
|
type: "bi.vertical",
|
|
|
|
items: [{
|
|
|
|
type: "bi.label",
|
|
|
|
height: 30,
|
|
|
|
text: "十字形的节点"
|
|
|
|
}, {
|
|
|
|
type: "bi.plus_group_node",
|
|
|
|
text: "十字形的节点"
|
|
|
|
}, {
|
|
|
|
type: "bi.label",
|
|
|
|
height: 30,
|
|
|
|
text: "箭头节点"
|
|
|
|
}, {
|
|
|
|
type: "bi.arrow_group_node",
|
|
|
|
text: "箭头节点"
|
|
|
|
}]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
BI.shortcut("demo.nodes", Demo.Nodes);
|