General Tips

General tips for draw.io

How to add line breaks in labels (word wrapping)?
The wrapping.html example demonstrates this. To have word wrapping HTML labels must be enabled:  graph.setHtmlLabels(true); And the whiteS...
Wed, 14 Mar, 2018 at 7:06 AM
How to change colors in SVG images?
The editableCssRules style allows to specify a regular expression (without flags) that will be used to match the selector of CSS rules to allow the fill and...
Wed, 10 Oct, 2018 at 9:51 AM
How to lock or unlock elements in the diagram
The lock option is found under the edit menu (Ctrl/Cmd+L).
Wed, 13 Mar, 2019 at 8:52 AM
Working with custom links
Custom links can be used where hyperlinks and links to pages are allowed, namely on shapes and (parts of) text labels. To add a custom link to a cell, click...
Fri, 22 Jun, 2018 at 7:20 AM
How to create an Entity Relation Diagram?
Given the SQL for CREATE DATABASE, you can create table shapes by clicking on Arrange, Insert, SQL and pasting SQL into the dialog: Read more about creat...
Thu, 26 Jul, 2018 at 3:51 PM
How to find shapes?
By typing into the Find dialog, any shapes with a label or metadata matching the entered search term will be selected. Clicking the Find button or pressing ...
Thu, 27 Jun, 2019 at 4:59 PM