Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leungwensen/random-graph

generate random graphs
https://github.com/leungwensen/random-graph

dag dg graph network tree

Last synced: 29 days ago
JSON representation

generate random graphs

Awesome Lists containing this project

README

        

random-graph
============

generate random graphs

## install

```shell
npm i random-graph
```

## usage

```javascript
const randomGraph = require('random-graph')

// generate a tree with 10 nodes
const tree = randomGraph.randomTree({
size: 10
})
```