Add a new node to the graph and return it.

Set the local ID of the node before returning it.

SEE: add SEE: register

Property definitions

neo4j $ NeoNodeCollection :: create_node
	# Add a new node to the graph and return it.
	#
	# Set the local ID of the node before returning it.
	#
	# SEE: `add`
	# SEE: `register`
	fun create_node: NeoNode do
		var node = new NeoNode
		register(node)
		return node
	end
lib/neo4j/graph/graph.nit:110,2--120,4