Advertising sustains the DA. Ads are hidden for members. Join today

On this page

Visualization of relations between nodes

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

This tutorial shows how to create a graphical visualization of relations between nodes.

Required modules

It is assumed that your site already has existing relations between nodes.

Steps

  1. Create a node view with graph rendering format
  2. Create a view relationship Relation node<->node (here it is named relation n-n)
  3. Create the following view fields:
    • Content: Title
    • Content: Nid
    • (relation n-n) Content: Title (Title)
    • (relation n-n) Content: Nid (Nid)
  4. Edit the format settings:
    • from settings:
      • unique ID: Content: Nid
      • Label to display: Content: Title
    • to settings:
      • unique ID: (relation n-n) Nid
      • Label to display: (relation n-n) Title
  5. Check out which render type works best for your content

Help improve this page

Page status: Not set

You can: