Therefore, in displaying and viewing large relational diagrams, if connected objects are not within the visible viewing area of a display window, it becomes difficult to identify items or objects that are connected by a connector or a link (relationship) in the relational diagram. If a user desires to view objects that are connected by a connector (link), the user is required to move the scroll bar such that the desired object is shown in the view area. A distinct disadvantage is in the case of relatively large diagrams, where it can be difficult to identify the right connector to navigate/follow in the diagram, etc. This is especially the case when no names or labels are associated with the connector. Therefore a need exists to ameliorate one of more of the above mentioned disadvantages.
According to an aspect of the invention, there is provided a method for displaying a relational diagram on a display, wherein at least one view of the relational diagram is larger than an available viewing area provided by the display. The method comprises detecting a predetermined action performed on a first element of the relational diagram; determining one or more relevant elements associated with the first element; and modifying a view of the relational diagram to display the first element and the one or more relevant elements on the display.