JS organization relationship is reflected by the array
In the primary ONLOAD event, an array is made, acquire the hierarchical nodes in the hierarchy of the organization relationship diagram, and the number of nodes in the node in the relationship, to obtain the maximum width of the horizontal line.
The following is HTM original code