/*
 * @Author: gj
 * @Date: 2020-06-28 17:40:57
 * @Description: 数据格式
 * @FilePath: \d3\example\mock\data1.js
 */ 
const dataTemplate = {
  id: "id00",
  name: "根节点",
  children:[
    {
      name: "右节点1",
      nodetype: "01",
      children:[
        {
          relatedId: "id00",
          name: "右节点1-1",
          desc: '右描述1-1',
          type: 2
        }
      ]
    },
    {
      name: "右节点2",
      nodetype: "02",
      children:[
        {
          relatedId: "id00",
          name: "右节点2-1",
          desc: '右描述2-1',
          type: 1
        }
      ]
    },
    {
      name: "右节点3",
      nodetype: "03",
      children:[
        {
          relatedId: "id00",
          name: "右节点3-1",
          desc: '右描述3-1',
          type: 3
        }
      ]
    },
    {
      name: "左节点1",
      nodetype: "11",
      children: [
        {
          relatedId: "id00",
          name: "左节点1-1",
          desc: "左描述1-1",
          type: 2
        },
        {
          relatedId: "id00",
          name: "左节点1-2",
          desc: "左描述1-2",
          type: 2
        }
      ]
    },
    {
      name: "左节点2",
      nodetype: "12",
      children: [
        {
          id: "idL01",
          name: "左节点2-1",
          desc: "左描述2-1",
          type: 1
        }
      ]
    }
  ]
}