Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

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

Activity

Total releases
3
First release
Apr 2026
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

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