Duplicate nodes(重复节点(Duplicate nodes))¶
Nodes can be duplicated one at a time within a Code Workbook. To duplicate a node, first open the node menu by either selecting the ... button in the top right of the node or right-clicking anywhere on the node. Then, hover on Edit... to reveal a submenu and select Duplicate.

Copy/paste nodes¶
Nodes can also be duplicated by using copy/paste. The following method allows you to create a copy of a node or set of nodes within the same Code Workbook or in different Code Workbooks. Doing so allows you to transfer the contents of one Code Workbook to another.
- Switch to select mode in the top right corner of your screen.

-
Select the nodes to copy by clicking and dragging to draw a box around the desired nodes. You can also hold down
Cmdon a Mac orCtrlon a Windows machine and click on each node in turn. -
Right-click on the selected nodes and choose Copy X node to clipboard. Alternatively, you can copy the nodes using the keyboard shortcut
Cmd+C(macOS) orCtrl+C(Windows).

- While in select mode, paste the nodes into the desired destination using the keyboard shortcut
Cmd+V(macOS) orCtrl+V(Windows).
中文翻译¶
重复节点(Duplicate nodes)¶
在代码工作簿(Code Workbook)中,每次只能重复一个节点。要重复节点,首先通过点击节点右上角的 ... 按钮或右键单击节点任意位置打开节点菜单,然后将鼠标悬停在 编辑(Edit...) 上展开子菜单,选择"重复(Duplicate)"。

复制/粘贴节点(Copy/paste nodes)¶
节点也可以通过复制/粘贴进行重复。以下方法允许您在同一代码工作簿或不同代码工作簿中创建单个节点或一组节点的副本,从而将内容从一个代码工作簿转移到另一个。
- 切换到屏幕右上角的"选择模式(Select mode)"。

-
通过点击并拖动鼠标框选所需节点来选择要复制的节点。您也可以在Mac上按住
Cmd键或在Windows上按住Ctrl键,依次点击每个节点。 -
右键单击选中的节点,选择 将X个节点复制到剪贴板(Copy X node to clipboard)。或者,您也可以使用键盘快捷键
Cmd+C(macOS) 或Ctrl+C(Windows) 复制节点。

- 在选择模式下,使用键盘快捷键
Cmd+V(macOS) 或Ctrl+V(Windows) 将节点粘贴到目标位置。