Add the specified node to the graph and set its local ID.

SEE: add SEE: create_node

Property definitions

neo4j $ NeoNodeCollection :: register
	# Add the specified node to the graph and set its local ID.
	#
	# SEE: `add`
	# SEE: `create_node`
	fun register(node: NeoNode) is abstract
lib/neo4j/graph/graph.nit:98,2--102,40

neo4j $ SequentialNodeCollection :: register
	redef fun register(node) do
		nodes.add node
		id_of(node) = nodes.length
		length += 1
	end
lib/neo4j/graph/sequential_id.nit:72,2--76,4