Visible area and coordinates

The graphical editor does not have any borders - there is virtually infinite canvas at your hands. However, when you run the model the presentation window of the fixed size is displayed, so that only some part of the presentation is shown there. So, it is important to understand, what gets into this visible area. 

Graphical editor has coordinates. When you work in the graphical editor, the current mouse coordinates are displayed in AnyLogic status bar (see the figure below).

When you open the graphical diagram, the axis origin (0, 0) is located by default in the upper left corner of the diagram. You can see dark grid lines indicating coordinate axes. Arrow at the end of the axis shows the axis direction - the direction of the coordinates growth. The X-axis is directed to the right, and the Y-axis is directed down (not up, please pay your attention!). The Z-axis is directed towards the viewer.

Axes define left and upper borders of the visible area of the diagram. The lower and right borders of the visible area are defined by the settings of the model frame and are shared between all agents and experiments of the model.

Agent type diagram opened in the graphical editor

In the case of large and complex models agents commonly contain a great amount of elements, and therefore it could be impossible to fit all these elements in the visible area of the presentation. AnyLogic offers a special element for solving this problem - view area. Using this element, you can mark out some particular areas on the diagram, containing some logically detached groups of elements or parts of the diagram. Once defined such view areas, you can easily switch between them at the model runtime using special navigation tools. This feature enables users to quickly navigate to some particular places of agent's diagram. Please refer here for more information on view areas.

Related topics

 Selecting shapes

 Copying, moving and deleting shapes

 Moving and zooming the diagram

 Diagram grid