1.2.1 • Published 4 years ago

@graph-viz/layouts v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@graph-viz/layouts

Layout algorithms for graphs.

Implemented:

  • Force Simulation (uses d3-force)

In Progress:

  • Temporal Graph Layout

This packages exposes stateful (force simulations) as well as stateless plug-n-play layout generation functions that can be used to seed nodes and links data with positions on the canvas.

Installation

npm install @graph-viz/layouts --save

Usage

import {ForceSimulation} from '@graph-viz/layouts'

const simulation = new ForceSimulation();

simulation.init(data);

simulation.onTick(callback);

See docs for detailed API

1.2.0

4 years ago

1.2.1

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago