| ZVON > Graphotron > Graphotron VCG |
| Intro / Search / ZVON |
| | graphotron | daVinci | >> vcg << | dot | tutorial | download | about | |
| Namespace: | http://zvon.org/graphotron/vcg |
| Element: | vertical_order |
| Description: | is the level position (rank) of the node. We can also specify level: int. Level specifications are only valid, if the layout is calculated, i.e. if at least one node does not have a fixed location specification. The layout algorithm partitioned all nodes into levels 0 : : : maxlevel. Nodes at the level 0 are on the upper corner. The algorithm is able to calculate appropriate levels for the nodes automatically, if no fixed levels are given. Specifications of levels are additional constraints, that may be ignored, if they are in conflict with near edge specifications. |
| Values: | integer |

|
XML Source
<source> <AAA>2</AAA> <BBB>5</BBB> <CCC>1</CCC> <DDD>0</DDD> </source> |
Graphotron Source
<graphotron xmlns:vcg="http://zvon.org/graphotron/vcg" xmlns="http://zvon.org/graphotron" > <vertex match="/*/AAA"> <name select="concat(name(),' : ',.)"/> <vcg:vertical_order>2</vcg:vertical_order> </vertex> <vertex match="/*/BBB"> <name select="concat(name(),' : ',.)"/> <vcg:vertical_order>5</vcg:vertical_order> </vertex> <vertex match="/*/CCC"> <name select="concat(name(),' : ',.)"/> <vcg:vertical_order>1</vcg:vertical_order> </vertex> <vertex match="/*/DDD"> <name select="concat(name(),' : ',.)"/> <vcg:vertical_order>0</vcg:vertical_order> </vertex> </graphotron> |