11

Saving, clearing and loading DeviceEditor designs
Saving a DeviceEditor design (XML format file) allows you to save your designed (combinatorial) arrangement of SBOL Visual icons and parts (mapped to sequences). Note that, currently, there is no "Undo" functionality in DeviceEditor, so frequently saving as you develop a design is a prudent idea.

Demonstration video:

Here is a demonstration video that goes through this process (Save clear and load designs.mov, right click this link to save the movie to disk for better viewing):


Here is a DeviceEditor .xml saved design file resulting from saving after the demonstration above (Save clear and load designs.xml, right click and save link as to save the design file to disk):

Narrative:

Saving Designs:

At any time, you can save your current DeviceEditor design by going to the "File" menu at the top left of the DeviceEditor display (note: not the browser's File menu), and clicking on "Save Design". Doing so will pop-up a new "Select location for download" dialog box, where you can choose the file name for the design and where you'll be saving to. By default, the file name will be the same as it was the last time this particular design was saved (in this example the original design file name was "Create and map new part.xml", and we changed it to "Save clear and load designs.xml"), or "new_design.xml" if you started your design from scratch in a new DeviceEditor session. Note that you'll want to keep the .xml file extension on all DeviceEditor design files.

Clearing Designs:

You can clear your current DeviceEditor design canvas (clean the slate) by going to the "File" menu at the top left of the DeviceEditor display, and clicking on "Clear Design". Doing so will pop-up a warning message, telling you that you're about to clear the current design and any unsaved changes will be lost. If you really want to clear the design, clicking "Ok" will clear the design; conversely, clicking "Cancel" won't clear the design.

Loading Designs:

Coming full circle, then, you can load a saved DeviceEditor design by going to the "File" menu at the top left of the DeviceEditor display, and clicking on "Load Design". At this point you'll have three options, and in this example we'll click on the first "Design XML" (the second option, loading a design from "j5 Files", will be discussed in a subsequent section). Loading a design entails first clearing the current canvas, so a warning message will pop-up telling you that you're about to clear the current design and any unsaved changes will be lost. If you really want to clear the current design and load another, click "Ok"; conversely, clicking "Cancel" won't clear the current design nor load a new one. After clicking "Ok", a new "Select file to upload" dialog box will pop-up, allowing you to select which design you'd like to open. Only files with .xml extensions will be selectable by default, although an "All files" option is available.

There are four example DeviceEditor designs you can load as well, although this is not shown in this video example. This is the third option ("Example Design") in the "File" -> "Load Design" menu described immediately above. The first example DeviceEditor design "SLIC/Gibson/CPEC" is a single construct design which mimics the SLIC/Gibson/CPEC assembly example in the j5 user's manual, and is the same example described here in the Running a SLIC/Gibson/CPEC DNA assembly design on the j5 server section. The second example DeviceEditor design "Combinatorial SLIC/Gibson/CPEC" is a combinatorial construct design which mimics the Combinatorial SLIC/Gibson/CPEC assembly example in the j5 user's manual. The third example DeviceEditor design "Golden Gate" is a a single construct design which mimics the Golden Gate assembly example in the j5 user's manual.  The fourth example DeviceEditor design "Combinatorial Golden Gate" is a combinatorial construct design which mimics the Combinatorial Golden Gate assembly example in the j5 user's manual, and is the same example described here in the Running a combinatorial Golden Gate DNA assembly design on the j5 server section.