Opening the Diagram Editor
To open the diagram editor, click on adiagram.json file in the Explorer view. The diagram will open in a new tab.
The diagram editor also works for files matching the diagram.*.json pattern, such as diagram.esp32.json. This is useful if you have multiple target boards in your project, and want to maintain a diagram for each target board.
If you are using the Community or the Hobby plan, you will be able to view the diagram, but not edit it in the diagram editor. You can still edit the diagram.json file in the text editor.
Editing the Diagram as Text
Some advanced features are only available if you modify the diagram in the text editor. You can open the text editor by:1
Right-click the diagram.json tab
Right-click on the diagram.json tab in VS Code
2
Select 'Reopen Editor With...'
Select “Reopen Editor With…” from the context menu
3
Choose 'Text Editor'
Select “Text Editor” from the list of available editors