·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