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
A preview is displayed and the markup can be copied for further viewing and manipulation at
See also
https://github.com/mermaid-js/mermaid
A full documentation of the Moodle database can be found at https://www.examulator.com/er/output/index.html