opto.trace.nodes.Node.detach

Contents

opto.trace.nodes.Node.detach#

Node.detach()[source]#

Create and return a deep copy of the current instance of the Node class.

Returns:

A deep copy of the current node.

Return type:

Node