|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.viz3d.EdgeStyler
public class EdgeStyler
Styles edges such that each edge is drawn in a gray scale. Edges with more docs are darker than those with less.
Field Summary | |
---|---|
(package private) float |
diff
|
(package private) float |
max
|
(package private) float |
min
|
Constructor Summary | |
---|---|
EdgeStyler(ConceptGraph<TermNode> graph)
Create an EdgeStyler based on the edge values in the graph. |
Method Summary | |
---|---|
private float |
calcScale(CGEdge edge)
|
void |
style(VLine line)
Styles the specified line. |
void |
update(java.util.Collection<CGEdge> edges)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
float min
float max
float diff
Constructor Detail |
---|
public EdgeStyler(ConceptGraph<TermNode> graph)
graph
- Method Detail |
---|
public void style(VLine line)
line
- the line to style.private float calcScale(CGEdge edge)
public void update(java.util.Collection<CGEdge> edges)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |