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.
41 lines
1.1 KiB
41 lines
1.1 KiB
import { shortcut, Widget } from "@/core"; |
|
|
|
@shortcut() |
|
export class Nodes extends Widget { |
|
static xtype = "demo.nodes"; |
|
|
|
render(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: "箭头节点", |
|
}, |
|
{ |
|
type: "bi.icon_arrow_node", |
|
iconCls: "search-font", |
|
text: "箭头图标节点", |
|
}, |
|
{ |
|
type: "bi.multilayer_icon_arrow_node", |
|
layer: 2, |
|
} |
|
], |
|
}; |
|
} |
|
}
|
|
|