IIndexableGraph Methods |
The IIndexableGraph type exposes the following members.
Name | Description | |
---|---|---|
CreateIndex |
Generate an index with a particular name for a particular class.
| |
DropIndex |
Remove an index associated with the graph.
| |
GetIndex |
Get an index from the graph by its name and index class. An index is unique up to name.
| |
GetIndices |
Get all the indices maintained by the graph.
|
Name | Description | |
---|---|---|
AddEdge |
Add an edge to the graph with specified id and provided properties.
(Defined by GraphHelpers.) | |
AddUniqueVertex |
Add a vertex to a graph only if no other vertex in the provided Index is indexed by the property key/value pair.
If a vertex already exists with that key/value pair, return the pre-existing vertex.
(Defined by IndexableGraphHelpers.) | |
AddVertex |
Add a vertex to the graph with specified id and provided properties.
(Defined by GraphHelpers.) | |
CopyGraph |
Copy the vertex/edges of one graph over to another graph.
The id of the elements in the from graph are attempted to be used in the to graph.
This method only works for graphs where the user can control the element ids.
(Defined by GraphHelpers.) | |
CreateTinkerGraph | (Defined by GraphHelpers.) | |
GraphString | (Defined by StringFactory.) | |
LoadGml | (Defined by GraphHelpers.) | |
LoadGraphml | (Defined by GraphHelpers.) | |
LoadGraphson | (Defined by GraphHelpers.) | |
ReIndexElementsT |
For those graphs that do no support automatic reindexing of elements when a key is provided for indexing, this method can be used to simulate that behavior.
The elements in the graph are iterated and their properties (for the provided keys) are removed and then added.
Be sure that the key indices have been created prior to calling this method so that they can pick up the property mutations calls.
Finally, if the graph is a TransactionalGraph, then a 1000 mutation buffer is used for each commit.
(Defined by KeyIndexableGraphHelpers.) | |
SaveDotNet | (Defined by GraphHelpers.) | |
SaveGml | (Defined by GraphHelpers.) | |
SaveGraphml | (Defined by GraphHelpers.) | |
SaveGraphson | (Defined by GraphHelpers.) |