# gview

> viewer for directed acyclic graph

Latest version **1.1.0** (published 2017-09-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install gview
pnpm add gview
yarn add gview
bun add gview
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2017-09-05 |
| First published | 2016-06-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | d-band |
| Maintainers | d-band |
| Keywords | graph, dag, viewer, canvas, sugiyama |

## Links

- npm: https://www.npmjs.com/package/gview
- Repository: https://github.com/d-band/gview
- Homepage: https://github.com/d-band/gview#readme
- Issues: https://github.com/d-band/gview/issues
- npm.io page: https://npm.io/package/gview

## 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.1.0 (latest) — 2017-09-05
- 1.0.0 — 2016-09-27
- 0.0.6 — 2016-07-01
- 0.0.5 — 2016-07-01
- 0.0.4 — 2016-06-30
- 0.0.3 — 2016-06-30
- 0.0.2 — 2016-06-29
- 0.0.1 — 2016-06-01

## README

gview
=====

> Fork from: [egraph](https://github.com/likr/egraph)

[![NPM version](https://img.shields.io/npm/v/gview.svg)](https://www.npmjs.com/package/gview)
[![NPM downloads](https://img.shields.io/npm/dm/gview.svg)](https://www.npmjs.com/package/gview)

## Install

```bash
$ npm install gview
```

## Usage

[Example](examples/)

```
import GView from 'gview';

const data = {
  vertices: [{
    id: 1,
    name: 'node-1'
  }, {
    id: 2,
    name: 'node-2'
  }],
  edges: [{
    from: 1,
    to: 2
  }]
};

const viewer = new GView('root', data, {
  width: 800,
  height: 400,
  hited: function(list) {
    console.log(list);
  }
});
```

![image](examples/img1.png)


## Develop

```
npm i dool -g

# Dev
$ dool server

# Build
$ dool build
```

## Report a issue

* [All issues](https://github.com/d-band/gview/issues)
* [New issue](https://github.com/d-band/gview/issues/new)

## License

Gview is available under the terms of the MIT License.

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