ZVON > Graphotron > Graphotron Tutorial
>> Contents << | reference | download | about

Contents

 Page 1  In this simple example vertices are created from each element in the document.
 Page 2  When a node is matched by several vertex elements, the last match is used
 Page 3  A node which is not matched does not appear in the output.
 Page 4  Edges are drawn by edge element. The match attribute specifies the start point, the select attribute the end point of the edge. If the select attribute contains a relative XPath, than the base nodes are the starting ones (as determined by the match attribute).
 Page 5  Parent - child relationship is shown in this graph.
 Page 6  And lets draw a circle :). As you can see, several edge elements can be used.
 Page 7  If an edge is matched several times, all edges are drawn.
 Page 8  So far, daVinci has been used as the visualisation tool. But the graphotron code was generic and so in this example the same graphotron source is displayed using three different programs.
 Page 9  Parameters specific to individual graphic package can be set by using elements from the package relevant namespace.