Download fulltext - DiVA Portal
Transcript
implements several sophisticated 2D layout algorithms which automatically arrange the elements of a graph. It also supports the user in the process of creating layouts manually. The other graph drawing tool is VIZZ3D [22] which was originally developed as a component for the VIZZANALYZER but is now also available as a stand-alone tool. Similar to the VIZZANALYZER, VIZZ3D is a reusable framework as well. This gives the user the advantage of reusing all binding functions, metaphors, and layout algorithms. As it is also possible to online-configure visualizations, the appropriate views can be created on demand, making the software analysis process more interactive and iterative. The VIZZ3D framework offers three variation points: binding functions, layouts, and metaphors. Mapping view graphs and their properties to scene graphs is the task of binding functions, which work in the same way as the model bindings of VIZZANALYZER, using online configurable XML files. Layout algorithms are used to arrange the graph elements on the screen by assigning position properties to the nodes of the scene graph. Metaphors could be described as sets of visual objects fitting together in a certain scene or even entities that characterize the environment of the visualization, such as a background image, light sources, or fog. In the example above, a city metaphor could be applied to the class hierarchy graph, displaying nodes as houses and edges as streets. Additionally, the metaphor could display a sky as a background image and a ground on which the virtual city is built on. A hierarchical layout algorithm could be applied to calculate the position of the nodes inside the scene. The binding functions would again transform the properties of the view graph into new properties of the scene graph, such as House Type, House Size, and House Texture. Finally, the user would be able to navigate through the city which actually represents the system under consideration. As a matter of course, the user could choose a less sophisticated metaphor which presents the results of the analyses in a more scientific way; e.g., as a diagram. 2.2.2 Common Data Representation The VIZZANALYZER framework allows end users to combine and integrate various analysis and visualization tools. As these tools are usually developed independently from each other a mechanism to exchange information has to be provided. Therefore, a common data representation that is general enough to support a variety of data is required. It must be possible to represent the required input and output formats of each tool as an instance of this data structure. Furthermore, a type system is necessary to determine whether a given analysis or visualization is applicable or not [13]. Figure 2.3: Connection between external tools and the framework [13] To solve these problems the VIZZANALYZER uses annotated graphs where each graph entity (nodes, edges, and the graph itself) has a data object and a set of predicates attached to it. Annotated graphs are general enough to represent almost any kind of data. Another advantage of this data structure is the fact that many frequently used program representations, such as UML diagrams, class hierarchies, or call graphs, can be consi10