calculate_graph_centrality
Compute centrality measures (betweenness, closeness, degree) for knowledge graph entities, highlighting key connectors, centrally located nodes, and highly linked entities.
Instructions
Calculate centrality measures for entities in the knowledge graph. Returns betweenness, closeness, and degree centrality. These measures identify entities that bridge different parts of the graph, are close to all others, or have many connections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_types | No | Filter graph to specific entity types (optional) | |
| min_occurrences | No | Minimum entity occurrences (default: 2) | |
| top_n | No | Number of top entities per measure (default: 10) |