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

Namespace: http://zvon.org/graphotron/vcg
Element: linestyle
Description: specifies the style the edge is drawn. Possibilities are: "continuous" - a solid line is drawn ( -- ), "dashed" - the edge consists of single dashes ( - - - ), "dotted" - the edge is made of single dots (...), "invisible" - the edge is not drawn. The attributes of its shape (color, thickness) are ignored. To draw a dashed or dotted line needs more time than solid lines.
Values: continuous, solid, dotted, dashed, invisible

Graph screenshot

XML Source

<source>
     <START1/>
     <END1/>
     <START2/>
     <END2/>
     <START3/>
     <END3/>
     <START4/>
     <END4/>
     <START5/>
     <END5/>
     <START6/>
     <END6/>
</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:linestyle>continuous</vcg:linestyle>
          <vcg:label>continuous</vcg:label>
     </edge>
     <edge match="/*/START3" select="/*/END3">
          <vcg:linestyle>solid</vcg:linestyle>
          <vcg:label>solid</vcg:label>
     </edge>
     <edge match="/*/START4" select="/*/END4">
          <vcg:linestyle>dotted</vcg:linestyle>
          <vcg:label>dotted</vcg:label>
     </edge>
     <edge match="/*/START5" select="/*/END5">
          <vcg:linestyle>dashed</vcg:linestyle>
          <vcg:label>dashed</vcg:label>
     </edge>
     <edge match="/*/START6" select="/*/END6">
          <vcg:linestyle>invisible</vcg:linestyle>
          <vcg:label>invisible</vcg:label>
     </edge>
</graphotron>



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet