| ZVON > Graphotron > Graphotron daVinci |
| Intro / Search / ZVON |
| | graphotron | >> daVinci << | vcg | dot | tutorial | download | about | |
| Namespace: | http://zvon.org/graphotron/daVinci |
| Element: | EDGECOLOR |
| Description: | in the same way as nodes, the color of an edge can be specified using this element |
| Values: |
any X-Window colorname (lib/rgb.txt in X11 directory)
any RGB color specification in a format like "#0f331e"
|

|
XML Source
<source> <START1/> <END1/> <START2/> <END2/> <START3/> <END3/> <START4/> <END4/> </source> |
Graphotron Source
<graphotron xmlns:daVinci="http://zvon.org/graphotron/daVinci" xmlns="http://zvon.org/graphotron" > <vertex match="/*/*"> <name select="name()"/> </vertex> <edge match="/*/START1" select="/*/END1"> <daVinci:EDGECOLOR>red</daVinci:EDGECOLOR> </edge> <edge match="/*/START2" select="/*/END2"> <daVinci:EDGECOLOR>green</daVinci:EDGECOLOR> </edge> <edge match="/*/START3" select="/*/END3"> <daVinci:EDGECOLOR>#AA33FF</daVinci:EDGECOLOR> </edge> <edge match="/*/START4" select="/*/END4"> <daVinci:EDGECOLOR>#995511</daVinci:EDGECOLOR> </edge> </graphotron> |