Disable smart templates

  1. Select Extras > Configuration from the menu, or … > Settings > Configuration from the toolbar.
    Access the draw.io configuration via Extras > Configuration
  2. Add the following JSON string to the configuration: "lockdown": true
    Add the lockdown option to the draw.io configuration to disable smart templates
  3. Click Apply to save your changes. Reload the browser tab to load the new draw.io configuration and disable the smart templates feature.

Feature availability

If you are using the online version of draw.io at app.diagrams.net, then this feature is enabled by default.

Smart templates are not available in draw.io Desktop as the Desktop version is fully offline.

Administrators must enable smart templates in draw.io for Confluence Cloud and Jira Cloud in the draw.io configuration options before their users can generate diagrams. Smart templates are disabled by default.

Using smart templates in draw.io

The smart template generator in draw.io uses ChatGPT. You write a prompt in text, and it returns a mermaid diagram based on your input and the options you selected.

Only your query and the response generated by ChatGPT is seen by ChatGPT. draw.io does not share your diagram or editor data with this third-party service.

Learn more about smart templates and how to write good queries to generate better diagrams.