Portfolio/node_modules/archy/examples/multi_line.js
oitsjustjose 4e066bffc9 Init
2017-02-25 03:50:31 -05:00

25 lines
414 B
JavaScript

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);