cvs commit: jakarta-alexandria/src/resources/vizant xml2dot.xsl

[email protected] 15 Apr 2003 16:13:24 -0000
Newsgroups gmane.comp.jakarta.alexandria.devel
Message-ID <[email protected]>
nicolaken    2003/04/15 09:13:24

  Modified:    src/resources/vizant xml2dot.xsl
  Log:
  Enhance output style.
  
  Revision  Changes    Path
  1.2       +12 -1     jakarta-alexandria/src/resources/vizant/xml2dot.xsl
  
  Index: xml2dot.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/resources/vizant/xml2dot.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xml2dot.xsl	11 Apr 2003 12:25:04 -0000	1.1
  +++ xml2dot.xsl	15 Apr 2003 16:13:24 -0000	1.2
  @@ -5,6 +5,15 @@
   
   	<xsl:template match="graph">
         digraph "<xsl:value-of select="@name" />" {
  +      
  +      <xsl:text>
  +      ranksep=1.0; nodesep=0.5;
  +      node [color="grey90", style="filled"]
  +      edge [color="grey70"]
  +      <!-- edge .antcall [label="antcall", fontcolor="gray70", fontsize" value="9"]
  +      node .default [color="pink"] -->
  +      </xsl:text>
  +         
          <xsl:apply-templates />
         }
   	</xsl:template>
  @@ -33,7 +42,9 @@
     	             "cluster:<xsl:value-of select="@numcluster" />"
     	          </if>
     	   {
  -  	     "label"="<xsl:value-of select="@label" />";
  +  	      style="filled";
  +  	      color="grey95";
  +  	      label="<xsl:value-of select="@label" />";
            <xsl:apply-templates />  	     
          }
   	</xsl:template>