Motivation: I originally think of doing a binary tree because it is necessary to make a structure map. The previous practices are to draw a picture directly with image software. Very nice, but every time there is a change, you need to draw a new one. On the other hand, the display of the line on the web page is quite limited. Based on dynamic generated data, the positioning is quite difficult, and it is also very common in aesthetics. After doing various attempts, decided to use XML XSL to make data operations; use VML to beautify the lines, and use JavaScript to locate objects.
Material: XML volume Tree figure has 2 files: flow2.xml and flow2.xsl effect: Browse here: Binary thinking (1)