public class Graph extends Object
| Modifier and Type | Method and Description |
|---|---|
static Graph |
create(IDBAccess dbAccess)
create an empty graph
|
GrNode |
createNode()
create a node in the graph
|
GrRelation |
createRelation(String type,
GrNode startNode,
GrNode endNode)
create a relation in the graph
|
boolean |
isModified() |
Graph |
setLockingStrategy(Locking locking)
Set the locking strategy (e.g.
|
List<JcError> |
store()
Update the underlying database with changes made on the graph
|
public static Graph create(IDBAccess dbAccess)
dbAccess - the database on which to perform updates of the graphpublic Graph setLockingStrategy(Locking locking)
locking - public GrNode createNode()
public GrRelation createRelation(String type, GrNode startNode, GrNode endNode)
type - startNode - endNode - public boolean isModified()
Copyright © 2016. All rights reserved.