changeset 16:f50b4e4ad764

just use no overlap and dont try to be fancy
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 02 Jan 2011 14:04:38 -0800
parents 61038b4e7425
children 94d9eccce1d7
files setup.py svgsitemap/middleware.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py
+++ b/setup.py
@@ -1,17 +1,17 @@
 from setuptools import setup, find_packages
 import sys, os
 
 try:
     description = file('README.txt').read()
 except IOError: 
     description = ''
 
-version = "0.1"
+version = "0.1.1"
 
 setup(name='svgsitemap',
       version=version,
       description="a site map using PyGraphviz and svg",
       long_description=description,
       classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
       author='Jeff Hammel',
       author_email='jhammel@mozilla.com',
--- a/svgsitemap/middleware.py
+++ b/svgsitemap/middleware.py
@@ -102,18 +102,18 @@ class SVGSiteMap(object):
             self.graph = AGraph(name=self.name, splines=False, directed=True)
 
         # make it pretty
         self.graph.graph_attr['name'] = self.name
         self.graph.graph_attr['label'] = self.name
         self.graph.graph_attr['fontname'] = self.fontname
         self.graph.graph_attr['fontcolor'] = self.fontcolor
         self.graph.graph_attr['bgcolor'] = self.bgcolor
-        self.graph.graph_attr['overlap'] = 'compress'
-        self.graph.graph_attr['sep'] = '0.01'
+        self.graph.graph_attr['overlap'] = 'false'
+        self.graph.graph_attr['sep'] = '0'
         self.graph.node_attr['color'] = self.nodecolor
         self.graph.node_attr['fontcolor'] = self.fontcolor
         self.graph.node_attr['fontname'] = self.fontname
         self.graph.node_attr['fontsize'] = self.fontsize
         self.graph.node_attr['shape'] = self.shape
         self.graph.edge_attr['color'] = self.edgecolor
         self.graph.edge_attr['fontcolor'] = self.fontcolor
         self.graph.edge_attr['fontname'] = self.fontname