diva.graph
Interface EdgeRenderer

All Known Implementing Classes:
ArcRenderer, BasicEdgeRenderer, LinkController.LinkRenderer, SchedulingRelationController.SchedulingRelationRenderer, TransitionController.LinkRenderer, TransitionController.LinkRenderer

public interface EdgeRenderer

A factory which creates a visual representation (EdgeFigure) given an edge input. The factory is not held responsible for routing the edge, but simply for providing the basic visual properties of the edge (color, line width, dashes, etc.). The client will set up the endpoints of the edge, and then tell the edge to route itself.

Version:
$Id: EdgeRenderer.java 38798 2005-07-08 20:00:01Z cxh $
Author:
Michael Shilman
Accepted Rating:
Red

Method Summary
 Connector render(java.lang.Object edge, Site tailSite, Site headSite)
          Render a visual representation of the given edge.
 

Method Detail

render

Connector render(java.lang.Object edge,
                 Site tailSite,
                 Site headSite)
Render a visual representation of the given edge.