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

Namespace: http://zvon.org/graphotron/vcg
Element: loc
Description: is the location as x, y position relatively to the system of coordinates of the graph. Locations are specified in the form loc: - x: xpos y: ypos "". The locations of nodes are only valid, if the whole graph is fully specified with locations and no part is folded. The layout algorithm of the tool calculates appropriate x, y positions, if at least one node that must be drawn (i.e., is not hidden by folding or edge classes) does not have fixed specified locations.
Values: integer

Graph screenshot

XML Source

<source>
     <AAA/>
     <BBB/>
     <CCC/>
</source>
Graphotron Source

<graphotron xmlns:vcg="http://zvon.org/graphotron/vcg" xmlns="http://zvon.org/graphotron" >
     <vertex match="/*/AAA">
          <name select="name()"/>
          <vcg:loc>{x:120 y:40}</vcg:loc>
     </vertex>
     <vertex match="/*/BBB">
          <name select="name()"/>
          <vcg:loc>{x:140 y:60}</vcg:loc>
     </vertex>
     <vertex match="/*/CCC">
          <name select="name()"/>
          <vcg:loc>{x:0 y:100}</vcg:loc>
     </vertex>
</graphotron>



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet