Package org.cytoscape.view.layout
Class EdgeWeighter
java.lang.Object
org.cytoscape.view.layout.EdgeWeighter
The EdgeWeighter class. This class is used as a container for information
about how to interpret weights in an weighted layout.
Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
Module: layout-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>layout-api</artifactId> </dependency>
-
Field Summary
Modifier and TypeFieldDescriptiondouble
double
double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
boolean
normalizeWeight(LayoutEdge edge)
void
reset()
void
setMaxWeightCutoff(double maxWeight)
void
setMinWeightCutoff(double minWeight)
void
setNormalizedBounds(double lowerBound, double upperBound)
void
void
setWeight(LayoutEdge layoutEdge)
void
setWeightAttribute(String weightAttribute)
void
setWeightType(WeightTypes type)
-
Field Details
-
type
-
minWeightCutoff
public double minWeightCutoff -
maxWeightCutoff
public double maxWeightCutoff -
defaultEdgeWeight
public double defaultEdgeWeight
-
-
Constructor Details
-
EdgeWeighter
public EdgeWeighter()
-
-
Method Details
-
getType
-
setType
-
setWeightAttribute
-
reset
public void reset() -
setWeightType
-
setNormalizedBounds
public void setNormalizedBounds(double lowerBound, double upperBound) -
setWeight
-
normalizeWeight
-
setMaxWeightCutoff
public void setMaxWeightCutoff(double maxWeight) -
setMinWeightCutoff
public void setMinWeightCutoff(double minWeight)
-