npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

random-tree

0.0.0

@mikolalysenko

npmHomeRepoSnykSocket
Downloads:0
$ npm install random-tree
DailyWeeklyMonthlyYearly

random-tree

Generates a random tree

Example

var createRandomTree = require("random-tree")

console.log(createRandomTree(10))

Install

npm install random-tree

require("random-tree")(n)

Generates a random tree with n vertices

  • n is the number of vertices in the tree

Returns A random tree

Credits

(c) 2013 Mikola Lysenko. MIT License