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

Namespace: http://zvon.org/graphotron/vcg
Element: textcolor
Description: is the color of the label of the edge
Values: aquamarine, black, blue, cyan, darkblue, darkcyan, darkgreen, darkgrey, darkmagenta, darkred, darkyellow, gold, green, khaki, lightblue, lightcyan, lightgreen, lightgrey, lightmagenta, lightred, lightyellow, lilac, magenta, orange, orchid, pink, purple, red, turquoise, white, yellow, yellowgreen, 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="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:textcolor>red</vcg:textcolor>
          <vcg:label>red</vcg:label>
     </edge>
     <edge match="/*/START3" select="/*/END3">
          <vcg:textcolor>blue</vcg:textcolor>
          <vcg:label>blue</vcg:label>
     </edge>
     <edge match="/*/START4" select="/*/END4">
          <vcg:textcolor>khaki</vcg:textcolor>
          <vcg:label>khaki</vcg:label>
     </edge>
</graphotron>



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet