generate_mermaid_diagram
Create Mermaid entity relationship diagrams from Dataverse schema JSON files to visualize data models with tables, columns, and relationships for documentation and analysis.
Instructions
Generates a Mermaid entity relationship diagram from an exported schema JSON file. Creates visual documentation of your data model with tables, columns, and relationships. Perfect for documentation, presentations, and understanding data structure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
includeColumns | No | Whether to include column details in the diagram | |
includeRelationships | No | Whether to include relationships in the diagram | |
outputPath | No | Path where to save the Mermaid diagram file (default: schema-diagram.mmd) | |
schemaPath | Yes | Path to the exported JSON schema file | |
tableNameFilter | No | List of table logical names to include in the diagram. If not specified, all tables will be included. |
Input Schema (JSON Schema)
{
"properties": {
"includeColumns": {
"default": true,
"description": "Whether to include column details in the diagram",
"type": "boolean"
},
"includeRelationships": {
"default": true,
"description": "Whether to include relationships in the diagram",
"type": "boolean"
},
"outputPath": {
"description": "Path where to save the Mermaid diagram file (default: schema-diagram.mmd)",
"type": "string"
},
"schemaPath": {
"description": "Path to the exported JSON schema file",
"type": "string"
},
"tableNameFilter": {
"description": "List of table logical names to include in the diagram. If not specified, all tables will be included.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"schemaPath"
],
"type": "object"
}