Skip to content

[Bug]: combo-combined layout, 如果所有node都放到一个combo中, 即所有node的 combo属性设置相同, 则报错且无法渲染出点 #7263

@JxJPu9bD

Description

@JxJPu9bD

Describe the bug / 问题描述

5.0.45版本的 g6 使用 combo-combined , 如果所有node 的 combo属性相同, 则无法渲染

Reproduction link / 复现链接

https://stackblitz.com/edit/g6-in-vue-j6xeh11g?file=src%2FApp.vue

Steps to Reproduce the Bug or Issue / 重现步骤

看示例代码, 示例代码中的json改为 ./sample-error.json 则无法渲染

改为 ./sample.json 则能正常渲染

两个json的唯一差异在 61行

Version / 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for authorFurther information is requested from the author.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions