Diagram: Add ability to only show ancestor or descendant relationships

Created on 25 July 2024, about 1 month ago
Updated 26 July 2024, about 1 month ago

Problem/Motivation

As a Content Designer using the Entity Relationship Diagram, I sometimes am only interested in visualizing ancestors or descendant relationships. Because they currently both show up, it limits my ability to use higher levels of degrees of separation as the diagrams quickly get overwhelming when they expand in both directions.

Proposed resolution

Add a new drop-down menu item to the Entity Diagram controls. Suggested content:

Relationships
Select which relationships to display

  • All relationships
  • (selected by default)

  • Parents & ancestors
  • Children & descendants

Add logic into the code to only fetch & display ancestors or descendants based on selection. Looks like they are two separate calls so hopefully that shouldn't be a big lift

User interface mock ups

✨ Feature request
Status

Active

Version

1.0

Component

Diagram

Created by

πŸ‡ΊπŸ‡ΈUnited States davidmpickett

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @davidmpickett
  • Status changed to Active about 1 month ago
  • πŸ‡ΊπŸ‡ΈUnited States swirt Florida

    Ooh I like this idea. Thank you for suggesting it. I am wondering about the language. Ancestors and descendants is not all the Drupally. Ancestors and descendants implies causality or family tree like relationships that may not be accurate. I am wondering if either
    A) 'references' or 'referenced by'
    B) direction incoming or outgoing
    C) reference or reverse reference

    I am kind of leaning toward B because it accurately describes what we are talking about, direction rather than lineage.

Production build 0.71.5 2024