antvis / G6

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

In 4.x, how to set the hierarchy of edges and nodes without setting groupByTypes, so that some edges are higher than nodes #6486

Open mistletoe-zmm opened 2 weeks ago

mistletoe-zmm commented 2 weeks ago

Describe the bug / 问题描述

在4.x下如何在不设置groupByTypes的情况下, 去设置edge和node的层级,让某些edge的层级高于node,还有是否可以单独设置某个node的层级,而不是单纯的置顶或置顶

Reproduction link / 重现链接

No response

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

No response

G6 Version / G6 版本

4.x

Operating System / 操作系统

macOS, Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

yvonneyx commented 1 week ago

试一下用 zIndex 控制呢