navgraph

0.2.4 • Public • Published

This is a pretty menu for a website.

Installation

npm install navgraph

Or, clone this repository, and then

cd navgraph
npm update

Use

There is an example with a couple of menus in examples/botw.html.

To create a navgraph:

mynavgraph = new navgraph(data, options);

Data is a nested object something like:

var data = {
    name: "foo",
    children: [
        {name:"bar"},
        {name:"baz"
         children: ...   
        }
    ]
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.4
    2
    • latest

Version History

Package Sidebar

Install

npm i navgraph

Weekly Downloads

2

Version

0.2.4

License

MIT

Last publish

Collaborators

  • foobarbecue