Your IP : 52.15.35.129


Current Path : /lib/node_modules/npm/node_modules/archy/examples/
Upload File :
Current File : //lib/node_modules/npm/node_modules/archy/examples/multi_line.js

var archy = require('../');

var s = archy({
  label : 'beep\none\ntwo',
  nodes : [
    'ity',
    {
      label : 'boop',
      nodes : [
        {
          label : 'o_O\nwheee',
          nodes : [
            {
              label : 'oh',
              nodes : [ 'hello', 'puny\nmeat' ]
            },
            'creature'
          ]
        },
        'party\ntime!'
      ]
    }
  ]
});
console.log(s);

?>