Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Update binary_tree_generator.py
Browse files- binary_tree_generator.py +3 -0
    	
        binary_tree_generator.py
    CHANGED
    
    | @@ -11,6 +11,9 @@ def generate_binary_tree_diagram(json_input: str, output_format: str) -> str: | |
| 11 | 
             
                    json_input (str): A JSON string describing the binary tree structure.
         | 
| 12 | 
             
                                      It must follow the Expected JSON Format Example below.
         | 
| 13 |  | 
|  | |
|  | |
|  | |
| 14 | 
             
                Expected JSON Format Example:
         | 
| 15 | 
             
                {
         | 
| 16 | 
             
                  "root": {
         | 
|  | |
| 11 | 
             
                    json_input (str): A JSON string describing the binary tree structure.
         | 
| 12 | 
             
                                      It must follow the Expected JSON Format Example below.
         | 
| 13 |  | 
| 14 | 
            +
                    output_format (str): The output format for the generated diagram.
         | 
| 15 | 
            +
                                        Supported formats: "png" or "svg"
         | 
| 16 | 
            +
             | 
| 17 | 
             
                Expected JSON Format Example:
         | 
| 18 | 
             
                {
         | 
| 19 | 
             
                  "root": {
         | 

