public interface GraphProvider extends VertexProvider, EdgeProvider, SelectionAware
Modifier and Type | Method and Description |
---|---|
void |
addEdges(Edge... edges) |
Vertex |
addGroup(String label,
String iconKey) |
Vertex |
addVertex(int x,
int y)
Deprecated.
Convert calls to this to addVertices
|
void |
addVertices(Vertex... vertices) |
Edge |
connectVertices(VertexRef sourceVertextId,
VertexRef targetVertextId) |
Defaults |
getDefaults() |
EdgeRef[] |
getEdgeIdsForVertex(VertexRef vertex) |
Map<VertexRef,Set<EdgeRef>> |
getEdgeIdsForVertices(VertexRef... vertex)
This function can be used for efficiency when you need the
EdgeRef
instances for a large number of vertices. |
TopologyProviderInfo |
getTopologyProviderInfo() |
void |
refresh() |
void |
removeEdges(EdgeRef... edges) |
void |
removeVertex(VertexRef... vertexId) |
void |
resetContainer() |
addVertexListener, clearVertices, containsVertexId, containsVertexId, getChildren, getParent, getRootGroup, getSemanticZoomLevel, getVertex, getVertex, getVertexTotalCount, getVertices, getVertices, hasChildren, removeVertexListener, setParent
addEdgeListener, clearEdges, getEdge, getEdge, getEdges, getEdges, getEdgeTotalCount, removeEdgeListener
contributesTo, getNamespace
contributesTo, getSelection
void refresh()
void resetContainer()
void addVertices(Vertex... vertices)
void removeVertex(VertexRef... vertexId)
Vertex addVertex(int x, int y)
Map<VertexRef,Set<EdgeRef>> getEdgeIdsForVertices(VertexRef... vertex)
EdgeRef
instances for a large number of vertices.void addEdges(Edge... edges)
void removeEdges(EdgeRef... edges)
Defaults getDefaults()
TopologyProviderInfo getTopologyProviderInfo()
Copyright © 2021. All rights reserved.