tree_layout icon indicating copy to clipboard operation
tree_layout copied to clipboard

思维导图算法,提供如下数据格式,导致卡片上下重叠的bug

Open qingyun1029 opened this issue 1 year ago • 0 comments

{
      Id: "badda68c-201c-4a68-b0bf-f63df8a8e392",
      ParentId: null,
      name: 'a',
      width: 320,
      height: 362,
      x: 500,
      y: 600,
      children: [
        {
          Id: "2bf239e0-4cec-5995-bf96-175b824d9643",
          ParentId: "badda68c-201c-4a68-b0bf-f63df8a8e392",
          name: 'b',
          width: 320,
          height: 392,
          children: [
            {
              Id: "a611067b-2959-4dee-a06d-e32a4e3865c6",
              ParentId: "2bf239e0-4cec-5995-bf96-175b824d9643",
              name: 'c',
              width: 320,
              height: 100,
              children: [],
            },
            {
              Id: "c6b28473-9cde-4963-91e2-a16618cae556",
              ParentId: "2bf239e0-4cec-5995-bf96-175b824d9643",
              name: 'd',
              width: 320,
              height: 120,
              children: [],
            },
          ]
        },
        {
          Id: "d5d15567-f71b-44bb-9158-8b6a1300c60b",
          ParentId: "badda68c-201c-4a68-b0bf-f63df8a8e392",
          name: 'e',
          width: 320,
          height: 392,
          children: []
        },
      ]
    }

qingyun1029 avatar Feb 11 '25 01:02 qingyun1029