Diagrams can also contain graphical representatives of various database objects. The following objects can be added to MariaDB diagrams:
- Stored procedures
- 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.
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.