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) |
Criteria |
getDefaultCriteria() |
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. |
MetaInfo |
getMetaInfo() |
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, setParent
addEdgeListener, clearEdges, contributesTo, getEdge, getEdge, getEdgeNamespace, getEdges, getEdges, removeEdgeListener
contributesTo, getSelection
void save()
void load(String filename) throws MalformedURLException, JAXBException
MalformedURLException
JAXBException
void 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)
Criteria getDefaultCriteria()
MetaInfo getMetaInfo()
Copyright © 2016. All rights reserved.