diva.graph
Interface EdgeRenderer

All Known Implementing Classes:
ArcRenderer, BasicEdgeRenderer, SchematicGraphController.ManhattanEdgeRenderer

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:
$Revision: 1.12 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

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

Method Detail

render

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



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.