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

Namespace: http://zvon.org/graphotron/vcg
Element: color
Description: color is the background color of the node. If none is given, the node is white. Colors are black, blue, red, green, yellow, magenta, cyan, white, darkgrey, darkblue, darkred, darkgreen, darkyellow, darkmagenta, darkcyan, gold, lightgrey, lightblue, lightred, lightgreen, lightyellow, lightmagenta, lightcyan, lilac, turquoise, aquamarine, khaki, purple, yellowgreen, pink, orange and orchid. If more than these default colors are needed, a color map with maximal 256 entries can be used. The first 32 entries correspond to the colors just listed. A color of the color map can selected by the color map index, an integer, for instance red has index 2, green has index 3, etc.
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>
     <yellow>yellow</yellow>
     <yellowgreen>yellowgreen</yellowgreen>
     <orange>orange</orange>
</source>
Graphotron Source

<graphotron xmlns:vcg="http://zvon.org/graphotron/vcg" xmlns="http://zvon.org/graphotron" >
     <vertex match="/*/yellow">
          <name select="."/>
          <vcg:color>yellow</vcg:color>
     </vertex>
     <vertex match="/*/yellowgreen">
          <name select="."/>
          <vcg:color>yellowgreen</vcg:color>
     </vertex>
     <vertex match="/*/orange">
          <name select="."/>
          <vcg:color>orange</vcg:color>
     </vertex>
</graphotron>



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet