Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/leungwensen/random-graph
- Owner: leungwensen
- License: mit
- Created: 2017-02-27T07:28:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-01T06:36:32.000Z (over 7 years ago)
- Last Synced: 2024-09-18T20:24:01.979Z (about 2 months ago)
- Topics: dag, dg, graph, network, tree
- Language: JavaScript
- Size: 18.6 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
})
```