Skip to content

Conversation

@prgrmrwy
Copy link

@prgrmrwy prgrmrwy commented Jul 5, 2025

增加 @dagrejs/dagre 布局(dagre2)

preLayout?: boolean;
}

export class Dagre2Layout implements Layout<Dagre2LayoutOptions> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里能否添加一下注释,介绍一下和普通 Dagre 算法的区别

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的,晚点我补一下

@hustcc
Copy link
Member

hustcc commented Dec 3, 2025

@prgrmrwy hello,这个 pr 还有后续吗?看起来内容不错,只不过需要看看这个和旧版本的区别是什么?为什么不是升级默认的 dagre,而是增加 dagre2。

@hustcc hustcc requested review from hustcc and yvonneyx December 3, 2025 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants