Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/node-vision/strapi-plugin-entity-relationship-chart
Strapi Plugin displays Entity Relationship Diagram of all models, fields and relations.
https://github.com/node-vision/strapi-plugin-entity-relationship-chart
Last synced: 4 months ago
JSON representation
Strapi Plugin displays Entity Relationship Diagram of all models, fields and relations.
- Host: GitHub
- URL: https://github.com/node-vision/strapi-plugin-entity-relationship-chart
- Owner: node-vision
- Created: 2020-06-10T04:40:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-18T10:38:42.000Z (over 1 year ago)
- Last Synced: 2024-08-01T16:30:17.379Z (7 months ago)
- Language: JavaScript
- Size: 566 KB
- Stars: 180
- Watchers: 7
- Forks: 24
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Strapi plugin Entity Relationship Chart
Plugin displays Entity Relationship Diagram of all Strapi models, fields and relations.

## 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:
```js
// 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