Opal-Estate-Pro/node_modules/archy/examples/multi_line.js
2019-09-13 11:27:52 +07:00

26 lines
414 B
JavaScript
Executable File

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