Dagre React Flow
Automatic graph layout with dagre for React Flow, covering rankdir options, measured dimensions, and centered-to-corner conversion.
- CCM score
- 57 of 100
- skills.sh installs
- 258
- GitHub stars
- 91
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers dagre-based positioning for React Flow nodes, including TB, BT, LR, and RL directions with spacing controls
- Includes a reusable
getLayoutedElementsfunction, auseAutoLayouthook, and a React Flow integration example - Enforces center-to-top-left coordinate conversion and passes measured node dimensions to dagre
- Designed for hierarchical graphs, trees, and dependency diagrams built with
@xyflow/react
Install
$ npx -y skills add existential-birds/beagle --skill dagre-react-flow -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Automatic graph layout with dagre for React Flow, covering rankdir options, measured dimensions, and centered-to-corner conversion. Covers dagre-based positioning for React Flow nodes, including TB, BT, LR, and RL directions with spacing controls. Includes a reusable getLayoutedElements function, a useAutoLayout hook, and a React Flow integration example. Enforces center-to-top-left coordinate conversion and passes measured node dimensions to dagre. Designed for hierarchical graphs, trees, and dependency diagrams built with @xyflow/react.
Browse the repository on GitHubDetails
- Repository
- github.com/existential-birds/beagle
- Category
- Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the dagre-react-flow skill do?
The dagre-react-flow skill gives your agent automatic graph layout using dagre with React Flow (@xyflow/react). It covers auto-layout, hierarchical layouts, tree structures, and arranging nodes programmatically through getLayoutedElements and rankdir settings.
How do I install the dagre-react-flow skill?
Run npx -y skills add existential-birds/beagle --skill dagre-react-flow -y inside your project. Once installed, your agent loads the skill when you work on dagre, auto-layout, or hierarchical graph tasks.
Who is the dagre-react-flow skill for?
It is for developers building React Flow graphs who need nodes arranged automatically instead of placed by hand. It sits in the Frontend & UI Code category, next to vercel-react-best-practices and web-design-guidelines.
More from existential-birds/beagle
All 37- Adr Writing254
- Swift Code Review253
- Pytest Code Review241
- Sqlalchemy Code Review229
- Pydantic Ai Common Pitfalls221
- Agent Architecture Analysis220
- Pydantic Ai Agent Creation219
- Ai Elements211
- Go Code Review206
- Shadcn Code Review206
- Swift Testing Code Review196
- Deepagents Architecture162
- Langgraph Implementation161
- Pydantic Ai Tool System161
- Pydantic Ai Testing146
- Deepagents Implementation142
- Pydantic Ai Dependency Injection141
- Deepagents Code Review134
- Pydantic Ai Model Integration120
- React Flow1.4K
- Python Code Review968
- Langgraph Code Review890
- Tailwind V4838
- React Flow Advanced653
Similar to Dagre React Flow
More Frontend & UI Codereact-flow-advancedexistential-birds/beagle653 installsAdvanced React Flow patterns for sub-flows, custom connection lines, drag-and-drop, undo/redo, and dagre layout.
react-flowexistential-birds/beagle1.4K installsReference guide for building node-based graphs and workflow editors with the @xyflow/react library.
react-flow-architectsickn33/agentic-awesome-skills176 installsProduction-ready ReactFlow app architecture covering hierarchical navigation, performance, and state management for React Flow v12.
reactflow-fundamentalsthebushidocollective/han140 installsSetup, node and edge configuration, handles, and event handling for React Flow node-based editors and diagrams.
syncfusion-react-diagramsyncfusion/react-ui-components-skills766 installsSyncfusion React component for building flowcharts, org charts, BPMN, UML, and ER diagrams with nodes and connectors.