Link Sub-Package

This set of interfaces is used to:

  • Mark links as consistent or inconsistent
  • Manage the position of an associated label

An inconsistent link indicates an exceptional condition, such as a link not properly connected to a transmitter or receiver port. A link can be marked as inconsistent using Ets_Nt_Link_Consistency_Repair() and the consistency state can be retrieved via Ets_Nt_Link_Consistency_Get(). Text can be associated with a inconsistent state with the Ets_Nt_Link_Consistency_Error_Msg_Set() call. The text information will appear in an edit pad if the user clicks on the link in the workspace. The content of the text can be retrieved using Ets_Nt_Link_Consistency_Error_Msg_Get().

If a label is associated with a link, its location can be set using Ets_Nt_Link_Label_Position_Set(). Similarly, Ets_Nt_Link_Label_Position_Get() is used to retrieve the current position of the center of the label (if any).