You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Edit Diagram dialog (Extras → Edit Diagram…) lets you view and edit the raw XML of the current page directly. This is useful for advanced editing, debugging, or applying changes that aren't easily made through the regular editor.
When you open the dialog, the textarea is pre-filled with the XML of the page you're currently viewing. You can edit the XML by hand, drop a .drawio or .xml file onto the textarea to replace its contents, or use one of the actions described below.
Apply
Press the Apply button to replace the current page with the XML in the textarea. The dialog closes once the change is applied. If the XML is invalid, an error message is shown and the page is left unchanged.
Select…
The dropdown next to the Apply button offers four actions that operate on the XML in the textarea:
Copy Diagram to Clipboard — Copies the XML text in the textarea to the system clipboard so you can paste it into another file, message, or tool. A short "Copied to clipboard" confirmation is shown.
Open in New Window — Opens the XML in the textarea as a new diagram in a separate browser window, leaving the current diagram untouched.
Extract Text — Collects all user-written text (cell labels, sticky notes, annotations) from the diagram XML and shows it as a single block of plain text in a new dialog. Useful for spell-checking, translating, or copying labels in bulk.
Anonymize — Replaces all labels, user-data attributes and page names in the XML with random characters of the same shape (letters → random letters, digits → random digits). Styles, geometry and structure are preserved. The anonymized XML replaces the textarea content; nothing is applied to the diagram until you press Apply. This is the recommended way to share a diagram for support purposes without exposing confidential text.
Cancel
Closes the dialog without making any changes to the diagram.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The Edit Diagram dialog (Extras → Edit Diagram…) lets you view and edit the raw XML of the current page directly. This is useful for advanced editing, debugging, or applying changes that aren't easily made through the regular editor.
When you open the dialog, the textarea is pre-filled with the XML of the page you're currently viewing. You can edit the XML by hand, drop a
.drawioor.xmlfile onto the textarea to replace its contents, or use one of the actions described below.Apply
Press the Apply button to replace the current page with the XML in the textarea. The dialog closes once the change is applied. If the XML is invalid, an error message is shown and the page is left unchanged.
Select…
The dropdown next to the Apply button offers four actions that operate on the XML in the textarea:
Cancel
Closes the dialog without making any changes to the diagram.
Beta Was this translation helpful? Give feedback.
All reactions