public interface EdgeFactory
Modifier and Type | Method and Description |
---|---|
Edge |
createEdge(java.lang.Object sourceVertex,
java.lang.Object targetVertex)
Creates a new edge whose endpoints are the specified source and target
vertices.
|
Edge createEdge(java.lang.Object sourceVertex, java.lang.Object targetVertex)
sourceVertex
- the source vertex.targetVertex
- the target vertex.