ansys.scade.apitools.create.data_def.add_data_def_net_diagram#

ansys.scade.apitools.create.data_def.add_data_def_net_diagram(data_def: scade.model.suite.DataDef, name: str) scade.model.suite.NetDiagram#

Add a graphical diagram to a scope.

Parameters:
data_defsuite.DataDef

Input scope, which is an operator, state, or action.

namestr

Name of the diagram.

Returns:
suite.NetDiagram