neo4j-contrib / neo4j-graph-algorithms

Efficient Graph Algorithms for Neo4j
https://github.com/neo4j/graph-data-science/
GNU General Public License v3.0
770 stars 194 forks source link

Edges of community #931

Open ghost opened 4 years ago

ghost commented 4 years ago

Hey there. I've been using LPA community detection for a few months now.

As seen in 6.21 there are no edges returned. https://neo4j.com/docs/graph-algorithms/current/algorithms/label-propagation/

| Name  | Type | Description    |
+ ------+------+---------------+
| nodeId | int  | Node ID      |
| label  | int  | Community ID |

In complex graphs, I don't know which edges are truly responsible for connecting the community. As a feature request, I'd like to suggest returning triplets (node1)-edge1-(node2). Or maybe that is just 'not a thing' in community detection?