antvis / antvis/layout

feat: dagre布局下节点增加层级信息 & fixed: dagre布局的radial模式下0层node未返回_order属性

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

Description

急急急!
dagre布局下我们需要用到节点的层级和order信息,能否在节点上加上该信息
本着不只能做拿来主义,我这边也提了pull request,麻烦看下:https://github.com/antvis/layout/pull/203

Contributor guide

Open the contributing guide

Research direction

Start by reviewing pull request #203 and the repository's dagre layout entry point. Confirm that dagre nodes expose hierarchy and order information, including _order for level-0 nodes in radial mode; the existing pull request is the main implementation reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.