# d3-egraph

> D3 renderer for egraph

Latest version **1.0.1** (published 2017-06-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install d3-egraph
pnpm add d3-egraph
yarn add d3-egraph
bun add d3-egraph
```

## 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.0.1 |
| Published | 2017-06-21 |
| First published | 2015-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Yosuke Onoue |
| Maintainers | likr |

## Links

- npm: https://www.npmjs.com/package/d3-egraph
- Repository: https://github.com/likr/d3-egraph
- Homepage: https://github.com/likr/d3-egraph#readme
- Issues: https://github.com/likr/d3-egraph/issues
- npm.io page: https://npm.io/package/d3-egraph

## Recent versions

- 1.0.1 (latest) — 2017-06-21
- 1.0.0 — 2017-06-20
- 0.1.1 — 2016-05-10
- 0.1.0 — 2016-05-08
- 0.0.2 — 2015-10-05
- 0.0.1 — 2015-10-05
- 0.0.0 — 2015-10-05

## README

# d3-egraph
Graph drawing library

# Example

```javascript
var d3 = require('d3')
var Graph = require('egraph/graph')
var Renderer = require('d3-egraph')

var renderer = new Renderer()
var graph = new Graph()
graph.addVertex(0, {text: 'A', width: 50, height: 20})
graph.addVertex(1, {text: 'B', width: 50, height: 20})
graph.addVertex(2, {text: 'C', width: 50, height: 20})
graph.addEdge(0, 1)
graph.addEdge(0, 2)
graph.addEdge(1, 2)

d3.select('svg')
  .datum(graph)
  .call(renderer.render())
```

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