| ZVON > Graphotron > Graphotron VCG |
| Intro / Search / ZVON |
| | graphotron | daVinci | >> vcg << | dot | tutorial | download | about | |
| Namespace: | http://zvon.org/graphotron/vcg |
| Element: | nearedge |
| Description: | These special edges are laid out such that their source and target node are directly neighbored at the same level. Near edges are drawn as short horizontal lines which are not crossed by other edges or nodes. Invisible near edges can be used to group nodes at a level together. A node can have maximal two near edges, whose one is positioned to the left and the other is positioned to the right. |
| Values: | empty |

|
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> <edge match="/*/*[starts-with(name(),'START')]" select="following-sibling::*[2]"/> <edge match="/*/START1" select="/*/END1"> <vcg:color>blue</vcg:color> </edge> <edge match="/*/START2" select="/*/END2"> <vcg:nearedge/> <vcg:color>red</vcg:color> </edge> <edge match="/*/START3" select="/*/END3"> <vcg:color>blue</vcg:color> </edge> <edge match="/*/START4" select="/*/END4"> <vcg:color>blue</vcg:color> </edge> </graphotron> |