Strapi plugin logo for Entity Relationship Chart

Entity Relationship Chart

Generates and displays Entity Relationship Diagram of all Strapi models, fields and relations.

thumbnail for Entity Relationship Chart

Strapi plugin Entity Relationship Chart

Plugin displays Entity Relationship Diagram of all Strapi models, fields and relations.

Preview

How to install:

  1. In a root folder of your strapi project run npm install strapi-plugin-entity-relationship-chart --save
  2. Rebuild admin UI strapi build
  3. 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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// file: config/plugins.js
"use strict";

module.exports = () => ({
  // ...
  "entity-relationship-chart": {
    enabled: true,
    config: {
      // By default all contentTypes and components are included.
      // To exlclude strapi's internal models, use:
      exclude: [
        "strapi::core-store",
        "webhook",
        "admin::permission",
        "admin::user",
        "admin::role",
        "admin::api-token",
        "plugin::upload.file",
        "plugin::i18n.locale",
        "plugin::users-permissions.permission",
        "plugin::users-permissions.role",
      ],
    },
  },
  // ...
});

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

Last updated

243 days ago

Strapi Compatibility

4.0.2 and above

Author

github profile image for Roman Mandryk
Roman Mandryk

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.