Author: ghuck
Date: 2010-07-30 11:59:14 -0700 (Fri, 30 Jul 2010)
New Revision: 21094
Modified:
csplugins/trunk/soc/ghuck/LabelPositioningPlugin/plugin/src/cytoscape/label/layout/BioLayoutFRAlgorithm.java
Log:
Modified:
csplugins/trunk/soc/ghuck/LabelPositioningPlugin/plugin/src/cytoscape/label/layout/BioLayoutFRAlgorithm.java
===================================================================
---
csplugins/trunk/soc/ghuck/LabelPositioningPlugin/plugin/src/cytoscape/label/layout/BioLayoutFRAlgorithm.java
2010-07-30 18:35:47 UTC (rev 21093)
+++
csplugins/trunk/soc/ghuck/LabelPositioningPlugin/plugin/src/cytoscape/label/layout/BioLayoutFRAlgorithm.java
2010-07-30 18:59:14 UTC (rev 21094)
@@ -187,8 +187,8 @@
return true;
}
+ // <-- LABEL
-
/**
* Return the "name" of this algorithm. This is meant
* to be used by programs for deciding which algorithm to
@@ -198,7 +198,7 @@
* @return the algorithm name
*/
public String getName() {
- return "LabelModified-Fruchterman-Rheingold";
+ return "LabelModified-Fruchterman-Rheingold"; // LABEL
}
/**
@@ -210,13 +210,12 @@
*/
public String toString() {
if (supportWeights)
- return "(Label) Edge-Weighted Force-Directed (BioLayout)";
+ return "(Label) Edge-Weighted Force-Directed (BioLayout)"; // LABEL
else
- return "(Label) Force-Directed (BioLayout)";
+ return "(Label) Force-Directed (BioLayout)"; // LABEL
}
-// <-- LABEL
/**
* Sets the number of iterations
@@ -421,13 +420,13 @@
Tunable.GROUP, new Integer(9)));
layoutProperties.add(new Tunable("repulsion_multiplier",
"Multiplier to calculate the repulsion
force",
- Tunable.DOUBLE, new Double(1.0)));
+ Tunable.DOUBLE, new Double(1.0))); //
LABEL
layoutProperties.add(new Tunable("attraction_multiplier",
"Divisor to calculate the attraction
force",
- Tunable.DOUBLE, new Double(0.001)));
+ Tunable.DOUBLE, new Double(0.001)));
// LABEL
layoutProperties.add(new Tunable("gravity_multiplier",
"Multiplier to calculate the gravity
force",
- Tunable.DOUBLE, new Double(0.0)));
+ Tunable.DOUBLE, new Double(0.0))); //
LABEL
layoutProperties.add(new Tunable("iterations", "Number of iterations",
Tunable.INTEGER,
new Integer(500)));
layoutProperties.add(new Tunable("temperature", "Initial temperature",
Tunable.DOUBLE,
@@ -535,7 +534,7 @@
}
// Update label tunables
- updateSettings(layoutProperties, force);
+ updateSettings(layoutProperties, force); // LABEL
}
--
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.