org._3pq.jgrapht.ext
Interface JGraphModelAdapter.CellFactory
- JGraphModelAdapter.DefaultCellFactory
public static interface JGraphModelAdapter.CellFactory
Creates the JGraph cells that reflect the respective JGraphT elements.
DefaultEdge | createEdgeCell(Edge jGraphTEdge) - Creates an edge cell that contains its respective JGraphT edge.
|
DefaultGraphCell | createVertexCell(Object jGraphTVertex) - Creates a vertex cell that contains its respective JGraphT vertex.
|
createEdgeCell
public DefaultEdge createEdgeCell(Edge jGraphTEdge)
Creates an edge cell that contains its respective JGraphT edge.
jGraphTEdge
- a JGraphT edge to be contained.
- an edge cell that contains its respective JGraphT edge.
createVertexCell
public DefaultGraphCell createVertexCell(Object jGraphTVertex)
Creates a vertex cell that contains its respective JGraphT vertex.
jGraphTVertex
- a JGraphT vertex to be contained.
- a vertex cell that contains its respective JGraphT vertex.