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

Namespace: http://zvon.org/graphotron/vcg
Element: stretch
Description: shrink, stretch gives the shrinking and stretching factor of the node. The values of the attributes width, height, borderwidth and the size of the label text is scaled by ((stretch=shrink) \Lambda 100) percent. Note that the actual scale value is determined by the scale value of a node relatively to a scale value of the graph, i.e. if (stretch,shrink) = (2,1) for the graph and (stretch,shrink) = (2,1) for the node of the graph, then the node is scaled by the factor 4 compared to the normal size. The scale value can also be specified by scaling: float.
Values: integer

Graph screenshot

XML Source

<source>
     <AAA> default </AAA>
     <BBB> stretch: 2</BBB>
     <CCC> stretch: 4</CCC>
     <DDD> stretch: 0</DDD>
</source>
Graphotron Source

<graphotron xmlns:vcg="http://zvon.org/graphotron/vcg" xmlns="http://zvon.org/graphotron" >
     <vertex match="/*/AAA">
          <name select="."/>
     </vertex>
     <vertex match="/*/BBB">
          <name select="."/>
          <vcg:stretch>2</vcg:stretch>
     </vertex>
     <vertex match="/*/CCC">
          <name select="."/>
          <vcg:stretch>4</vcg:stretch>
     </vertex>
     <vertex match="/*/DDD">
          <name select="."/>
          <vcg:stretch>0</vcg:stretch>
     </vertex>
</graphotron>



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet