apoc.node.degree

Function APOC Core

apoc.node.degree(node, rel-direction-pattern) - returns total degrees of the given relationships in the pattern, can use '>' or '<' for all outgoing or incoming relationships

Signature

apoc.node.degree(node :: NODE?, types =  :: STRING?) :: (INTEGER?)

Input parameters

Name Type Default

node

NODE?

null

types

STRING?