Skip to content

dead-beef/graph-editor

Repository files navigation

graph-editor - graph editor frontend component

npm node Libraries.io for GitHub license

Overview

It exports a class which should be bound to an element and provided data for Graph visualisation and editing.

Requirements

Installation

npm install graph-editor

Usage

Development

Requirements

Installation

git clone https://github.com/dead-beef/graph-editor.git
cd graph-editor
make install

Building

# single run
make
# continuous
make watch

Testing

# unit, single run
make test
# unit, continuous
make test-watch
# test library bundle
TEST_BUNDLE=1 make test
# test minified library bundle
TEST_MIN_BUNDLE=1 make test
# select browsers (default: Chromium)
TEST_BROWSERS="Firefox Chrome" make test

Code Linting

make lint

Documentation

make docs

Licenses