Revision: 127
Author: 0x24a537r9
Date: Wed Jan 5 13:22:36 2011
Log: Fixed Issue #100 (Refactor arrangement methods out of GraphUtilities),
Issue #103 (Add Roy-Floyd-Warshall algorithm to GraphUtilities), and Issue
#104 (All layout methods should be selection-agnostic). Also, optimized
arrangeTensors a bit (attractive force now uses distance² instead of
distance, which saves a call to Math.sqrt( ) on each edge), and tweaked
default settings for auto-arrange to compensate. Fixed weird bug with
arrange tools that was introduced by using centers instead of centroids.
Finally changed any generators using GraphUtilities for layout to use
LayoutUtilities, and any functions implementing their own
Roy-Floyd-Warshall algorithm to use the new one in GraphUtilities. Build.
http://code.google.com/p/visigraph/source/detail?r=127
Added:
/trunk/VisiGraph/jar/VisiGraph (201101051521).jar
/trunk/VisiGraph/src/edu/belmont/mth/visigraph/utilities/LayoutUtilities.java
Modified:
/trunk/VisiGraph/UserSettings.json
/trunk/VisiGraph/functions/CalculateDiameterUnweighted.java
/trunk/VisiGraph/functions/CalculateDiameterWeighted.java
/trunk/VisiGraph/functions/CalculateRadiusUnweighted.java
/trunk/VisiGraph/functions/CalculateRadiusWeighted.java
/trunk/VisiGraph/generators/CirculantGraph.java
/trunk/VisiGraph/generators/CompleteGraph.java
/trunk/VisiGraph/generators/CycleGraph.java
/trunk/VisiGraph/generators/FromAdjacencyMatrix.java
/trunk/VisiGraph/generators/FromIncidenceMatrix.java
/trunk/VisiGraph/generators/RandomGraphErdősRényi.java
/trunk/VisiGraph/generators/RandomGraphGilbert.java
/trunk/VisiGraph/src/edu/belmont/mth/visigraph/controllers/GraphDisplayController.java
/trunk/VisiGraph/src/edu/belmont/mth/visigraph/models/generators/EmptyGraph.java
/trunk/VisiGraph/src/edu/belmont/mth/visigraph/settings/GlobalSettings.java
/trunk/VisiGraph/src/edu/belmont/mth/visigraph/utilities/GraphUtilities.java