Title: Data Visualiser
Description: This class visualises the data (hierarchical + adjacency relations), using adjustable tree layout layout, and a link visualiser. The bundling degree as well as the alpha blending can be conrolled.
Copyright: Copyright (c) 2007
Company:
Method Detail |
public void visualise(java.awt.Graphics2D g, int width, int height)
g
- Graphics2D, port to the drawing areawidth
- int dimensions of the drawing areaheight
- int dimensions of the drawing areapublic void setBeta(double beta)
beta
- double, the value for bundling strength (0 for no bundling i.e. straight line links, 1 for full bundling i.e. b-spline for the exact tree path, between ]0,1[ for partial bundlingpublic double getBeta()
public double getMaxAlpha()
public void setMaxAlpha(double maxAlpha)
maxAlpha
- the desired maximum value for alpha blending (should be in [0, 1]).public void setTreeVisualiser(edgebundles.visualisation.tree.TreeVisualiser treeVis)
treeVis,
- the tree visualsier to usepublic void setLinkVisualiser(edgebundles.visualisation.link.BSplineLinkVisualiser linkVis)
linkVis,
- the link visualsier to usepublic void setData(edgebundles.io.DataReader dataReader)
dataReader,
- the datareader which provides the hierachical and the adjacnaey relations to visualise. A more elaborate data structure is created from this data reader, which offers fast answers to many queries.