Files to handle D3JS output.
More...
Files to handle D3JS output.
◆ save_tree()
def SUAVE.Input_Output.D3JS.save_tree.save_tree |
( |
|
data, |
|
|
|
filename, |
|
|
|
root_name = None |
|
) |
| |
This creates a D3JS file based on a SUAVE data structure.
Assumptions:
None
Source:
N/A
Inputs:
data SUAVE data structure
filename <string> name of the output file
root_name (optional) root name for the data structure in the output, default is data.tag
Outputs:
D3JS file with name as specified by filename
Properties Used:
N/A
◆ to_d3()
def SUAVE.Input_Output.D3JS.save_tree.to_d3 |
( |
|
tree, |
|
|
|
data |
|
) |
| |
This puts data for a SUAVE data structure into the needed format for D3JS
Assumptions:
None
Source:
N/A
Inputs:
tree upper level data structure
data SUAVE data structure
Outputs:
None - modifies tree
Properties Used:
N/A