树状图-协议
{nodes: [{level: 1,id: '0', // 节点id,字符串类型label: '1000', // 节点文本 ,text: '\ue60c', // 图标,backgroundConfig: {fill: '#ec686e',// 图标背景},avgNum: 300, // 业务属性},],edges: [{source: '0', // 连线起始端节点idtarget: '1',label: '50%', // 连线文本style: {stroke: 'red', // 连线颜色},},{source: '0',target: '2',},],}
| 节点名称 | 图标 | 图标背景 |
|---|---|---|
![]() |
\ue60c | #ec686e |
![]() |
\ue63c | #817b49 |
![]() |
\ue6e9 | #16c2c2 |
![]() |
\ue641 | #6982ef |




