# sprotty-elk

> Integration of ELK graph layout algorithms in Sprotty

Latest version **1.4.0** (published 2024-12-17) · (EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0) license · 0 weekly downloads

## Install

```sh
npm install sprotty-elk
pnpm add sprotty-elk
yarn add sprotty-elk
bun add sprotty-elk
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2024-12-17 |
| First published | 2018-11-13 |
| Weekly downloads | 0 |
| License | (EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0) |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 148.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 889 |
| Author | Eclipse Sprotty |
| Maintainers | tortmayr, spoenemann, eclipse-sprotty-bot, dennis.huebner |
| Keywords | eclipse, graph, diagram, layout, sprotty |

## Links

- npm: https://www.npmjs.com/package/sprotty-elk
- Repository: https://github.com/eclipse-sprotty/sprotty
- Homepage: https://github.com/eclipse-sprotty/sprotty-layout
- Issues: https://github.com/eclipse-sprotty/sprotty-layout/issues
- npm.io page: https://npm.io/package/sprotty-elk

## Dependencies (3)

- [elkjs](https://npm.io/package/elkjs.md) ^0.8.2
- [inversify](https://npm.io/package/inversify.md) ^6.1.3
- [sprotty-protocol](https://npm.io/package/sprotty-protocol.md) ^1.4.0

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 1.4.0 (latest) — 2024-12-17
- 1.3.0-next.9aa2083.6 (next) — 2024-06-19
- 1.3.0 — 2024-07-23
- 1.3.0-next.8eb479f.3 — 2024-06-04
- 1.2.0 — 2024-04-09
- 1.1.0 — 2024-01-03
- 0.15.0-next.4b4da39.27 — 2023-12-08
- 0.15.0-next.446c62d.26 — 2023-12-06
- 0.15.0-next.781c032.25 — 2023-11-21
- 0.15.0-next.e38e5d4.24 — 2023-11-20
- 0.15.0-next.28dc7b8.23 — 2023-11-15
- 0.15.0-next.8dba94d.20 — 2023-11-09
- 0.15.0-next.f785425.19 — 2023-11-09
- 0.15.0-next.771285d.18 — 2023-11-08
- 0.15.0-next.5c4476b.17 — 2023-11-06
- … 84 more at https://npm.io/package/sprotty-elk/versions

## README

# sprotty-elk

Integration of the [Eclipse Layout Kernel (ELK)](https://www.eclipse.org/elk/) with [Eclipse Sprotty](http://github.com/eclipse/sprotty). This package makes the ELK layout engine available to graph visualizations based on Sprotty. It can be used both on the frontend (with `LocalModelSource`) and on the backend (with `DiagramServer`).

## Build

```bash
yarn
```

The project is built on [ci.eclipse.org/sprotty](https://ci.eclipse.org/sprotty/).

Pre-built npm packages available from [npmjs](https://www.npmjs.com/package/sprotty-elk).

## References

- [Example: view filtering](https://github.com/TypeFox/sprotty-view-filtering) &ndash; using filtering to efficiently navigate a large dataset of publications and citations
- [Example: nested graphs](https://github.com/TypeFox/sprotty-nested-demo) &ndash; expanding nested subgraphs in-place to efficiently navigate a large project with TypeScript modules

---
_Source: https://npm.io/package/sprotty-elk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
