Interface LayoutAlgorithm2D<V,E>

Type Parameters:
V - the graph vertex type
E - 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.
Dimitrios Michail
  • Method Summary

    Modifier and Type
    layout(Graph<V,E> graph, LayoutModel2D<V> model)
    Layout a graph.
  • Method Details

    • layout

      void layout(Graph<V,E> graph, LayoutModel2D<V> model)
      Layout a graph.
      graph - the graph
      model - the layout model to use