·dagre-react-flow
</>

dagre-react-flow

existential-birds/beagle

使用 dagre 和 React Flow (@xyflow/react) 进行自动图形布局。在实现自动布局、分层布局、树结构或以编程方式排列节点时使用。在 dagre、自动布局、自动布局、getLayoutedElements、rankdir、层次图上触发。

59安装·0热度·@existential-birds

安装

$npx skills add https://github.com/existential-birds/beagle --skill dagre-react-flow

SKILL.md

Dagre is a JavaScript library for laying out directed graphs. It computes optimal node positions for hierarchical/tree layouts. React Flow handles rendering; dagre handles positioning.

| TB | Top to Bottom | Org charts, decision trees | | BT | Bottom to Top | Dependency graphs (deps at bottom) | | LR | Left to Right | Timelines, horizontal flows | | RL | Right to Left | RTL layouts |

weight: Higher weight edges are prioritized for shorter, more direct paths.

使用 dagre 和 React Flow (@xyflow/react) 进行自动图形布局。在实现自动布局、分层布局、树结构或以编程方式排列节点时使用。在 dagre、自动布局、自动布局、getLayoutedElements、rankdir、层次图上触发。 来源:existential-birds/beagle。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/existential-birds/beagle --skill dagre-react-flow
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 dagre-react-flow?

使用 dagre 和 React Flow (@xyflow/react) 进行自动图形布局。在实现自动布局、分层布局、树结构或以编程方式排列节点时使用。在 dagre、自动布局、自动布局、getLayoutedElements、rankdir、层次图上触发。 来源:existential-birds/beagle。

如何安装 dagre-react-flow?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/existential-birds/beagle --skill dagre-react-flow 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/existential-birds/beagle