org.tigris.gef.graph
Interface GraphEdgeRenderer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultGraphEdgeRenderer

public interface GraphEdgeRenderer
extends java.io.Serializable

An interface for FigEdge factories. Similiar in concept to the Swing class TreeCellRenderer.


Method Summary
 FigEdge getFigEdgeFor(GraphModel graphmodel, Layer layer, java.lang.Object edge, java.util.Map attributeMap)
          Factory for a FigEdge that can be used to represent the given edge
 FigEdge getFigEdgeFor(java.lang.Object edge, java.util.Map attributeMap)
          Factory for a FigEdge that can be used to represent the given edge
 

Method Detail

getFigEdgeFor

FigEdge getFigEdgeFor(GraphModel graphmodel,
                      Layer layer,
                      java.lang.Object edge,
                      java.util.Map attributeMap)
Factory for a FigEdge that can be used to represent the given edge

Parameters:
graphmodel - the model in which to place the FigEdge
layer - the layer in which to place the FigEdge
edge - the model element from which to create the FigEdge
attributeMap - an optional map of attributes to style the fig. return the new FigEdge

getFigEdgeFor

FigEdge getFigEdgeFor(java.lang.Object edge,
                      java.util.Map attributeMap)
Factory for a FigEdge that can be used to represent the given edge

Parameters:
edge - the model element from which to create the FigEdge
attributeMap - an optional map of attributes to style the fig. return the new FigEdge