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

Namespace: http://zvon.org/graphotron/vcg
Element: label
Description: specifies the label of the edge. It is drawn if display_edge_labels is set to yes.
Values: string

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="name()"/>
     </vertex>
     <params>
          <vcg:display_edge_labels>yes</vcg:display_edge_labels>
     </params>
     <edge match="/*/START1" select="/*/END1">
          <vcg:label>default</vcg:label>
     </edge>
     <edge match="/*/START2" select="/*/END2">
          <vcg:arrowstyle>none</vcg:arrowstyle>
          <vcg:label>none</vcg:label>
     </edge>
     <edge match="/*/START3" select="/*/END3">
          <vcg:arrowstyle>solid</vcg:arrowstyle>
          <vcg:label>solid</vcg:label>
     </edge>
     <edge match="/*/START4" select="/*/END4">
          <vcg:arrowstyle>line</vcg:arrowstyle>
          <vcg:label>line</vcg:label>
     </edge>
</graphotron>



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet