public final class EdgeWeighter extends Object
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>
Modifier and Type | Field and Description |
---|---|
double |
defaultEdgeWeight |
double |
maxWeightCutoff |
double |
minWeightCutoff |
WeightTypes |
type |
Constructor and Description |
---|
EdgeWeighter() |
Modifier and Type | Method and Description |
---|---|
ListSingleSelection<WeightTypes> |
getType() |
boolean |
normalizeWeight(LayoutEdge edge) |
void |
reset() |
void |
setMaxWeightCutoff(double maxWeight) |
void |
setMinWeightCutoff(double minWeight) |
void |
setNormalizedBounds(double lowerBound,
double upperBound) |
void |
setType(ListSingleSelection<WeightTypes> t) |
void |
setWeight(LayoutEdge layoutEdge) |
void |
setWeightAttribute(String weightAttribute) |
void |
setWeightType(WeightTypes type) |
public WeightTypes type
public double minWeightCutoff
public double maxWeightCutoff
public double defaultEdgeWeight
public ListSingleSelection<WeightTypes> getType()
public void setType(ListSingleSelection<WeightTypes> t)
public void setWeightAttribute(String weightAttribute)
public void reset()
public void setWeightType(WeightTypes type)
public void setNormalizedBounds(double lowerBound, double upperBound)
public void setWeight(LayoutEdge layoutEdge)
public boolean normalizeWeight(LayoutEdge edge)
public void setMaxWeightCutoff(double maxWeight)
public void setMinWeightCutoff(double minWeight)
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.