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

Namespace: http://zvon.org/graphotron/vcg
Element: shrink
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> shrink: 2</BBB>
     <CCC> shrink: 3</CCC>
     <DDD> shrink: 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:shrink>2</vcg:shrink>
     </vertex>
     <vertex match="/*/CCC">
          <name select="."/>
          <vcg:shrink>3</vcg:shrink>
     </vertex>
     <vertex match="/*/DDD">
          <name select="."/>
          <vcg:shrink>0</vcg:shrink>
     </vertex>
</graphotron>



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet