You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					25 lines
				
				387 B
			
		
		
			
		
	
	
					25 lines
				
				387 B
			| 
								 
											3 years ago
										 
									 | 
							
								var archy = require('../');
							 | 
						||
| 
								 | 
							
								var s = archy({
							 | 
						||
| 
								 | 
							
								  label : 'beep',
							 | 
						||
| 
								 | 
							
								  nodes : [
							 | 
						||
| 
								 | 
							
								    'ity',
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								      label : 'boop',
							 | 
						||
| 
								 | 
							
								      nodes : [
							 | 
						||
| 
								 | 
							
								        {
							 | 
						||
| 
								 | 
							
								          label : 'o_O',
							 | 
						||
| 
								 | 
							
								          nodes : [
							 | 
						||
| 
								 | 
							
								            {
							 | 
						||
| 
								 | 
							
								              label : 'oh',
							 | 
						||
| 
								 | 
							
								              nodes : [ 'hello', 'puny' ]
							 | 
						||
| 
								 | 
							
								            },
							 | 
						||
| 
								 | 
							
								            'human'
							 | 
						||
| 
								 | 
							
								          ]
							 | 
						||
| 
								 | 
							
								        },
							 | 
						||
| 
								 | 
							
								        'party\ntime!'
							 | 
						||
| 
								 | 
							
								      ]
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								  ]
							 | 
						||
| 
								 | 
							
								});
							 | 
						||
| 
								 | 
							
								console.log(s);
							 |