elkjs

Community

Graph layouts powered by elkjs.

Authorbrocef
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Graph layout is complex and time-consuming; elkjs provides a robust JavaScript/TypeScript interface to run ELK layout algorithms and produce coordinates for nodes, ports, labels, and edges in ELK's JSON format.

Core Features & Use Cases

  • Multiple algorithms including layered, stress, mrtree, radial, force, and disco for diverse layout needs.
  • ELK JSON graph format support with nodes, ports, labels, edges, and edge sections to drive rendering and interaction.
  • Web Worker support and per-element layoutOptions to enable non-blocking layouts in web apps.

Quick Start

Invoke elk.layout on a graph object to compute node/port coordinates and edge routes.

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: elkjs
Download link: https://github.com/brocef/skill-cefailures/archive/main.zip#elkjs

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.