ZVON > Graphotron > Graphotron VCG
| graphotron | daVinci | >> vcg << | dot | tutorial | download | about |

Namespace: http://zvon.org/graphotron/vcg
Element: anchor
Description: An anchor point describes the vertical position in a node where an edge goes out. This is useful, if node labels are several lines long, and outgoing edges are related to label lines. (E.g., this allows a nice visualization of structs containing pointers as fields.)
Values: integer

Graph screenshot

XML Source

<source>
     <START1/>
     <END1/>
     <START2/>
     <END2/>
     <START3/>
     <END3/>
     <START4/>
     <END4/>
</source>
Graphotron Source

<graphotron xmlns:vcg="http://zvon.org/graphotron/vcg" xmlns="http://zvon.org/graphotron" >
     <vertex match="/*/*">
          <name select="concat(name(),'\n',name(),'\n',name())"/>
     </vertex>
     <edge match="/*/START1" select="/*/END1">
          <vcg:anchor>1</vcg:anchor>
     </edge>
     <edge match="/*/START2" select="/*/END2">
          <vcg:anchor>2</vcg:anchor>
     </edge>
     <edge match="/*/START3" select="/*/END3">
          <vcg:anchor>3</vcg:anchor>
     </edge>
     <edge match="/*/START4" select="/*/END4"> </edge>
</graphotron>



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet