Back to menu command

Draw a hierarchy from an XML file

This function draws a hierarchical graph from an XML file. One example of the generated image is shown as follows, which is the hierarchy of body joints.

The xml file that is used to generate this image is here.

Don't be intimidated by this. Actually it is quite straightforward even if you are not familiar with XML. Let's look at the definition of the xml file, which itself is a DTD file.

There are three attributes for the root of the hierarchy.

The attributes for each child node are.
VIPBase © 2006 Fengjun Lv
Last update: 08/01/2006 (check html)