antvis / antvis/layout

DagreLayout计算后节点排布问题

Open
#206 11 comments 0 reactions 0 assignees View on GitHub
layout/antv-dagre
Dominant language
TypeScript
Stars
276
Forks
60
PR merge metrics
No merged PRs in 30d

Description

如下图所示,怎么才能使节点“3”和节点“2”在X方向上对齐,是有相关的配置吗?
![antv](https://github.com/antvis/layout/assets/71997098/dfb5cadf-33f2-4195-91da-2cfff303741e)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the attached DagreLayout arrangement and inspect the available layout configuration for controlling the X positions of nodes 2 and 3. Compare the resulting node coordinates and determine whether the requested alignment is supported by configuration; done means documenting or confirming the relevant setting and its effect.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.