apoc.nodes

Qualified Name Type

apoc.nodes.collapse(nodes [Node], config Map<String, Any>) - merges nodes together in the given list. The nodes are then combined to become one node, with all labels of the previous nodes attached to it, and all relationships pointing to it.

Procedure

apoc.nodes.cycles(nodes [Node], config Map<String, Any>) - detects all path cycles in the given node list. This procedure can be limited on relationships as well.

Procedure

apoc.nodes.delete(nodes Any, batchSize Integer) - deletes all nodes with the given ids.

Procedure

apoc.nodes.get(nodes Any) - returns all nodes with the given ids.

Procedure

apoc.nodes.group(labels [String], groupByProperties [String], aggregations [Map<String, Any>], config Map<String, Any>) - allows for the aggregation of nodes based on the given properties. This procedure returns virtual nodes.

Procedure

apoc.nodes.link(nodes [Node], type String, config Map<String, Any>) - creates a linked list of the given nodes connected by the given relationship type.

Procedure

apoc.nodes.rels(rels Any) - returns all relationships with the given ids.

Procedure

apoc.nodes.connected(startNode Node, endNode Node, types String) - returns true when a given node is directly connected to another given node. This function is optimized for dense nodes.

Function

apoc.nodes.isDense(node Node) - returns true if the given node is a dense node.

Function

apoc.nodes.relationship.types(nodes Any, types String) - returns a list of distinct relationship types from the given list of nodes.

Function

apoc.nodes.relationships.exist(nodes Any, types String) - returns a boolean based on whether or not the given nodes have the given relationships.

Function