package graph; /** A directed edge. Other methods could be added, as discussed in * the textbook. */ public interface DirectedEdge extends container.Position, container.Decorable { /** Vertex where this directed edge starts. */ public Vertex origin(); /** Vertex where this directed edge ends. */ public Vertex destination(); }