mirror of https://gitee.com/bigwinds/arangodb
The GraphViewer will now again be aware of new nodes _key and _rev
This commit is contained in:
parent
cec169fc4f
commit
1902a67b0e
|
@ -470,7 +470,9 @@ function ArangoAdapter(nodes, edges, config) {
|
|||
processData: false,
|
||||
success: function(data) {
|
||||
if (data.error === false) {
|
||||
nodeToAdd._key = data._key;
|
||||
nodeToAdd._id = data._id;
|
||||
nodeToAdd._rev = data._rev;
|
||||
absAdapter.insertNode(nodeToAdd);
|
||||
callback(nodeToAdd);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue