Simple echarts tree to tree work were encountered to be a summary (dynamic access to the parent node data, click on the parent to get the child node data, to determine the height of the entire tree based on how much data, click on the parent get the child nodes too much data highly adaptive, click the child node jump page)
Time finally be experiencing several months of improvement for perfection, here's a echarts tree code I wrote
1, this is obtained by an interface to the data, a write data echarts tree data (remember that there are a fixed format name:; value:; .....)
2, then we start drawing the tree, it is difficult to simply be two steps out the graphics but we are here to click on his layer node dynamically generated on the next layer node, click here to begin writing events, and other Oh, here it is too early happy officially into the pit, and I wrote to several groups of code screenshots