package rpi.goldsd.graph;
/**
* The Drawable interface is used to identify graph-related
* classes that may be displayed in a graphical application
* (i.e. Graph Draw). Currently, three methods are defined in
* the Drawable interface: one to obtain the edges of the
* graph-related object; one to obtain the vertices; and
* another to obtain the name of the graph-related object.
*
* @see GraphBase
* @see Path
* @see Algorithms
* @version 2.0, 4/19/98
* @author David Goldschmidt
*/
public interface Drawable
{
/**
* Provides an enumeration of the edges of the graph-related object.
* @return an enumeration of the edges of the graph-related object.
*/
public java.util.Enumeration edges();
/**
* Returns the name of this graph-related object.
* @return the name of this graph-related object.
*/
public String name();
/**
* Provides an enumeration of the vertices of the graph-related object.
* @return an enumeration of the vertices of the graph-related object.
*/
public java.util.Enumeration vertices();
}