public class GraphElementFactory extends Object implements ElementFactory<Vertex,Edge>
| Constructor and Description |
|---|
GraphElementFactory(Graph g) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
createEdge(Object id,
Vertex out,
Vertex in,
String label)
Creates a new Edge instance.
|
Vertex |
createVertex(Object id)
Creates a new Vertex instance.
|
public GraphElementFactory(Graph g)
public Edge createEdge(Object id, Vertex out, Vertex in, String label)
ElementFactorycreateEdge in interface ElementFactory<Vertex,Edge>public Vertex createVertex(Object id)
ElementFactorycreateVertex in interface ElementFactory<Vertex,Edge>Copyright © 2010-2014. All Rights Reserved.