Author: sleon
Date: 2006-01-07 05:42:19 +0000 (Sat, 07 Jan 2006)
New Revision: 7794
Modified:
trunk/apps/freeviz/gen.py
Log:
corrections
Modified: trunk/apps/freeviz/gen.py
===================================================================
--- trunk/apps/freeviz/gen.py 2006-01-07 05:34:14 UTC (rev 7793)
+++ trunk/apps/freeviz/gen.py 2006-01-07 05:42:19 UTC (rev 7794)
@@ -69,7 +69,7 @@
node1loc = node_pair.node1.location
node2loc = node_pair.node2.location
- distance = str( int ( math.floor( abs ( float(node1loc) -
float(node2loc) * 10.0) )) )
+ distance = str( int ( math.floor( abs ( (( float(node1loc) -
float(node2loc)) * 10.0)) )) )
if node_pair.backoffcur_node1 != '0' or
node_pair.backoffcur_node2 != '0':
edgecolor= edgeBLOCKED