Degree of a node

May 31 at 4:25 AM
I have a line layer on top of a point layer and I want to find the number of edges(lines) adjacent to each node i.e. the degree of the node.

I searched the SDK but couldn't find anything related to this.

Is it possible to find the degree of a node? If yes, how to find it?

Thanks in advance