- create_textual_operator(owner, name, path, visibility=VK.PUBLIC, symbol_file=None, state=False)#
Create an operator with a textual diagram.
The operator has a name.
- Parameters:
- owner
suite.Package
Owner of the operator, which is either the model itself or a package.
- name
str
Name of the operator.
- path
Path
, default:None
Path of the file for storing the operator. This parameter is optional if the packageβs owner is a package. When the path is
None
and owner is the model, the operator is stored in the modelβs default file.- visibility
VK
, default:PUBLIC
Accessibility of the operator.
- symbol_file
Path
, default:None
Path of the file defining the symbol of the operator.
- statebool, default:
False
Whether the operator is a node.
- owner
- Returns:
suite.Operator