Procedures And Algorithms Overview
Consumer View
This is the part of Nexyron where the graph stops being only a place to store connected records and starts becoming an execution surface for retrieval, ranking, grouping, projection, and analysis.
The main practical categories are:
- catalog and projection procedures
- semantic and retrieval procedures
- graph algorithms
The catalog/projection family now also includes materialized aggregate-view lifecycle procedures, which means analytical summaries can be managed as first-class Cypher objects rather than only ad hoc query outputs.
Conceptual Explanation
Procedures matter because they let Nexyron extend normal Cypher without inventing a separate analytics DSL.
The pattern is:
CALLa procedureYIELDrows- feed those rows back into
MATCH,WITH,WHERE,RETURN, and functions
Simple example:
CALL nexyron.pagerank() YIELD node_id, score
MATCH (page)
WHERE id(page) = node_id
RETURN page.title AS page, score
ORDER BY score DESC
LIMIT 10
That lets users do things like:
- run PageRank on a named graph and then join scores back to nodes
- run
graph_qualityonce to get cleanup, grouping, centrality, and weak-connection diagnostics for the observed or knowledge graph - perform semantic retrieval and then filter by graph structure or time
- detect communities and then profile them with document metadata
Procedure Families
- projection and catalog procedures manage named analytical graphs and supporting metadata
- semantic procedures expose retrieval and ranking workflows that use embeddings, vector indexes, or diversity-aware ranking
- algorithm procedures expose centrality, traversal, similarity, community detection, flow, structure, and routing workloads
Community Detection Is The Most Misunderstood Family
This repo now has separate pages because “community detection” is not one feature.
louvainis a fast modularity-oriented baselineleidenis usually the better production default when partition quality mattershierarchical_leidenpreserves several resolution levelslabel_propagationis the quick heuristic optionslpa,sllpa, andbigclamaccept overlap instead of forcing one labelinfomapis about flow and path compressiongraph_qualityis a bundled diagnostic procedure that computes cleanup, community, centrality, weak-node, and runtime metadata over one projected graph- stochastic block procedures are about structural roles and interaction patterns
modularity_metricandconductancescore communities rather than generating themk1coloringandmaxkcutare partitioning tools with goals that differ from community discovery
Recommended Reading Path
- read procedures/README.md for the full family map
- read the relevant family page such as community detection
- read the per-procedure page for the exact behavior, selection guidance, use cases, and limitations