Entity Relationship Chart
Generates and displays Entity Relationship Diagram of all Strapi models, fields and relations.
Strapi plugin Entity Relationship Chart
Plugin displays Entity Relationship Diagram of all Strapi models, fields and relations.
How to install:
- In a root folder of your strapi project run
npm install strapi-plugin-entity-relationship-chart --save
- Rebuild admin UI
strapi build
- Run strapi
strapi develop
Exclude models from chart
You can exclude contentTypes or components from the chart by adding their ids to exclude
plugin configuration property:
1// file: config/plugins.js
2"use strict";
3
4module.exports = () => ({
5 // ...
6 "entity-relationship-chart": {
7 enabled: true,
8 config: {
9 // By default all contentTypes and components are included.
10 // To exlclude strapi's internal models, use:
11 exclude: [
12 "strapi::core-store",
13 "webhook",
14 "admin::permission",
15 "admin::user",
16 "admin::role",
17 "admin::api-token",
18 "plugin::upload.file",
19 "plugin::i18n.locale",
20 "plugin::users-permissions.permission",
21 "plugin::users-permissions.role",
22 ],
23 },
24 },
25 // ...
26});
Submitting issues:
Use github issues on the repo: - https://github.com/node-vision/strapi-plugin-entity-relationship-chart/issues
Version Notes:
- this plugin was tested with stable Strapi - 4.0.6
Install now
npm install strapi-plugin-entity-relationship-chart
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.