Class: drawTree

drawTree

new drawTree(selectString, treeData, maxDepth, maxWidth)

Draws a tree out of input using d3 library.
Parameters:
Name Type Description
selectString array id of element that will contain a tree.
treeData array Final JSON object.
maxDepth array Maximum depth of the tree (for controling of drawn tree height).
maxWidth array Maximum width of the tree (for controling of drawn tree width).
Source: