- Type Parameters:
V- the graph vertex typeE- the graph edge type
- All Known Implementing Classes:
BarycenterGreedyTwoLayeredBipartiteLayout2D,CircularLayoutAlgorithm2D,FRLayoutAlgorithm2D,IndexedFRLayoutAlgorithm2D,MedianGreedyTwoLayeredBipartiteLayout2D,RandomLayoutAlgorithm2D,RescaleLayoutAlgorithm2D,TwoLayeredBipartiteLayout2D
public interface LayoutAlgorithm2D<V,E>
A general interface for a layout 2D algorithm.
A layout algorithm takes as input a graph and computes point coordinates for each of the graph
vertices. Details such as the dimensions of the drawable area, the storage of the vertices'
coordinates, etc. are provided using a
LayoutModel2D.- Author:
- Dimitrios Michail
-
Method Summary
-
Method Details
-
layout
Layout a graph.- Parameters:
graph- the graphmodel- the layout model to use
-