Author: clopes
Date: 2011-07-07 13:31:06 -0700 (Thu, 07 Jul 2011)
New Revision: 26102
Modified:
core3/layout-prefuse-impl/trunk/src/main/java/org/cytoscape/prefuse/layouts/internal/ForceDirectedLayout.java
Log:
fixes #121 - Layout --> Settings --> pick Edge-weighted force directed
(BiolLayout)/Spring Embeded, got very wise dialog box.
ForceDirectedLayout had the same issue.
Modified:
core3/layout-prefuse-impl/trunk/src/main/java/org/cytoscape/prefuse/layouts/internal/ForceDirectedLayout.java
===================================================================
---
core3/layout-prefuse-impl/trunk/src/main/java/org/cytoscape/prefuse/layouts/internal/ForceDirectedLayout.java
2011-07-07 20:30:01 UTC (rev 26101)
+++
core3/layout-prefuse-impl/trunk/src/main/java/org/cytoscape/prefuse/layouts/internal/ForceDirectedLayout.java
2011-07-07 20:31:06 UTC (rev 26102)
@@ -19,13 +19,13 @@
public class ForceDirectedLayout extends AbstractLayoutAlgorithm implements
TunableValidator {
- @Tunable(description="Number of Iterations", groups="Algorithm
settings")
+ @Tunable(description="Number of Iterations")
public int numIterations = 100;
- @Tunable(description="Default Spring Coefficient", groups="Algorithm
settings")
+ @Tunable(description="Default Spring Coefficient")
public double defaultSpringCoefficient = 1e-4;
- @Tunable(description="Default Spring Length", groups="Algorithm
settings")
+ @Tunable(description="Default Spring Length")
public double defaultSpringLength = 50.0;
- @Tunable(description="Default Node Mass", groups="Algorithm settings")
+ @Tunable(description="Default Node Mass")
public double defaultNodeMass = 3.0;
@Tunable(description="Don't partition graph before layout",
groups="Standard settings")
public boolean singlePartition;
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.