Diagrams can also contain graphical representatives of various database objects. The following objects can be added to MariaDB diagrams:
- Views
- Stored procedures
- Functions
- Triggers
- Other objects (Events, Table check constraints, User/Role definitions)
Each object has its default color that can be changed. Objects can be re-positioned, aligned etc.
Usage:
To add a new object, click Other on the toolbar or right-click the diagram area and choose the desired object type, for example, Function.
In object properties, specify colors and code. The code will be saved together with SQL statements for other objects like tables and relations.
#