Switching your authoring method

With some caveats, it is possible to switch authoring methods as follows:

From To Notes
Structurizr DSL Browser-based workspace UI Yes, open the browser-based workspace editor - any changes that you make will not be reflected in your DSL definition.
Structurizr DSL Code-based client library No tooling exists to convert a DSL definition to source code.
Code-based client library Structurizr DSL Yes, run your client library program and save the JSON workspace to disk, or download the JSON workspace from your workspace summary page. You can then use the Structurizr CLI export command or the JSON demo page to convert this to the Structurizr DSL. This conversion isn't a perfect process, but it will save you from authoring a DSL file from scratch.
Code-based client library Browser-based workspace UI Open the browser-based workspace editor - any changes that you make will not be reflected in your code.
Browser-based workspace UI Code-based client library No tooling exists to convert a JSON workspace definition to source code.
Browser-based workspace UI Structurizr DSL Yes, download the JSON workspace from your workspace summary page. You can then use the Structurizr CLI export command or the JSON demo page to convert this to the Structurizr DSL. This conversion isn't a perfect process, but it will save you from authoring a DSL file from scratch.