# flowgraph

> interactive graph editor in the browser

Latest version **1.0.0** (published 2015-07-01) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2015-07-01 |
| First published | 2015-07-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Finn Pauls |
| Maintainers | finnpauls |
| Keywords | diagram, flow, flowchart, graph |

## Links

- npm: https://www.npmjs.com/package/flowgraph
- Repository: https://github.com/finnp/flowgraph
- Homepage: https://github.com/finnp/flowgraph#readme
- Issues: https://github.com/finnp/flowgraph/issues
- npm.io page: https://npm.io/package/flowgraph

## Dependencies (4)

- [xtend](https://npm.io/package/xtend.md) ^4.0.0
- [inherits](https://npm.io/package/inherits.md) ^2.0.1
- [randomjs](https://npm.io/package/randomjs.md) ^1.0.1
- [index-array](https://npm.io/package/index-array.md) ^2.0.0

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-07-01

## README

# flowgraph

[![NPM](https://nodei.co/npm/flowgraph.png)](https://nodei.co/npm/flowgraph/)

Model for a graph with in and outports.

It is mainly for being used as a model for `flowgraph-editor`.

## Example

```js
var FlowGraph = require('flowgraph')

// define your graph
graph = new FlowGraph()
graph.addNode('A', ['in'], ['out'])
graph.addNode('B') // default ports are in and out
graph.addNode('C', ['1', '2', '3'], ['stdout', 'stderr'])
graph.connect('B', 'C', 'out', '2')
```

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