Models Relation Diagram
Create a diagram of your tables from the API and plugins
Strapi plugin models-relation-diagram
Entity Relationship Diagram => BETA Version
🚀 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.
✨ Getting Started
Minimum version strapi: 4.12.0
1npm i strapi4-models-relation-diagram
2npm run build
3npm run develop
Plugin Configurations
1"models-relation-diagram": {
2 enabled: true,
3 config: {
4 defaultExcludeAdmin: true, // hide admin:: + strapi:: + webhook + plugin::i18n.locale + plugin::content-releases
5 defaultHideUpload: true, // hide plugin::upload.file + plugin::upload.folder
6 defaultExcludeComponents: false, // hide components
7 defaultLayout: 'dagre', // default layout: ELK,Dagre
8 defaultEdgesType: 'step', // default edge type: straight,step,smoothstep,bezier
9 hideMarkers: true, // hide relation marker on edges
10 }
11 },
Install now
npm install strapi4-models-relation-diagram
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.