dagre-react-flow

Community

Automatically layout graphs in React Flow.

Authoranderskev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates graph layout by combining Dagre with React Flow to position nodes automatically for hierarchical or tree-like graphs, reducing manual futzing and improving readability.

Core Features & Use Cases

  • Automatic Layout: Compute node positions using Dagre with configurable rank direction and spacing.
  • React Flow Integration: Translate Dagre's center coordinates to React Flow's top-left coordinates for precise rendering.
  • Use Cases: Great for auto-layout of dashboards, dependency graphs, and programmatic node arrangements.

Quick Start

Install and start by applying the layout function to your nodes and edges, then render via React Flow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dagre-react-flow
Download link: https://github.com/anderskev/beagle/archive/main.zip#dagre-react-flow

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.