General Tips

General tips for draw.io

How to create custom stencils in draw.io using the text editor, step by step?
Make sure you have the Basic stencils activated. Click More Shapes and the dialog, make sure the Basic group is active. Close the dialog and drop the 4 Poin...
Wed, 13 Dec, 2017 at 11:28 AM
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.
Thu, 7 Jun, 2018 at 9:46 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 ...
Fri, 30 Nov, 2018 at 9:28 AM