

import tom.fishEye.*;
import tom.fishEye.FishEye;
import java.awt.*;

/** Implementation of a custom render... **/
/* Just redfine an implementation of FishNodeRender, with the draw method,
  to do your own renderer....*/
class MyRenderer implements tom.fishEye.FishNodeRender
{
  public void draw(tom.fishEye.hyperbolic.Graphics2D g2d,
		   FishNode node,
		   FishEye theEye)
  {
	tom.fishEye.hyperbolic.HCircle hCircle=node.getHCircle();
	
	g2d.getGraphics().drawString(node.getName(), 
				 g2d.x2screen(hCircle.ecentrex), 
				 g2d.x2screen(hCircle.ecentrey));
	return ;
  }  
}
