Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Network analysis›Directed Modularity Analysis
Machine learningNetwork science

Directed Modularity Analysis

Directed Modularity Analysis (Leicht-Newman Directed Community Detection) · Also known as: directed community detection via modularity, directed Q-modularity, digraph modularity optimization, Leicht-Newman modularity

Directed modularity analysis extends the classic Newman-Girvan modularity framework to directed graphs, where edges carry a source and a destination. Formalized by Leicht and Newman in 2008, it partitions nodes into communities by maximizing a modularity score that accounts for each node's separate in-degree and out-degree in the null model, making it the standard approach for community detection in citation networks, information flows, and other asymmetric relational data.

ScholarGate
  1. Machine learning
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Directed Modularity Analysis
Betweenness CentralityDirected Community Detec…Directed Social Network…Modularity AnalysisStochastic Block ModelDirected Exponential Ran…Directed Two-Mode Networ…

When to use it

Use directed modularity analysis when your network has asymmetric edges — citations, follows, information flows, trade links, or hyperlinks — and you want to discover groups of nodes that form coherent communities given the direction of ties. It is the appropriate generalization of modularity whenever undirected modularity would ignore meaningful asymmetry in the data. Minimum network size is roughly 30-50 nodes; very small networks rarely show stable community structure. Do not use it when edges are genuinely undirected (co-authorship, co-occurrence) — standard undirected modularity is simpler and more interpretable. Also avoid it when the network is very sparse or nearly acyclic (e.g., strict temporal DAGs), where the directed null model may be poorly calibrated.

Strengths & limitations

Strengths
  • Correctly handles asymmetric edge structure by separating in-degree and out-degree in the null model.
  • Produces an interpretable scalar Q score that quantifies how strongly communities exceed random expectation.
  • Compatible with fast heuristics (Louvain, Leiden) that scale to networks with millions of edges.
  • Well-grounded in the physical-review literature with a clear mathematical derivation (Leicht & Newman 2008).
  • Identifies overlapping sender/receiver roles within communities that undirected methods miss.
Limitations
  • Modularity maximization is NP-hard; all practical algorithms are heuristics and can return different partitions across runs.
  • Suffers from the resolution limit: sub-communities smaller than a scale set by network size may be merged into larger groups.
  • The modularity score Q alone does not determine the correct number of communities; additional validation is needed.
  • Performance degrades on very sparse directed networks where the null model P_ij becomes a poor baseline.

Frequently asked

Why can I not just symmetrize my directed network and run standard modularity?

Symmetrizing (treating each directed edge as undirected) loses the distinction between nodes that predominantly send edges and those that predominantly receive them. In citation networks, for example, a highly cited paper and a prolific citing paper play very different structural roles; directed modularity preserves this distinction while undirected modularity conflates them.

What Q value indicates a good partition?

There is no universal threshold, but in practice Q above 0.3 is often taken as evidence of meaningful community structure. However, Q depends on network size and density, so always compare against a null distribution or randomized baseline rather than relying on an absolute cutoff.

Which algorithm should I use to maximize directed modularity?

The Louvain algorithm with directed-edge support (available in igraph and NetworkX) is the most common choice for moderate to large networks due to its speed. The Leiden algorithm is a more recent refinement that avoids some instabilities in Louvain partitions. For small networks, spectral optimization of the directed modularity matrix B is exact enough to be practical.

How do I choose the number of communities?

Directed modularity optimization selects the number of communities implicitly as part of maximizing Q. If you need a specific number, use the resolution parameter (gamma) in Louvain/Leiden: increasing gamma yields more, smaller communities; decreasing it yields fewer, larger ones. Always validate the result qualitatively by inspecting who belongs to each community.

Can directed modularity handle weighted edges?

Yes. Replace the binary adjacency matrix A with a weighted adjacency matrix W, replace counts with total weight, and redefine k_i^out and k_j^in as the total out-strength and in-strength respectively. The formula for Q and the null model P_ij adapt directly; most graph libraries support this natively.

Sources

  1. Leicht, E. A., & Newman, M. E. J. (2008). Community structure in directed networks. Physical Review Letters, 100(11), 118703. DOI: 10.1103/PhysRevLett.100.118703 ↗
  2. Newman, M. E. J., & Girvan, M. (2004). Finding and evaluating community structure in networks. Physical Review E, 69(2), 026113. DOI: 10.1103/PhysRevE.69.026113 ↗

How to cite this page

ScholarGate. (2026, June 3). Directed Modularity Analysis (Leicht-Newman Directed Community Detection). ScholarGate. https://scholargate.app/en/network-analysis/directed-modularity-analysis

Related methods

Betweenness CentralityDirected Community DetectionDirected Social Network AnalysisModularity AnalysisStochastic Block Model

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Betweenness CentralityNetwork analysis↔ compare
  • Directed Community DetectionNetwork analysis↔ compare
  • Directed Social Network AnalysisNetwork analysis↔ compare
  • Modularity AnalysisNetwork analysis↔ compare
  • Stochastic Block ModelNetwork analysis↔ compare
Compare side by side →

Referenced by

Directed Exponential Random Graph ModelDirected Two-Mode Network Analysis

Similar methods

Directed Community DetectionModularity AnalysisWeighted Modularity AnalysisWeighted Community DetectionCommunity DetectionDynamic Modularity AnalysisDirected Multiplex Network AnalysisDirected Social Network Analysis

Related reference concepts

Network AnalysisNetwork Analysis in the HumanitiesGraph and Network VisualizationHierarchical Cluster AnalysisComputational SociologyNetwork Formation and Analysis: Theory

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Directed Modularity Analysis (Directed Modularity Analysis (Leicht-Newman Directed Community Detection)). Retrieved 2026-07-21 from https://scholargate.app/en/network-analysis/directed-modularity-analysis · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Leicht, E. A. & Newman, M. E. J.
Year
2008
Type
Community detection / graph partitioning
DataType
Directed (asymmetric) adjacency matrix / edge list
Subfamily
Network science
Related methods
Betweenness CentralityDirected Community DetectionDirected Social Network AnalysisModularity AnalysisStochastic Block Model
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account