public interface Displayable { public double getX(); // Get x-coordinate of the vertex public double getY(); // Get y-coordinate of the vertex public String getName(); // Get display name of the vertex }