Skip to main content

Visualization of relations between nodes | Drupal.org

Visualization of relations between nodes | Drupal.org: Visualization of relations between nodes

Last updated April 2, 2015. Created on January 3, 2012.
Edited by clemens.tolboom, Roi Danton. Log in to edit this page.

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

Required modules

Views
Relation
graphapi
Any of the Graph API supporting modules like Graph Phyz, d3js, The JIT
It is assumed that your site already has existing relations between nodes.

Steps

Create a node view with graph rendering format
Create a view relationship Relation node<->node (here it is named relation n-n)
Create the following view fields:
Content: Title
Content: Nid
(relation n-n) Content: Title (Title)
(relation n-n) Content: Nid (Nid)
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
Check out which render type works best for your content

Popular posts from this blog

Elizabeth Holmes Discusses Theranos at WSJDLive 2015

Elizabeth Holmes Discusses Theranos at WSJDLive 2015 Elizabeth Holmes Discusses Theranos at WSJDLive 2015 At the WSJDLive 2015 conference, Theranos founder and CEO Elizabeth Holmes discusses her company's proprietary technologies, the FDA's inspection of its facilities, and the assertion that her company was too quick to market its products.