02.10.2012 Views

5 Graph Description Language (GDL) - Absint

5 Graph Description Language (GDL) - Absint

5 Graph Description Language (GDL) - Absint

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.6.5 Combination of Features<br />

Figure 28: Example 11, tree layout, smanhattan_edges: yes<br />

The following example (see Figure 29) is taken from [GKNV93] and shows the dependencies of<br />

different shell programs. A combination of aiSee features has been used to visualize it. There is<br />

a time scale to indicate the origin of the programs. The shells themselves are nodes that have to<br />

be placed at the same rank as their birth dates. The level attribute is used to set the nodes at these<br />

positions. In addition, the time axis should be positioned at the left side of the shell dependence<br />

graph. This is achieved by the horizontal_order attribute at some of the nodes. However, this<br />

attribute doesn’t work unless the graph is connected, which is why three invisible edges are created.<br />

Like any other edges, invisible edges influence the positions of the nodes. They pull their adjacent<br />

nodes together. To avoid this effect on the invisible edges, the priority of the invisible edges is set to<br />

zero and the priority of the visible edges to 100. There are many ways to change the priority. The<br />

priority attribute can be set, and the factors layout_downfactor, layout_downfactor and layout_downfactor<br />

as well. The real priority of a downward edge is the product layout_downfactor<br />

x priority.<br />

The Bourne shell should be positioned to the left of the Mashey shell and the csh shell to the<br />

right of the Mashey shell. Therefore, the level two nodes receive a horizontal order. However, csh<br />

is on level three, and only its edge crosses level two. Therefore, the horizontal_order attribute is<br />

set for this edge as well. Now the edge is drawn to the right of the Mashey shell.<br />

Default attribute specifications are used for the height, width and border width of nodes and for<br />

62

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!