antvis/G6

问下, 使用darge 布局,如何自定义中线位置 #5822

dbl520 posted onGitHub

问题描述

image 进入页面,初始化,希望中线根据节点最长的连线,作为中线布局

重现链接

https://codesandbox.io/p/sandbox/eloquent-leftpad-84l24m?file=%2Findex.js%3A1%2C1-370%2C1

重现步骤

进入页面,初始化,希望中线根据节点最长的连线,作为中线布局

预期行为

希望划红框部分布局在中线上

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.8.24 ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


非问题反馈请到 Discussion 讨论 / Please go to Discussion for non-question feedback

posted by Aarebecca 11 months ago

Fund this Issue

$0.00
Funded

Pull requests