The Diagram Editor
Text Editor Synchronization
Like the Icon Editor, the Diagram Editor is synchronized with the Text Editor. Any modification made through the Diagram Editor is reflected in the Text Editor, and vice-versa.
For example, if you add a component in the Diagram Editor, a component instantiation statement will be added automatically in the Text Editor. Adding a connection between two components will add a connect statement in the Text Editor, and an annotation containing the line points. Adding a connect statement in the Text Editor will add a graphical connection between the components (a line with automatically-generated points).
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Modelica_Editor/Text_Editor_Synchronization · retrieved 2026-07-17