Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

skilld-labs/entity_relationship

 
 

Repository files navigation

Deprecation notice

This module has been moved to https://www.drupal.org/project/entity_relationship_diagram

Do not use this repo anymore

Entity relationship diagram

This module generates entity relationship diagram for chosen content entities. This module was originally ported from Drupal 7 entitiesdiagram with several improvements.

Usage

Go to /admin/reports/entity-relationship-diagram to see form with available content entity types. Mark necessary for you entity types and press on create button.

Generates a graph in the PNG format.

entity_relations___productivity entity_relations___productivity

Optionally, if you install CLI package "graphviz" (Alpine Linux users could also need package "ttf-freefont"), you can to output diagram as an image file, by executing following drush command:

drush entity_relationship_diagram:diagram | dot -Gratio=0.7 -Eminlen=2 -T png -o ./output.png

It is also possible to specify desired entity types:

drush entity_relationship_diagram:diagram --entity_type=node,user,taxonomy_term | dot -Gratio=0.7 -Eminlen=2 -T png -o ./output.png

About

Drupal module to generate MCD diagrams of existing entities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • PHP 98.3%
  • JavaScript 1.7%