antvis/G6

[Bug]: rankdir: 'LR' #6717

21236774 posted onGitHub

Describe the bug / 问题描述

我需要一个横着展示的流程图

https://g6.antv.antgroup.com/examples/scene-case/default/#performance-diagnosis-flowchart

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

示例中只加了一个LR就变的很奇怪了 layout: { type: 'antv-dagre', rankdir: 'LR', }

我预期的是他横着展示,线什么的都不变,但是这差距太远了

G6 Version / G6 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

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

改为横向布局时需要额外调整连接桩位置。

<img width="1920" alt="image" src="https://github.com/user-attachments/assets/c541bb91-bc1a-4cec-8ec7-8c34a7dbc0a0" />

posted by yvonneyx 4 months ago

好的,感谢这位美丽的小姐姐

posted by 21236774 4 months ago

Fund this Issue

$0.00
Funded

Pull requests