IBM® is a registered trademark of International Business Machines Corporation, Armonk, N.Y., U.S.A. Other names used herein may be registered trademarks, trademarks or product names of International Business Machines Corporation or their companies.
1. Technical Field
This invention relates generally to a graphical user interface and particularly to graphically editing and viewing hierarchical relationships.
2. Description of Background
Hierarchies in a graphical user interface (GUI) are often portrayed using textual models (e.g., in a directory listing or via a tree view). Graphical tools ordinarily handle general process flow and do not have support for hierarchical navigation. Current systems fail to address the problem of graphically editing and viewing hierarchical relationships in a GUI. Further, current systems fail to provide a means to navigate up and down a hierarchy, seeing which objects are parents or children of other objects, at any desired level. Current systems also fail to provide a means to modify existing hierarchies by inserting new objects and relationships, and deleting or changing existing objects and relationships. Therefore, there is a need for an intuitive and natural graphical user interface for viewing and editing the objects and relationships.
According to an exemplary embodiment, a method is provided for displaying and editing a hierarchy of object relationships. The method includes storing in a computer file space a plurality of data objects. The method identifies hierarchical relationships among the plurality of interrelated data objects, such that some objects may be dynamically defined as parent objects, which may each have at least one dynamically defined child data object. The method also includes assembling a plurality of parent data objects and a plurality of child data objects in a repository. The method provides a graphical user interface view pane for arranging one or more of the parent data objects and child data objects in a nodal tree-view, wherein any parent or child data object can be added or removed from view. The method allows the data objects to be modified by a process wherein a palette is provided that contains a collection of object and relationship types, from which new nodes and links can be added to the view pane in a drag and drop process. Further, a prosperities pane is provided for displaying the properties of at least one of a selected object, node and link. The method allows the user to navigate the hierarchy through parent data objects for displaying hierarchical relationships between parent objects and child objects and it also allows the user to navigate up the hierarchy through child objects for displaying and editing hierarchical relationships between parent objects and child objects. Selecting, dragging, dropping and linking objects shown in the view pane and selected from the palette can modify existing object relationships. Finally, the graphical user interface scales and re-adjusts the display in accordance with the user-modified objects relationships.
System and computer program products corresponding to the above-summarized method is also described and claimed herein.
Additional features and advantages are realized through the techniques of the exemplary embodiments described herein. Other embodiments and aspects are described in detail herein. For a better understanding of the exemplary embodiments of the invention with advantages and features, refer to the description and to the drawings.
The subject mater, which is regarded as an exemplary embodiment of the invention, is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
The detailed description explains exemplary embodiments, together with advantages and features, by way of example with reference to the drawings.
The embodiments disclosed herein describe a graphical user interface, which allows an end-user to navigate and edit a hierarchy of objects and relationships. The user can add or remove parent and children nodes to or from the view by simply clicking on a given node, allowing the hierarchy to be examined to any desired level of detail. The user can drag-and-drop nodes from a palette to add new nodes to the database. Similarly, the user can add new relationships by establishing a link between two nodes in the view. The user can delete objects or relationships by clicking on them. The user can modify object or relationships by clicking on them and changing their properties. The graphical user interface automatically scales and re-adjusts to accommodate the modified object relationships.
The embodiments disclosed herein address the problem of graphically editing and viewing hierarchical relationships. One embodiment disclosed herein is a lightweight, web-launchable application, which provides interactive visualization and editing of hierarchical relationships. The exemplary embodiments allow a user to see generations of parents and children of a given object in the hierarchy. The user controls the degree of expansion and contraction of each level/object. The GUI adjusts and resizes according to the degree of expansion and contraction. Given a database of objects and dependency relationships between them, it is important to provide an intuitive and natural graphical user interface for viewing and editing the objects and relationships. The exemplary embodiments allow a user to navigate and modify complex relationships between objects.
Turning now to the drawings in greater detail, it will be seen that
In an exemplary embodiment,
In an exemplary embodiment,
In an exemplary embodiment, as objects and nodes are added and removed from the View pane 110, the hierarchical GUI 90 automatically adjusts and resizes the window. Therefore, the window can grow and contract as the need arises. However, the view may become too crowded.
In an exemplary embodiment,
In an exemplary embodiment,
In an exemplary embodiment,
Thus, the exemplary embodiments disclosed herein a graphical user interface, which allows an end-user to navigate and edit a hierarchy of objects and relationships. The user can add or remove parent and children nodes to or from the view by simply clicking on a given node, allowing the hierarchy to be examined to any desired level or detail. The user can drag-and-drop nodes from a palette to add new nodes to the database. Similarly, the user can add new relationships by establishing a link between two nodes in the view. The user can delete objects or relationships by clicking on them. The user can modify objects or relationships by clicking on them and changing their properties. The graphical user interface automatically scales and re-adjusts to accommodate the modified object relationships.
The capabilities of the embodiments descried herein can be implemented in software, firmware, hardware or some combination thereof.
As one example, one or more aspects of embodiments can be included in an article of manufacture (e.g., one or more computer program products) having, for instance, computer usable media. The media has embodied therein, for instance, computer readable program code means for providing and facilitating the capabilities of the present invention. The article of manufacture can be included as a part of a computer system or sold separately.
Additionally, at least one program storage device readable by a machine, tangibly embodying at least one program of instructions executable by the machine to perform the capabilities of the present invention can be provided.
The diagrams depicted herein are just examples. There may be many variations to these diagrams or the steps (or operations) described therein without departing from the spirit of the invention. For instance, the steps may be performed in a differing order, or steps may be added, deleted or modified. All of these variations are considered a part of embodiments of the claimed invention.
While exemplary embodiments have been described, it will be understood that those skilled in the art, both now and in the future, may make various improvements and enhancements which fall within the scope of the claims which follow. These claims should be construed to maintain the proper protection for the invention first described.