<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Examining the Compactness of Automatically Generated Layouts for Practical Diagrams</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Carsten</forename><surname>Gutwenger</surname></persName>
							<email>carsten.gutwenger@tu-dortmund.de</email>
							<affiliation key="aff0">
								<orgName type="institution">Technische Universität Dortmund</orgName>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Ulf</forename><surname>Rüegg</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution">Christian-Albrechts-Universität zu Kiel</orgName>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Miro</forename><surname>Spönemann</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution">Christian-Albrechts-Universität zu Kiel</orgName>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Reinhard</forename><surname>Von Hanxleden</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution">Christian-Albrechts-Universität zu Kiel</orgName>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Petra</forename><surname>Mutzel</surname></persName>
							<email>petra.mutzel@tu-dortmund.de</email>
							<affiliation key="aff0">
								<orgName type="institution">Technische Universität Dortmund</orgName>
							</affiliation>
						</author>
						<title level="a" type="main">Examining the Compactness of Automatically Generated Layouts for Practical Diagrams</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">1040EFC522D9BBE718BAAD6D1BE5DCAE</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-19T15:47+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Graph drawing algorithms have important practical applications, e. g. layer-based algorithms for data flow diagram layout in embedded software design and planarization-based algorithms to layout UML diagrams in software engineering. Most current drawing methods focus on the optimization of aesthetic criteria such as the number of edge crossings and bends. The aspects of compactness and aspect ratio are often treated with lower priority, but in practice these are important as well. We present computational experiments showing that compactness can become a problem, especially for large and nested diagrams. Furthermore, we discuss possible new research directions.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>In the context of graph-based diagrams, automatic layout algorithms are a common tool to free developers from the time-consuming task of manually arranging nodes and links on a canvas. Different kinds of diagrams may have domain-specific requirements on the arrangement of the elements. For data flow diagrams, layer-based methods have proven themselves to work well <ref type="bibr" target="#b17">[18]</ref>, whereas for UML class diagrams planarization-based methods yield more suitable results <ref type="bibr" target="#b5">[6]</ref>.</p><p>With diagrams used in practice, however, we found that the drawings created with these methods often lack compactness. Consider Fig. <ref type="figure" target="#fig_0">1</ref>, a data flow diagram from an industrial application <ref type="bibr" target="#b7">[8]</ref> that models the control unit of a car engine. The original size of the diagram is 25 179 × 11 035 pixels. Using modern monitors with a resolution of 1 920 × 1 080 pixels, this means that 134 monitors would be required to display the diagram with its intended size (neglecting the correct aspect ratio). In other words, less than 1 % of the diagram can be shown on a standard monitor with the original 1:1 scale. Even though for most tasks that are conducted by engineers only parts of the diagram are relevant and sophisticated filtering methods can help to reduce the presented information, this example demonstrates that readability can be severely compromised by poor usage of screen area. Contributions. In this paper, we review existing research on the compactness of graph drawings, present results of experimental evaluations with practical diagrams, and discuss new ideas for future research. Summarizing the results of our experiments, we made the following observations: (O1) Aspect Ratio. Layer-based algorithms yield bad aspect ratios for certain diagrams, especially for diagrams with long directed paths. (O2) Whitespace of Compound Diagrams. For diagrams containing compound nodes, i. e. nodes that contain nested subgraphs, the amount of whitespace increases with the number of compound nodes when using layer-based algorithms. (O3) Whitespace and Planarization Methods. While planarization-based methods produce drawings with few edge crossings, for certain diagrams the amount of whitespace can increase drastically.</p><p>Outline. We define different aspects of compactness in Sect. 2 and discuss existing work on improving the compactness of diagrams in Sect. 3. Sect. 4 presents two experiments that quantify the fraction of diagrams that lack certain criteria of compactness. We conclude with possible future research directions in Sect. 5.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Definition of Compactness</head><p>We define the width w of a diagram as the difference between the largest and the smallest x-coordinate of any element in the drawing; the height h is defined analogously using y-coordinates. Traditionally, compactness has been understood as the goal to minimize the area w • h, or to minimize w or h independently (cf. the optimization goals for orthogonal compaction discussed in <ref type="bibr" target="#b14">[15,</ref><ref type="bibr">Chapter 4]</ref>). A difficulty with this definition is that it does not allow an absolute rating of a drawing, since it is not known how much area is required for a good drawing of a particular graph. Here we consider two other aspects of compactness that are easier to assess, namely the aspect ratio and the whitespace ratio.</p><p>Aspect ratio. The aspect ratio of a drawing is r = w/h. An ideal aspect ratio matches the used display medium. For monitors this depends on the resolution, and is typically between 1.33 and 1.78. Often diagrams are printed to a sheet of paper, which has an aspect ratio of 1.41 (ISO 216 format). As drawings with aspect ratios outside, yet close to, these values are fine, we assume in the following that all aspect ratios r in the range 1 ≤ r ≤ 2 are acceptable.</p><p>Whitespace. The whitespace of a drawing is the area that remains unused. We measure the whitespace by literally painting the rectangular bounding box of all nodes onto a black-and-white canvas. Every node's bounding box includes possible labels and ports that are located outside the actual node. Additionally, layout algorithms can be configured with a parameter s controlling the minimal spacing between any two nodes. We extend the bounding box in all directions by the value s. The whitespace value is the ratio of the number of pixels that are left white to the total number of pixels in the canvas.</p><p>Edges are neglected as we feel that including them in the black-and-white drawing would bias the result: long edges would lead to larger areas that are drawn in black and thus reduce the whitespace, contradicting the aesthetic criterion of minimizing edge length. For a similar reason, we omit compound nodes in the whitespace evaluation, since their size is adapted to the bounding box of their nested subgraph.</p><p>We are not aware of any studies evaluating how much whitespace is necessary or helpful to conceive a diagram optimally. Certainly some whitespace is necessary in order to emphasize certain structures such as grouping of nodes. In the future a quantification would be desirable. Furthermore, our results encourage a metric that takes more factors into account, such as edges. Following our definition, graphs with higher edge density typically yield higher amounts of whitespace, hence the comparison of results for different graphs is problematic.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Previous Work on Compactness</head><p>Layer-based algorithms. Layer-based methods are the standard approach for drawing directed graphs. It consists of the following steps:</p><p>1. Cycle removal: Eliminate cycles by reversing a small subset of edges. 2. Layer assignment: Assign all nodes to layers such that edges point from layers of lower index to layers of higher index. 3. Crossing reduction: Find an ordering of the nodes in each layer with the aim of reducing the overall number of crossings. 4. Coordinate assignment: Determine node coordinates and replace dummy nodes by bend points.</p><p>A very common optimization goal for layer assignment is to minimize the sum of layer differences of source and target nodes for all edges. While this can be solved efficiently <ref type="bibr" target="#b9">[10]</ref>, it does not solve the compactness problems described above. Compactness has been addressed with regard to the number of layers and the maximal number of nodes per layer <ref type="bibr" target="#b10">[11,</ref><ref type="bibr" target="#b16">17,</ref><ref type="bibr" target="#b0">1]</ref>, which is often called the width of the layering. Further approaches target a given aspect-ratio <ref type="bibr" target="#b15">[16]</ref> or distributed large nodes over several layers <ref type="bibr" target="#b8">[9]</ref>.</p><p>Planarization-based algorithms. The topology-shape-metrics approach consists of the following three phases:</p><p>1. Planarization: Remove edges until the graph is planar, then reinsert each removed edge with a minimal number of crossings. 2. Orthogonalization: Compute a bend-minimal edge routing that consists of horizontal and vertical line segments. 3. Compaction: Find a valid assignment of node and bend point coordinates such that the total length of line segments is minimized.</p><p>The simplest approach for one-dimensional compaction is based on longest paths and guarantees a minimal width or height of the drawing, but does not guarantee that the sum of the edge lengths is minimal. The latter can be achieved using flow-based compaction. However, both methods require that the orthogonal representation has only rectangular faces; this can be achieved by adding additional edges (dissection) but limits the amount of freedom for compaction. An alternative approach is based on turn-regularity <ref type="bibr" target="#b3">[4]</ref>, which does not require rectangular faces. An experimental comparison of these methods is presented in <ref type="bibr" target="#b12">[13]</ref>. Due to their nature of only considering one dimension, none of these methods considers the aspect ratio of the resulting drawing. For two-dimensional compaction, the drawing is iteratively compacted in x-and then in y-direction, until no more improvement can be achieved. However, the resulting solutions can be far away from an optimal solution for the two-dimensional compaction problem. On the other hand, Klau and Mutzel <ref type="bibr" target="#b13">[14]</ref> describe an ILP-based optimal algorithm for two-dimensional compaction, which can minimize the sum of the edge lengths or the sum of width and height of the drawing. Moreover, Eiglsperger and Kaufmann <ref type="bibr" target="#b6">[7]</ref> present a linear-time compaction heuristic. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Experiments</head><p>We present experiments based on two classes of diagrams used in practice and a set of graphs that are often used for evaluating graph drawing methods. We analyze the aspect ratio and the amount of whitespace of the created drawings, showing that our observations discussed in Sect. 1 hold for a considerable portion of diagrams.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Ptolemy data flow diagrams.</head><p>Ptolemy is an open source project that ships with a number of example data flow models for testing and demonstration. <ref type="foot" target="#foot_0">3</ref> The diagrams can be nested with compound actors, which are composed of further actors to describe subsystems; see Fig. <ref type="figure">2</ref> for an example where the Producer compound actor is expanded, i. e. its internals are made visible, and the Consumer compound actor is collapsed. All other actors are atomic actors, i. e. do not contain children.</p><p>For our evaluations we use three variations of these models. First, we flatten all compound actors, i. e. all contained atomic actors are recursively moved to the highest hierarchy level and the compound actors are eliminated. Second, we display all atomic actors within their parent compound actors. Third, we start with collapsed compound actors and successively expand them, obtaining different views for each diagram. To illustrate this, Fig. <ref type="figure">2</ref> shows one expanded compound actor, Producer. Expanding the Consumer actor would yield another view where the content of both compound actors is visible. Overall we evaluated 330 flattened diagrams, 199 diagrams with full hierarchy containing at least 2 compound nodes, and 11 successively expanded diagrams. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Class diagrams.</head><p>KIELER is an open source project written in Java with over 1.4 million lines of code. <ref type="foot" target="#foot_1">4</ref> We created eight class diagrams of several subprojects, e. g. KIML, KLighD, and SCL. The diagrams contain 20 to 55 nodes and 27 to 75 edges. We use two variations of the class diagrams, one where the details of classes and interfaces are visible and one where they are hidden, see Fig. <ref type="figure" target="#fig_1">3</ref>.</p><p>North graphs (a. k. a. AT&amp;T graphs). The library is widely used in the graph drawing community and serves as an application-independent benchmark <ref type="bibr" target="#b4">[5]</ref>.</p><p>We assigned a size of (30, 30) to each node for the whitespace evaluation. We evaluated 1276 graphs with 10 to 100 nodes and 9 to 241 edges. We processed the North graphs with the Dot algorithm of the Graphviz library <ref type="bibr" target="#b9">[10]</ref> and the KLay Layered algorithm of KIELER <ref type="bibr" target="#b17">[18]</ref>. The data flow diagrams have been drawn using KLay Layered only, which is specialized for handling ports. The Planarization algorithm of the OGDF library <ref type="bibr" target="#b5">[6]</ref> has been used for the class diagrams.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Results</head><p>(O1) Aspect ratio. Table <ref type="table" target="#tab_1">1</ref> gives an overview of the resulting aspect ratios of drawn diagrams; it can be seen that for every class of graphs less than 50 % of the drawings have an acceptable aspect ratio.</p><p>The results for the flattened Ptolemy graphs and the North graphs are also shown in more detail in Fig. <ref type="figure" target="#fig_2">4</ref>. Each bar accumulates the number of graphs with an aspect ratio within an interval of size 0.5, specified by the values left and right of the respective bar. The four marked bars depict the desired interval 1 ≤ r ≤ 2 of the aspect ratio r, and the right-most interval contains all graphs with r &gt; 9.5. Only about 36 % (Ptolemy graphs) and 30 % (North graphs) have an aspect ratio in the desired interval. While the drawings with aspect ratio below 1 (presuming left-to-right layout) can be improved with alternative layer assignment methods discussed in Sect. 3, no current methods can handle the remaining 40 % and 18 % with an aspect ratio above 2 because the minimal number of layers is determined by the longest paths of these graphs (see Sect. 5).  (O2) Whitespace of compound diagrams. Table <ref type="table" target="#tab_2">2</ref> shows the average amount of whitespace of the successively expanded Ptolemy diagrams. It can be seen that the amount of whitespace grows continuously with an increasing number of expanded compound nodes. Diagrams with more than nine compound nodes reach up to 97 % whitespace. Better methods have to be found to reduce the unused space for diagrams containing compound nodes (such as in Fig. <ref type="figure" target="#fig_0">1</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Examining the Compactness of Automatic Layout Algorithms</head><p>(O3) Whitespace and planarization methods. The amount of whitespace of the eight class diagrams after applying the planarization-based layout can be seen in Table <ref type="table">3</ref>. The same average value of about 72 % can be observed for both types of diagrams, the ones with hidden and with visible details. We found that the specified spacing around nodes has no significant impact on the relative amount of whitespace. The results in Table <ref type="table">3</ref> originate from a spacing value of 50. Spacing values of 20 or 90 yield similar whitespace ratios of 70 − 73 %.</p><p>We applied the force-based FDP algorithm of Graphviz in addition to the planarization-based method for a comparison. The algorithm was configured to produce drawings as compact as possible while remaining legible. This setup yields 18 % whitespace on average. While we believe that the planarizationbased drawings are more comprehensible because they produce fewer crossings, we conclude that there are layout algorithms producing drawings with less than a third of the whitespace when relaxing the goal to minimize edge crossings. In terms of area, the examined class diagrams require an average of 5.3 monitors when using planarization-based method, whereas all but three diagrams would fit on a single monitor using force-directed methods (0.7 on average).</p><p>Table <ref type="table">3</ref>. Amount of whitespace per class diagram. The "plain" row refers to classes shown without any methods, and "detailed" to classes with visible methods. The first two rows are results of a planarization-based layout algorithm, the last row results from the FDP algorithm of Graphviz with overlap mode set to COMPACT. For all results a spacing of 50 was specified. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Open Problems</head><p>We present four directions for future research: minimization of longest paths and improved layer assignment for the layer based approach, and partial orthogonalization and graph decomposition for the topology-shape-metrics approach.</p><p>1. Longest paths. The minimal number of layers for an acyclic graph is determined by its longest path, since all nodes of a path have to be assigned to different layers. Hence the longest path limits the freedom of layer assignment algorithms regarding their goal of finding a layering that allows a compact drawing. This fact has been neglected in previous approaches to cycle elimination, which only address the number of reversed edges <ref type="bibr" target="#b11">[12]</ref>. We propose to generalize the edge reversal phase such that it targets two optimization goals: Minimize the number of reversed edges and minimize the length of the longest path. An important question is how to balance the two optimization goals. Ideally, this balancing should be controllable with a parameter, allowing to adapt the drawings to the needs of individual applications.</p><p>A possible heuristic for the generalized edge reversal problem is to separate the two goals: first make the graph acyclic using a standard method <ref type="bibr" target="#b11">[12]</ref>, then shorten the longest path by reversing additional edges. For acyclic graphs a longest path can be found in linear time. As a first experiment, we simply reverse the middle edge of each longest path, if that does not introduce new cycles. An example is shown in Fig. <ref type="figure">5</ref>(a) and (b). We evaluated this approach using 180 Ptolemy diagrams and found that the aspect ratio of 76 diagrams with original aspect ratios above 2 decreased on average by a factor of 0.59. For none of the tested diagrams the aspect ratio is reduced below 1. The results include improvements from 8.1 to 3.1 and from 6.0 to 1.9.</p><p>2. Layer assignment. In the example in Fig. <ref type="figure">5</ref>(b) it can be observed that reducing the number of layers can lead to a higher number of edge crossings. It is an open problem how to address this in the layer assignment phase. Furthermore, the aspect ratio of the layering shall be optimized, which can be defined as follows. Given a layer assignment V 1 , . . . , V k with k layers and n max = max{|V i | : 1 ≤ i ≤ k}, the predicted aspect ratio is k/n max for left-to-right layout and n max /k for top-to-bottom layout. For drawings with large nodes it may be appropriate to consider the nodes' dimensions in this prediction. Another possible extension is to solve the edge reversal problem as part of the layer assignment process. This would allow more effective choices of which edges to reverse such that compact drawings are possible.</p><p>3. Partial orthogonalization. We propose to temporarily remove a subset of the edges from the topology-shape-metrics approach and reinsert them in a postprocessing step using existing routing methods such as the algorithm of Wybrow et al. <ref type="bibr" target="#b18">[19]</ref>. An example is shown in Fig. <ref type="figure">5</ref>(b) and (c).</p><p>-Edge removal during planarization. Edges with many crossings introduce many dummy nodes, potentially increasing the size of the drawing. Instead of inserting such edges during planarization, they could be removed. -Edge removal during orthogonalization. Edges with many bend points require additional space in the compaction phase. A possible heuristic is to compute an orthogonal representation, remove edges with too many bend points, and then repeat the process iteratively.</p><p>4. Graph decomposition. Decomposing graphs and processing the components with force-based drawing methods is known from multi-level approaches <ref type="bibr" target="#b2">[3]</ref>. Archambault et al. extended this idea to also consider other layout methods such as tree layouts and circular layouts <ref type="bibr" target="#b1">[2]</ref>. The topology-shape-metrics method, however, has not been considered for graph decomposition yet. By putting together separately processed components, more detailed control on the area and aspect ratio of the composed drawing could be obtained.</p><p>-Trees. We remove subgraphs which are free trees from the input graph, so we get one core graph plus a collection of tree subgraphs. There are many options for drawing trees, and this freedom can be exploited to optimize compactness, e. g. the face into which to embed a tree can be freely chosen. -Biconnected components. Another possibility is to use the decomposition of the graph into its biconnected components. We can use a similar approach as for trees, identifying a large core graph and cutting out some subgraphs which are only connected at cut vertices. A more complex variant would be to use this approach recursively, i. e. for each removed subgraph we can again cut out subgraphs connected at cut vertices.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Fig. 1 .</head><label>1</label><figDesc>Fig. 1. A practical data flow diagram modeling the control unit of a car engine. The diagram is scaled to less than 2.5 % of its original size. More than 90 % of the diagram's area is unused.</figDesc><graphic coords="2,134.77,116.83,345.83,151.47" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Fig. 3 .</head><label>3</label><figDesc>Fig. 3. A UML class diagram drawn with the approach of Eiglsperger et al. [6]. While the methods of the KLabel interface are visible, they are hidden for all other interfaces and classes.</figDesc><graphic coords="5,134.77,116.84,345.81,149.79" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Fig. 4 .</head><label>4</label><figDesc>Fig.<ref type="bibr" target="#b3">4</ref>. Detailed aspect ratios of flattened Ptolemy graphs (light-gray) and North graphs (dark-gray) drawn with the KLay Layered (cf. Table1 rows 1 and 5).</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>( a )Fig. 5 .</head><label>a5</label><figDesc>Fig.5. Improving the compactness of drawings. Layer-based: (a) and (b) depict how by reversing additional edges, the longest path in an acyclic graph can be shortened, allowing a better aspect ratio. Planarization-based: Two orthogonal drawings of the same graph. The drawing (c) has been produced by removing 8 edges from the graph, applying a topology-shape-metrics layout, and reinserting the missing edges manually. By this we obtain 20 additional edge crossings compared to (d), but only 58% of the drawing area.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_0"><head></head><label></label><figDesc>A Ptolemy data flow diagram drawn with the methods of Schulze et al.<ref type="bibr" target="#b17">[18]</ref>. Producer and Consumer are compound actors, where only the content of Producer is visible. All other nodes are atomic actors.</figDesc><table><row><cell>Producer</cell><cell></cell><cell>Consumer</cell></row><row><cell>Ramp2</cell><cell>LongToDouble</cell></row><row><cell></cell><cell>Ramp</cell></row><row><cell></cell><cell>Expression</cell><cell>XYPlotter</cell></row><row><cell></cell><cell>in/1000</cell></row><row><cell></cell><cell>VariableSleep</cell><cell>FrontDropQueue</cell></row><row><cell>randonTime2t1</cell><cell></cell></row><row><cell></cell><cell></cell><cell>Counter</cell><cell>Dropped</cell></row><row><cell>Fig. 2.</cell><cell></cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_1"><head>Table 1 .</head><label>1</label><figDesc>Percentages of Ptolemy diagrams drawn with certain aspect ratios. For each listed variation, an extra row contains the results for graphs with more than 20 nodes.</figDesc><table><row><cell>Aspect Ratio Intervals</cell><cell></cell><cell>(0, 1)</cell><cell>[1, 2]</cell><cell>(2, ∞)</cell></row><row><cell></cell><cell>Flattened Graphs</cell><cell>24 %</cell><cell>36 %</cell><cell>40 %</cell></row><row><cell>Ptolemy</cell><cell>&gt; 20 Nodes</cell><cell>41 %</cell><cell>37 %</cell><cell>22 %</cell></row><row><cell></cell><cell>Compound Graphs</cell><cell>26 %</cell><cell>44 %</cell><cell>30 %</cell></row><row><cell></cell><cell>&gt; 20 Nodes</cell><cell>32 %</cell><cell>40 %</cell><cell>28 %</cell></row><row><cell></cell><cell>Klay Layered</cell><cell>52 %</cell><cell>30 %</cell><cell>18 %</cell></row><row><cell>North Graphs</cell><cell>&gt; 20 Nodes</cell><cell>63 %</cell><cell>23 %</cell><cell>14 %</cell></row><row><cell></cell><cell>Graphviz Dot</cell><cell>60 %</cell><cell>23 %</cell><cell>17 %</cell></row><row><cell></cell><cell>&gt; 20 Nodes</cell><cell>70 %</cell><cell>16 %</cell><cell>14 %</cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_2"><head>Table 2 .</head><label>2</label><figDesc>Table 1 rows 1 and 5). Percentage of whitespace per total area of a drawn diagram and the increase incurred at each expansion. Figures are the average of 11 nested diagrams with 9 or more compound actors.</figDesc><table><row><cell>Expanded Compound Nodes</cell><cell>1</cell><cell>2</cell><cell>3</cell><cell>4</cell><cell>5</cell><cell>6</cell><cell>7</cell><cell>8</cell><cell>9</cell></row><row><cell>Avg. Whitespace</cell><cell cols="9">71.8 80.4 85.1 87.5 87.8 89.9 91.1 91.2 91.8</cell></row><row><cell>Avg. Increase</cell><cell>-</cell><cell>8.6</cell><cell>4.7</cell><cell>2.4</cell><cell>0.3</cell><cell>2.1</cell><cell>1.2</cell><cell>0.2</cell><cell>0.5</cell></row></table></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_0">http://ptolemy.eecs.berkeley.edu</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_1">http://www.ohloh.net/p/kieler</note>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Applying ant colony optimization metaheuristic to the DAG layering problem</title>
		<author>
			<persName><forename type="first">R</forename><surname>Andreev</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Healy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">S</forename><surname>Nikolov</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Parallel and tributed Processing Symposium (IPDPS&apos;07</title>
				<meeting>the Parallel and tributed Processing Symposium (IPDPS&apos;07</meeting>
		<imprint>
			<date type="published" when="2007">2007</date>
			<biblScope unit="page" from="1" to="9" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Topolayout: Multilevel graph layout by topological features</title>
		<author>
			<persName><forename type="first">D</forename><surname>Archambault</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Munzner</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Auber</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">IEEE Transactions on Visualization and Computer Graphics</title>
		<imprint>
			<biblScope unit="volume">13</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="305" to="317" />
			<date type="published" when="2007">2007</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">An experimental evaluation of multilevel layout methods</title>
		<author>
			<persName><forename type="first">G</forename><surname>Bartel</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Gutwenger</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Klein</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Mutzel</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 18th International Symposium on Graph Drawing (GD&apos;10)</title>
				<meeting>the 18th International Symposium on Graph Drawing (GD&apos;10)</meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2011">2011</date>
			<biblScope unit="volume">6502</biblScope>
			<biblScope unit="page" from="80" to="91" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Turn-regularity and optimal area drawings of orthogonal representations</title>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">S</forename><surname>Bridgeman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Di Battista</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Didimo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Liotta</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Tamassia</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Vismara</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Computational Geometry</title>
		<imprint>
			<biblScope unit="volume">16</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="53" to="93" />
			<date type="published" when="2000">2000</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Drawing directed acyclic graphs: An experimental study</title>
		<author>
			<persName><forename type="first">G</forename><surname>Di Battista</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Garg</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Liotta</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Parise</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Tamassia</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Tassinari</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Vargiu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Vismara</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Symposium on Graph Drawing (GD&apos;96)</title>
				<meeting>the Symposium on Graph Drawing (GD&apos;96)</meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="1997">1997</date>
			<biblScope unit="volume">1190</biblScope>
			<biblScope unit="page" from="76" to="91" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Automatic layout of UML class diagrams in orthogonal style</title>
		<author>
			<persName><forename type="first">M</forename><surname>Eiglsperger</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Gutwenger</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Kaufmann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Kupke</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Jünger</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Leipert</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Klein</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Mutzel</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Siebenhaller</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Information Visualization</title>
		<imprint>
			<biblScope unit="volume">3</biblScope>
			<biblScope unit="issue">3</biblScope>
			<biblScope unit="page" from="189" to="208" />
			<date type="published" when="2004">2004</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Fast compaction for orthogonal drawings with vertices of prescribed size</title>
		<author>
			<persName><forename type="first">M</forename><surname>Eiglsperger</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Kaufmann</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 9th International Symposium on Graph Drawing (GD&apos;01)</title>
				<meeting>the 9th International Symposium on Graph Drawing (GD&apos;01)</meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2002">2002</date>
			<biblScope unit="volume">2265</biblScope>
			<biblScope unit="page" from="124" to="138" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Efficient exploration of complex data flow models</title>
		<author>
			<persName><forename type="first">P</forename><surname>Frey</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Von Hanxleden</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Krüger</surname></persName>
		</author>
		<author>
			<persName><forename type="first">U</forename><surname>Rüegg</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Schneider</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Spönemann</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of Modellierung 2014</title>
				<meeting>Modellierung 2014<address><addrLine>Vienna, Austria</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2014-03">Mar 2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Flexible layering in hierarchical drawings with nodes of arbitrary size</title>
		<author>
			<persName><forename type="first">C</forename><surname>Friedrich</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Schreiber</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 27th Australasian Conference on Computer Science (ACSC&apos;04)</title>
				<meeting>the 27th Australasian Conference on Computer Science (ACSC&apos;04)</meeting>
		<imprint>
			<publisher>Australian Computer Society, Inc</publisher>
			<date type="published" when="2004">2004</date>
			<biblScope unit="page" from="369" to="376" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">A technique for drawing directed graphs</title>
		<author>
			<persName><forename type="first">E</forename><forename type="middle">R</forename><surname>Gansner</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Koutsofios</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">C</forename><surname>North</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><forename type="middle">P</forename><surname>Vo</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Software Engineering</title>
		<imprint>
			<biblScope unit="volume">19</biblScope>
			<biblScope unit="issue">3</biblScope>
			<biblScope unit="page" from="214" to="230" />
			<date type="published" when="1993">1993</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">How to layer a directed acyclic graph</title>
		<author>
			<persName><forename type="first">P</forename><surname>Healy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">S</forename><surname>Nikolov</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 9th International Symposium on Graph Drawing (GD&apos;01)</title>
				<meeting>the 9th International Symposium on Graph Drawing (GD&apos;01)</meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2002">2002</date>
			<biblScope unit="volume">2265</biblScope>
			<biblScope unit="page" from="563" to="566" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Hierarchical drawing algorithms</title>
		<author>
			<persName><forename type="first">P</forename><surname>Healy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">S</forename><surname>Nikolov</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Handbook of Graph Drawing and Visualization</title>
				<editor>
			<persName><forename type="first">R</forename><surname>Tamassia</surname></persName>
		</editor>
		<imprint>
			<publisher>CRC Press</publisher>
			<date type="published" when="2013">2013</date>
			<biblScope unit="page" from="409" to="453" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<analytic>
		<title level="a" type="main">An experimental comparison of orthogonal compaction algorithms</title>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">W</forename><surname>Klau</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Klein</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Mutzel</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 8th International Symposium on Graph Drawing (GD&apos;00)</title>
				<meeting>the 8th International Symposium on Graph Drawing (GD&apos;00)</meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2001">2001</date>
			<biblScope unit="volume">1984</biblScope>
			<biblScope unit="page" from="37" to="51" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">Optimal compaction of orthogonal grid drawings</title>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">W</forename><surname>Klau</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Mutzel</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 7th International IPCO Conference on Integer Programming and Combinatorial Optimization</title>
				<meeting>the 7th International IPCO Conference on Integer Programming and Combinatorial Optimization</meeting>
		<imprint>
			<publisher>Springer-Verlag</publisher>
			<date type="published" when="1999">1999</date>
			<biblScope unit="volume">1610</biblScope>
			<biblScope unit="page" from="304" to="319" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<monogr>
		<title level="m" type="main">A Combinatorial Approach to Orthogonal Placement Problems</title>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">W</forename><surname>Klau</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2001-09">Sep 2001</date>
		</imprint>
		<respStmt>
			<orgName>Universität des Saarlandes</orgName>
		</respStmt>
	</monogr>
	<note type="report_type">Ph.D. thesis</note>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">Drawing graphs with GLEE</title>
		<author>
			<persName><forename type="first">L</forename><surname>Nachmanson</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Robertson</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Lee</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Graph Drawing</title>
		<title level="s">Lecture Notes in Computer Science</title>
		<editor>
			<persName><forename type="first">S</forename><forename type="middle">H</forename><surname>Hong</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">T</forename><surname>Nishizeki</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">W</forename><surname>Quan</surname></persName>
		</editor>
		<meeting><address><addrLine>Berlin Heidelberg</addrLine></address></meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2008">2008</date>
			<biblScope unit="volume">4875</biblScope>
			<biblScope unit="page" from="389" to="394" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b16">
	<analytic>
		<title level="a" type="main">In search for efficient heuristics for minimum-width graph layering with consideration of dummy nodes</title>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">S</forename><surname>Nikolov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Tarassov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Branke</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Experimental Algorithmics</title>
		<imprint>
			<biblScope unit="volume">10</biblScope>
			<date type="published" when="2005">2005</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b17">
	<analytic>
		<title level="a" type="main">Drawing layered graphs with port constraints</title>
		<author>
			<persName><forename type="first">C</forename><forename type="middle">D</forename><surname>Schulze</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Spönemann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Von Hanxleden</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Visual Languages and Computing, Special Issue on Diagram Aesthetics and Layout</title>
		<imprint>
			<biblScope unit="volume">25</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="89" to="106" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b18">
	<analytic>
		<title level="a" type="main">Orthogonal connector routing</title>
		<author>
			<persName><forename type="first">M</forename><surname>Wybrow</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Marriott</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">J</forename><surname>Stuckey</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 17th International Symposium on Graph Drawing (GD&apos;09)</title>
				<meeting>the 17th International Symposium on Graph Drawing (GD&apos;09)</meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2010">2010</date>
			<biblScope unit="volume">5849</biblScope>
			<biblScope unit="page" from="219" to="231" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
