Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

Content Dependency Graph

Security covered Drupal 10–11
View on drupal.org

This module provides an interactive visualization tool that maps relationships between Drupal entities like nodes, media, and taxonomy terms. It allows you to view these connections as a force-directed graph, filter by entity type, and see entity details when a node is clicked.

An interactive visualization tool for mapping relationships between Drupal entities — nodes, media, taxonomy terms, paragraphs, and files.

Features

  • Force-directed graph powered by vis-network
  • Color-coded nodes by entity type with SVG icons
  • Filter the graph by entity type while keeping the root node always visible
  • Sidebar showing entity details and relationships on node click
  • Zoom in/out, fit-to-view, and fullscreen controls
  • Admin index listing the 100 most recently changed nodes
  • "Dependency Graph" tab added to each node's canonical page

Requirements

  • Drupal 10 or 11
  • Core modules: Node, Taxonomy, Media

Installation

  1. Place the module in /modules/contrib/content_dependency_graph/.
  2. Enable the module using Drush:
    drush en content_dependency_graph
  3. Grant the access content dependency graph permission at
    /admin/people/permissions.

Permissions

Permission Description access content dependency graph View the dependency graph visualization

Usage

Index page

Navigate to /admin/content/dependency-graph to see a table of the 100 most recently changed nodes, each with a link to its graph.

Also accessible via Administration > Content > Dependency Graph.

Graph for a specific node

Visit /admin/content/dependency-graph/{node_id}, or open any node and click the Dependency Graph tab.

The graph displays the selected node as the root and recursively visualizes all referenced entities and their relationships.

Interacting with the graph

Control Action Click a node Open entity details and relationships in the sidebar Zoom in / Zoom out Scale the graph (1.25× / 0.8×) Fit Zoom to fit all visible nodes Fullscreen Toggle fullscreen mode Entity type filter Filter nodes by entity type (root node always visible) Drag Pan the canvas Scroll Zoom

Entity Type Color Coding

  • Node: Blue
  • Paragraph: Purple
  • Media: Orange
  • Taxonomy term: Green
  • File: Yellow

What is Included

The graph traverses entity reference and entity reference revisions fields recursively to build relationships between entities.

What is Not Included

To keep the graph meaningful and focused, the following are excluded:

  • Metadata fields: uid, type, roles, langcode, menu_link, moderation_state, comment
  • Internal entity types: user, user_role, node_type, comment_type, workflow, moderation_state
  • Views, Menus, and Configuration dependencies

Depends on

Dependencies of the latest stable release

  • media Drupal core
  • node Drupal core
  • taxonomy Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2026
Latest release
2 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.1 Stable 10–11 Jun 21, 2026
1.0.0 Stable 10–11 Apr 28, 2026
1.0.x-dev Dev 10–11 Apr 28, 2026