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() |
boolean |
groupingSupported()
This function indicates support for (mostly legacy) grouping operations.
|
void |
load(String filename) |
void |
refresh() |
void |
removeEdges(EdgeRef... edges) |
void |
removeVertex(VertexRef... vertexId) |
void |
resetContainer() |
void |
save() |
addVertexListener, clearVertices, containsVertexId, containsVertexId, contributesTo, getChildren, getParent, getRootGroup, getSemanticZoomLevel, getVertex, getVertex, getVertexNamespace, getVertexTotalCount, getVertices, getVertices, hasChildren, removeVertexListener, setParentaddEdgeListener, clearEdges, contributesTo, getEdge, getEdge, getEdgeNamespace, getEdges, getEdges, removeEdgeListenercontributesTo, getSelectionvoid save()
void load(String filename) throws MalformedURLException, JAXBException
MalformedURLExceptionJAXBExceptionvoid refresh()
void resetContainer()
void addVertices(Vertex... vertices)
void removeVertex(VertexRef... vertexId)
Vertex addVertex(int x, int y)
boolean groupingSupported()
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 © 2020. All rights reserved.