Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/catalyst/moodle-tool_erdiagram

Auto generate Entity Relationship (ER) diagrams for a Moodle plugin
https://github.com/catalyst/moodle-tool_erdiagram

Last synced: 3 days ago
JSON representation

Auto generate Entity Relationship (ER) diagrams for a Moodle plugin

Awesome Lists containing this project

README

        



### Moodle ER Diagram Generator

A proof of concept admin tool plugin created as part of the "Catathon" day
at Catalyst EU (https://www.catalyst-eu.net/). 2nd November 2023

Generate Mermaid ER (Entity Relationship) diagram markdown from plugin install.xml files

The form allows entry of the path to a plugin e.g. mod/label.
The db/install.xml file will be opened and the xml converted to mermaid markdown.
There is a checkbox to allow inclusion of Fields, type and comment for a more detailed/cluttered view.

Example for mod/wiki

![image](https://github.com/catalyst/moodle-tool_erdiagram/assets/187449/06b2a83e-7ecb-414c-91bf-d39d37505b3c)

A preview is displayed and the markup can be copied for further viewing and manipulation at

https://mermaid.live/

See also

https://mermaid.js.org/

https://github.com/mermaid-js/mermaid

https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams

A full documentation of the Moodle database can be found at https://www.examulator.com/er/output/index.html