Search icon
Strapi plugin logo for Models Relation Diagram

Models Relation Diagram

Create a diagram of your tables from the API and plugins

thumbnail for Models Relation Diagram

Strapi plugin models-relation-diagram

Entity Relationship Diagram => BETA Version

Downloads Install size

🚀   Overview

Create a diagram of every strapi collections and components with fields and relation.

Possibility of displaying or not all collections and components.
Possibility to choose the layout among Elk and dagre.
Possibility to choose the type of edge.

Alt text

  Getting Started

Minimum version strapi: 4.12.0

1
2
3
npm i strapi4-models-relation-diagram
npm run build
npm run develop

Plugin Configurations

1
2
3
4
5
6
7
8
9
10
11
"models-relation-diagram": {
    enabled: true,
    config: {
      defaultExcludeAdmin: true, // hide admin:: + strapi:: + webhook + plugin::i18n.locale + plugin::content-releases
      defaultHideUpload: true, // hide plugin::upload.file + plugin::upload.folder
      defaultExcludeComponents: false, // hide components
      defaultLayout: 'dagre', // default layout: ELK,Dagre
      defaultEdgesType: 'step', // default edge type: straight,step,smoothstep,bezier
      hideMarkers: true, // hide relation marker on edges 
    }
  },

Install now

npm install strapi4-models-relation-diagram

STATS

1 GitHub star28 weekly downloads

Last updated

54 days ago

Strapi Version

4.12.0 and above

Author

github profile image for Paul Richez
Paul Richez

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.