Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ Use for what Graphify CLI can map and query: inputs, updates, PR impact, exports
- [Documents, papers, and media](https://docs.graphify.com/open-source/features/documents-and-media.md): Add Markdown, PDFs, Office files, images, video, audio, web pages, and Google Workspace files to your open-source Graphify graph with semantic extraction.
- [Databases and package graphs](https://docs.graphify.com/open-source/features/databases.md): Map a live PostgreSQL schema and Rust crate dependencies into your open-source Graphify graph, alongside the code that uses them.
- [Deduplication and symbol resolution](https://docs.graphify.com/open-source/features/deduplication.md): How open-source Graphify links calls and imports across files, tags every edge with its confidence, and merges duplicate entities without guessing.
- [Community detection in Graphify CLI](https://docs.graphify.com/open-source/features/community-detection.md): How open-source Graphify groups your code into communities with Leiden clustering, names them, and keeps their IDs stable as the graph changes.
- [Leiden community detection in Graphify CLI](https://docs.graphify.com/open-source/features/community-detection.md): How open-source Graphify detects communities in your code with Leiden clustering, names them, and keeps their IDs stable as the graph changes.
- [Keep the graph current](https://docs.graphify.com/open-source/features/incremental-updates.md): Keep your code knowledge graph current: refresh only changed files, exclude noisy paths, and recover from stale graphify output.
- [Keep your code graph up to date](https://docs.graphify.com/open-source/features/keep-the-graph-fresh.md): Keep your Graphify code graph up to date with git hooks or graphify watch. See what each refreshes, how to check it works, and the known limits.
- [Ask better graph questions](https://docs.graphify.com/open-source/features/querying.md): Ask better questions of your code knowledge graph with graphify query, path, and explain, and pick the right command for each kind of question.
Expand Down
8 changes: 4 additions & 4 deletions open-source/features/community-detection.mdx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
title: "Community detection in Graphify CLI"
title: "Leiden community detection in Graphify CLI"
sidebarTitle: "Community detection"
description: "How open-source Graphify groups your code into communities with Leiden clustering, names them, and keeps their IDs stable as the graph changes."
keywords: ["graphify communities", "leiden clustering", "code clustering", "graphify cluster-only", "graphify label"]
description: "How open-source Graphify detects communities in your code with Leiden clustering, names them, and keeps their IDs stable as the graph changes."
keywords: ["leiden", "communities", "clusters", "clustering", "modules", "community detection", "leiden community detection", "graphify communities", "leiden clustering", "code clustering", "graphify cluster-only", "graphify label"]
surface: "local"
icon: "users-round"
---

import TryCloudCard from '/snippets/try-cloud-card.mdx';

A large codebase is easier to navigate in neighbourhoods than file by file. After every build, open-source Graphify splits the graph into **communities**: groups of functions, classes, files, and concepts that connect to each other more than to the rest of the code. Communities give `GRAPH_REPORT.md` its structure, colour `graph.html`, and let your agent say "this lives in the parsing layer" instead of listing fifty files.
Open-source Graphify finds communities with the Leiden algorithm. After every build, it splits the graph into **communities**, also called clusters: groups of functions, classes, files, and concepts that connect to each other more than to the rest of the code. A large codebase is easier to navigate in neighbourhoods than file by file, and communities give `GRAPH_REPORT.md` its structure, colour `graph.html`, and let your agent say "this lives in the parsing layer" instead of listing fifty files.

<Note>
**Use communities when** you join a new repository and want its real architecture, not the folder layout, or when your agent needs a short map of where a change belongs.
Expand Down
Loading