suvi.api.render
Interface GraphRenderer


public interface GraphRenderer

Interface for rendering a graph based on a layout.

Design rationale

The reason why the render()-method does not take a layout as a parameter is that it may be necessary to compute some information based on the layout before rendering and it makes sense to compute such information only once.

See Also:
GraphRenderPolicy, GraphLayout

Method Summary
 void render(GraphRenderPolicy policy)
          Renders the layout by the specified policy.
 

Method Detail

render

public void render(GraphRenderPolicy policy)

Renders the layout by the specified policy. The implementing class must specify the layout of the graph that is to be rendered.