annas.graph.drawing
Interface DrawNode<N>

Type Parameters:
A - Arc type
All Known Implementing Classes:
DefaultDrawableNode

public interface DrawNode<N>

Interface for Node drawing objects

Author:
Sam Wilson

Method Summary
 void drawNode(java.awt.Graphics2D graphic, N node, int x, int y)
          Draws a node at a point
 

Method Detail

drawNode

void drawNode(java.awt.Graphics2D graphic,
              N node,
              int x,
              int y)
Draws a node at a point

Parameters:
graphic - Graphic object of the image to draw the node on
node - Node to draw
x - x coordinate of the node
y - y coordinate of the node