antvis / G6

♾ A Graph Visualization Framework in JavaScript.
https://g6.antv.antgroup.com/
MIT License
11.06k stars 1.31k forks source link

[v5] v4 版本中 dagre 指定层级的属性 layer 被移除了,v5 中有替代方案吗? #5989

Closed xiongchengqing closed 2 months ago

xiongchengqing commented 2 months ago

Describe the bug / 问题描述

[v5] v4 版本中 dagre 指定层级的属性 layer 被移除了,v5 中有替代方案吗?

Reproduction link / 重现链接

No response

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

Aarebecca commented 2 months ago

V5 中 antv-dagre 为原 4.x dagre

xiongchengqing commented 2 months ago

V5 中 antv-dagre 为原 4.x dagre 但是在 node 或 combo 中设置了 layer 并不起作用呢

seifenk commented 1 week ago

V5 中 antv-dagre 为原 4.x dagre 但是在 node 或 combo 中设置了 layer 并不起作用呢

解决了吗