Add a node with given label and properties Will automatically assign an ID - this is the safest option to avoid ID clashes.
(final String label, final Object... keyValues)
| 130 | * Will automatically assign an ID - this is the safest option to avoid ID clashes. |
| 131 | */ |
| 132 | public Node addNode(final String label, final Object... keyValues) { |
| 133 | return addNodeInternal(currentId.incrementAndGet(), label, keyValues); |
| 134 | } |
| 135 | |
| 136 | /** |
| 137 | * Add a node with given id, label and properties. |