1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/archy/examples/multi_line.js

26 lines
414 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
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);