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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.1.3 Example<br />

Figure 7 shows a nested graph in different grouping and folding stages. This graph consists of<br />

five subgraphs: <strong>Graph</strong> A to <strong>Graph</strong> E. <strong>Graph</strong> B and C are subgraphs of <strong>Graph</strong> A. <strong>Graph</strong> E is a<br />

subgraph of <strong>Graph</strong> D.<br />

1. All graphs are clustered. In this case it is not possible to choose a different layout for subgraphs.<br />

2. All graphs are boxed. Boxed graphs are drawn in independent frames. Edges between nodes<br />

in different frames are substituted by edges between frames. For example, edge I–>M is<br />

represented by the substitute edge <strong>Graph</strong> C–>M and edge L–><strong>Graph</strong> E is represented by<br />

substitute edge <strong>Graph</strong> A–><strong>Graph</strong> D.<br />

Note: Different layout algorithms or layout parameters can be chosen within boxes. For<br />

example, graph B is drawn in a force-directed layout, graph C in a tree layout with a top<br />

down orientation and graph E right-left-oriented.<br />

3. The frames of graphs B, C, and E are now folded. Nodes inside these frames, i. e. the nodes<br />

of the corresponding subgraphs, disappear.<br />

4. The frames of graphs A and D are unfolded and the formerly substituted edges are shown.<br />

Edge <strong>Graph</strong> C–>N is represented by the substitute edge <strong>Graph</strong> C–><strong>Graph</strong> E, since N is<br />

a node of the folded graph E.<br />

5. The summary nodes of graphs B, C, and E are unfolded. No frames and summary nodes any<br />

longer exist in this rendering. Therefore edges like <strong>Graph</strong> E–>N are substituted. Substituted<br />

edges are introduced that start/end at the root node of a frame/subgraph. For example, edge<br />

<strong>Graph</strong> E–>N is now represented by the substitute edge F–>N since F is the root node of<br />

graph C.<br />

6. <strong>Graph</strong>s A and D are boxed again, but graphs B, C, and E remain unfolded.<br />

7. <strong>Graph</strong>s B, C, and E are wrapped. This operation doesn’t change the layout.<br />

25

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

Saved successfully!

Ooh no, something went wrong!