Comparison of Maximal Upward Planar Subgraph Computation Algorithms

Size: px
Start display at page:

Download "Comparison of Maximal Upward Planar Subgraph Computation Algorithms"

Transcription

1 01 10th International Conference on Frontiers of Information Technology Comparison of Maximal Upward Planar Subgraph Computation Algorithms Aimal Tariq Rextin Department of Computing and Technology, Abasyn University, Pakistan Abstract A digraph G =(V,E) is upward planar if it has a planar drawing with all edges pointing upward. A subgraph G of a digraph G with an upward planar drawing is called a maximal upward planar subgraph of G if the addition of any edge in G G to G causes non-upward planarity. Binucci et al. showed that finding even the maximum upward planar subgraph of an embedded digraph G φ is NP-Complete [1]. In this paper, we compare different algorithms to find maximal upward planar subgraph of an embedded digraph. We also use a large test suite of embedded digraphs to gain a deeper understanding of upward planarity and see how the different heuristics perform in practice. Index Terms Graph Drawing, Upward Planarity, Algorithms I. INTRODUCTION A graph G =(V,E) consists of a set V, whose elements are called vertices, and a set E of pairs of vertices called edges. It is used to represent relationships between discrete objects. The objects are represented by vertices and the edges represent the relationship between different objects. If the edges has an associated direction then it is a directed graph or digraph. It is generally believed that graphs were first used by Leonhard Eular to study the famous Seven Bridges of Königsberg Problem. Graph Drawing is the area in computer science that is concerned with constructing drawings of graphs that are easily comprehended by humans. In recent years, a lot of research has been done in graph drawing and an overview of the field can be found in [], [3]. Techniques from graph drawing have found applications in a wide variety of other areas, some examples are : VLSI design [4], web searching [5], visualization and analysis of large and complex networks such as social and biological networks [6]. A graph is planar if it has a drawing without any edge crossings, and a drawing of a graph with no edge crossing is called a planar drawing. Let G be a planar graph. There are infinite number of possible planar drawings of G, however all possible planar drawings of G can be be divided into a finite number of topologically equivalent classes. A topologically equivalent class of planar drawings is called an embedding. A particular planar drawing of G realizes φ if it belongs to the equivalence class φ. We called a graph G an embedded graph of φ and denote it by G φ, if we restrict ourselves to planar drawings from a particular embedding φ. We would like to minimize the number of crossings in a drawing of a graph. Although we would like to have no edge crossing in a drawing, but not all graphs admit such a drawing. Moreover, in the case of a digraph, we would want to maximize the edges pointing in the same direction. A digraph G =(V,E) is upward planar if it has a planar drawing with all edges pointing upward []. It is reasonable to say that a non-upward planar digraph is more readable if we can draw the largest possible subgraph in an upward planar fashion. A graph H =(V,E ) is a subgraph of a graph G =(V,E) if V V and E E. A graph H =(V,E ) is a spanning subgraph of a graph G = (V,E) if V = V and E E. Inthis paper, we will only consider spanning subgraphs, because a digraph G is upward planar if and only if all its components are upward planar. This is simple to see because each connected component of an upward planar graph can be independently drawn in an upward planar fashion. A subgraph G of a digraph G with an upward planar drawing is called a maximal upward planar subgraph of G if the addition of any edge in G G to G causes non-upward planarity. Binucci et al. showed that finding even the maximum upward planar subgraph of an embedded digraph G φ is NP- Complete [1]. Binucci et al. [1] studied two heuristics to find the maximal upward planar subgraph for an embedded digraph and compared these heuristics with an exact algorithm. In this paper, we compare their algorithms with some wider heuristics including more general optimization heuristics like Genetic Algorithms and Simulated Annealing. We also use a larger test suite with different types of digraphs to gain a deeper understanding of upward planarity. Another aim is to gain a deeper understanding of how the different heuristics perform in practice. A. Preliminaries First, we briefly review some of the relevant results in the area of upward planarity. An st-digraph is an acyclic digraph G with a single source s, a single sink t and an edge (s, t). Di Battista et al. and Kelly independently showed that a digraph is upward planar if and only if it is a spanning subgraph of a planar st-graph [7], [8]. Garg and Tamassia [9] showed that upward planarity testing is NP-Complete for general digraphs. Bertolazzi and Di Battista designed a quadratic time algorithm to test upward planarity of embedded graphs [10]. Hutton and Lubiw [14] presented an O(n ) upward planarity testing algorithm for single source digraphs, and it was optimized to O(n) by Bertolazzi et al. [11]. Healy and Lynch [1] designed /1 $ IEEE DOI /FIT

2 an algorithm that determines if a digraph is upward planar by checking if its biconnected components have upward planar drawings with certain properties. In a digraph, a source vertex has only outgoing edges and a sink vertex has only incoming edges. We denote the set of sources and sinks in a graph G by S and T respectively; the set of nodes that are neither in S nor in T are represented by I. A path p in a directed graph G is a sequence of vertices, such that every two consecutive vertices in p has an edge between them in G. Every drawing of an embedded graph G φ has a fixed circular ordering of edges φ(v) =e 1,e e k around each vertex v G. Moreover, every drawing of G φ have the same set of facial boundaries which we denote by F. An embedded graph G φ is bimodal if φ(v) can be partitioned into consecutive incoming and outgoing edges for every node v G. Let G φ be a subgraph of G φ, G φ is compatible with G φ if for each vertex v G φ, φ (v) is obtained by deleting zero or more edges from φ(v). In an embedded digraph G φ, the triplet e 1,v,e is an angle if e 1 precedes e in φ(v), where e 1 may equal e. There is a correspondence between each angle e 1,v,e of G φ and the geometrical angle between e 1 and e in a drawing of G φ. An angle is labeled large if the corresponding geometrical angle is larger than π and small otherwise. An angle e 1,v,e is a switch if both e 1 and e point in the same direction. It is a sink-switch if both e 1 and e point toward v, and it is a source-switch if both e 1 and e point away from v. In an acyclic digraph, the number of switches inafacef is always even and is denoted by n f. Lemma 1 (Bertolazzi et al. [10]): Let F be the set of faces in a bimodal embedded digraph G φ. Then (n f 1) + = S + T. f F The O(n )-time embedded upward planarity testing algorithm by Bertolazzi et al. [10] first ensures that G φ is planar, bimodal and has no directed cycles and then checks if G φ satisfies the following theorem. Theorem 1 (Bertolazzi et al. [10]): Let G φ be a be planar acyclic, and bimodal embedded DAG. G φ is upward planar if and only if we can find a mapping from sources and sinks of G φ to its faces, such that the following properties are satisfied. A face h has n h +1 sources or sinks mapped to it; Every other face f has n f 1 sources or sinks mapped to it. The mapping defined in Theorem 1 is called as a consistent assignment. Note that in the final upward planar drawing of G φ, the face h with n h +1 sources or sinks assigned to it is the external face, while all other faces are internal. Given an embedded digraph G φ with a given external face, we define capacity of face f (cap(f)) as following: cap(f) =n f +1 if f is the external face. cap(f) =n f 1 if f is one of the internal faces. II. MAXIMAL UPWARD PLANAR COMPUTATION ALGORITHMS In this section, we introduce the different algorithms to find the maximal upward planar subgraph of an embedded digraph G φ. In the next section, we compare the practical performance of these algorithms. Note that the Edge Insert Algorithm and Bend Algorithm are also discussed in [1], while the other are new algorithms. A. Incremental Algorithms We first propose a set of incremental algorithms, each of which computes a maximal upward planar subgraph for an embedded digraph G φ. Each algorithm maintains an upward planar digraph G φ called the current upward planar subgraph, such that G φ is compatible with G φ. We start with an initial upward planar subgraph and one by one add the removed edges to it. The digraph after the addition of a new edge is denoted by G φ. We retain the new edge if G φ is upward planar, else we discard it. We denote the face g G φ in which the new edge e is restored as the insert-face. We will check if the resulting embedded digraph remains to be bimodal and acyclic after each edge insertion. Bimodality can be checked in O(1) time, while acyclicity testing requires O(n) time. The insertion of an edge e = (u, v) bisects an angle α u = e 1,u,e at vertex u into two new angles e 1,u,e and e, u, e. Similarly, an angle is bisected at v. 1) Edge Insertion Algorithm: In this algorithm, we start with an initial upward planar digraph of all vertices of G φ but none of its edges. We then restore the edges one by one, each time checking if the resulting embedded digraph G φ is upward planar or not. We first check if G φ is bimodal and acyclic, we then use Bertolazzi s algorithm to check if G φ is upward planar. Since G φ is planar so Bertolazzi s algorithm runs O(n) times. The time complexity of Bertolazzi s algorithm is O(n ) [10] and so the worst case time complexity of Algorithm 1 is O(n 3 ). Algorithm 1 Edge Insert G φ =(V, ) for all e/ G φ do restore e in G φ if G φ is not bimodal or not acyclic then if G φ return G φ ) Improved Edge Insertion Algorithm : In this section, we introduce an algorithm which bypasses running Bertolazzi s algorithm at some edge insertions. This is done by efficiently 361

3 constructing a consistent assignment for G φ from the consistent assignment of G φ for some cases. We now discuss the cases where Bertolazzi s algorithm can be bypassed. An edge insertion always changes the facial boundary of the insert face g, and might also change its capacity. We let SW (g) denote the set of switches in the face g G φ and we let SW (g) denote its set of switches in G φ. Moreover, we let ΔSW(g) = SW (g) SW (g). The following lemma relates ΔSW(g) to Δcap(g), which is the change in capacity of g. Lemma : If cap (g) is the capacity of face g G φ and cap (g) is its capacity in G φ, then cap (g) =cap (g) + ΔSW(g). Proof: From the definition of capacity, cap (g) = SW (g) ± 1 Where we take + or depending on if g is an external or an internal face of an embedded digraph G φ with a given external face. Moreover, SW (g) = SW (g) +ΔSW(g). Hence cap (g) = SW (g) +ΔSW(g) ± 1 = SW (g) ± 1+ ΔSW(g) = cap (g)+ ΔSW(g) The following is possible when an edge e is restored: at least one of the end vertices of e is an isolated vertex; e is connects two previously disconnected components of G φ ; and, finally, the restored edge e has both its ends in the same connected component of G φ. We first discuss the case when at least one of the end vertices of e is an isolated vertex. Since G φ will be upward planar when both end vertices of e are isolated vertices, we only discuss the case when there is one isolated vertex. We denote the non-isolated vertex by v and the isolated vertex by v. Let α v = e 1,v,e be the angle that is bisected by the edge insertion, resulting in two new angles α 1 and α. When the α v is not a switch then e will have the same direction as either e 1 or e and hence either α 1 or α will be a switch and the other will not be a switch. Similarly, when e 1,v,e is a switch, then e can either have the same direction as e 1 and e or it can point in the opposite direction. Hence, we can reduce the original 3 =8possible types of edge insertions into the following 3 classes. The following three properties are easy to see from Lemma. Property 1: When an edge e is inserted between node v and a disconnected node v in g G φ such that it divides a non-switch angle e 1,v,e, then ΔSW(g) =and hence Δcap(g) =1. Property : When an edge e is inserted between v and a disconnected node v in g G φ such that e 1,v,e is a switch in G φ and the direction of e is opposite to e 1 and e, then ΔSW(g) =0and hence Δcap(g) =0. Property 3: When an edge e is inserted between v and a disconnected node v in g G φ such that e 1,v,e is a switch in G φ and the direction of e is same as e 1 and e, then ΔSW(g) =and hence Δcap(g) =1. Lemma 3: Let an edge e be inserted between at least one isolated vertex in a embedded upward planar graph G φ with a consistent assignment A. Then, G φ will always be upward planar if both end vertices of e are isolated. Moreover, G φ will be upward planar with the same external face as G φ if G has a non isolated end vertex v and one of the following is true: 1) v is a source/sink in both G and G ; ) v is a source/sink in G but not in G and v was assigned to face g G φ ; 3) v is not a source/sink in G. Proof: If both end vertices of e are isolated in G then we will get a new connected component in G φ with one source and one sink. We will get a consistent assignment for this component by assigning both the source and the sink to its unique face. Hence, G φ is upward planar because all it connected components are upward planar. When one end vertex of e is isolated and the other is not isolated then let v denote the isolated vertex and v the non isolated vertex. We show that G φ always has a consistent assignment under the given conditions. Let a = e 1,v,e be the angle incident on v in face g G φ. When v is a source/sink in both G and G then α is a switch in G φ. Moreover the direction of e in G φ is the same as e 1 and e. Hence we know from Property 3 that Δcap(g) =1.We satisfy the capacity of G φ by assigning all sources/sinks of G to their old faces in G φ and assigning the new source/sink v to g to satisfy the increase in capacity of g. The second case is when v was a source/sink in G that was assigned to g but it is not a source/sink in G. We know that α was a switch in g in G φ but not in G φ, hence from Property Δcap(g) =0. In this case, we assign v to g to compensate for the destruction of v as a source/sink and the remaining sources/sinks of G to their old faces in G φ to get a consistent assignment for G φ. When v is not a source/sink in G, then α can be a switch or a non switch angle. If α is a switch, then e will be inserted in the direction of e 1 and e because otherwise G φ will not be bimodal. In this case Property 3 shows that Δcap(g) = 1. Similarly when α is a non-switch angle then Property 1 shows that Δcap(g) =1. In both these cases we assign all sources/sinks of G to their old faces in G φ and assign the new source/sink v to g to satisfy the increase in capacity of g. When the conditions of Lemma 3 are met, we get a consistent assignment for G φ by retaining the assignment for all sources/sinks of G present in G and assigning the previously isolated vertex to g The following lemma tells us when we can bypass running Bertolazzi s algorithm when an edge is inserted between two connected components of G φ, such that each component has 36

4 at least one edge. Note that the insert-face of both components will merge to form a new face in the resulting graph G φ. Moreover, the insert-face of both components can be an internal or the external face in their respective connected components. Lemma 4: Let G φ be an embedded upward planar graph with at least two connected components Cφ 1 and C φ, each containing of at least one edge. Moreover, let A be the consistent assignment of G φ. Let an edge e be inserted between node v Cφ 1 and v Cφ. We assume that e is inserted in face g 1 of Cφ 1 and g of Cφ, such that at least one of g 1 and g is the external face their respective connected components. The resulting embedded graph G φ will be upward planar if one of the following is true for both v and v. 1) It is a source/sink in both G and G ; or it is a source/sink in G but not in G and it was assigned to its respective insert-face (g 1 or g ); or it is not a source/sink in G. Proof: If g 1 and g are external faces of their respective connected components in G φ, then let g be the external face of G φ. If one of g 1 or g is the external face of its connected component and h (h = g 1 and h = g ) is the external face of the other connected component, then we make h the external face of G φ and g its internal face. We assign all sources/sinks not assigned to g in G φ to the faces they were assigned to in G φ. This will satisfy the capacity of all faces except g in G φ and now all unassigned sources and sinks are on the facial boundary of g. Weknow from Lemma 1 that the sum of unsatisfied capacity equals the number unassigned sources/sinks, therefore we get a consistent assignment for G φ by assigning all unassigned sources/sinks to g. When the above conditions are met, we can get a consistent assignment for G φ by assigning the sources and sinks previously assigned to g 1 or g to the new face g and assigning all other sources and sinks to their previous faces. An edge e in an embedded graph is incident to at most faces, therefore a single edge insertion can at most split a face, resulting in one extra face in G φ. Let us restore an edge e between nodes of the same connected component in the insert-face g, this will split g into face f 1 and face f. The sources and sinks in G φ that were previously assigned to face g can be divided into the following three sets: S f1 is the set of sources/sinks now incident to f 1 but not f, S f is the set of sources/sinks now they are incident to f but not f 1, and S s is the set of sources/sinks now incident to both f 1 and f. We have the following lemma for this case. Lemma 5: Let G φ be an embedded upward planar graph with a consistent assignment A. Let an edge e be added to G φ such that the insert-face g is divided into f 1 and f. Then G φ is upward planar if S f 1 cap(f 1 ), S f cap(f ), and the edge insertion does not destroy a source/sink assigned to a face other than g. Proof: We satisfy the capacity of all faces in G φ except f 1 and f by assigning them the sources and sinks that they were previously assigned to by A. The only unassigned sources/sinks now are S f1, S f and S s.ifg was an internal face in G φ then we assign f 1 and f the capacity of an internal face. However, if g was the external face of G φ then we assign f 1 the capacity of an external face and we assign f the capacity of an internal face. We then assign all sources and sinks of S f1 to face f 1, which is possible since every v S f1 is incident to f 1 and S f1 cap(f 1 ). We also assign all sources and sinks of S f to f, which is possible since every v S f is incident to f and S f cap(f ). The only faces that may have unsatisfied capacity are f 1 and f and the only unassigned sources/sinks are in S s. Since S s is incident to both f 1 and f, we assign S s to f 1 and f to get a consistent assignment for G φ from Lemma 1. When the above conditions are met, then we get a consistent assignment for G φ in the following manner: assign S f 1 to f 1 and assign S f to f ; assign S s such that the capacity of f 1 and f gets completed; and assign all other sources and sinks to the faces they were assign to in G φ These results lead to Algorithm. Algorithm Improved Edge Insert G φ =(V, ) for all edges e/ G φ do restore e in G φ if G φ is not bimodal or not acyclic then if edge is inserted such that the conditions of Lemmas 3, 4 or 5 are satisfied then according to the respec- Assign sources/sinks of G φ tive lemma else run the Bertolazzi algorithm on G φ if G φ return G φ 3) Algorithm: This algorithm is based on the fact that any directed graph whose underlying undirected graph is a tree is always upward planar. In the Tree Insert Algorithm, we first calculated a subgraph G φ of the input embedded digraph G φ, such that the underlying undirected graph of G φ is a tree. We then one by one, insert the remaining edges of G φ, and check if the resulting embedded digraph is upward planar. We discard an edge if its insertion makes G φ non-upward planar, otherwise we insert the next 363

5 edge. Algorithm 3 Tree Insert calculate a spanning tree of G φ let G φ denote the spanning tree for all edges e/ G φ do restore e in G φ if G φ is not bimodal or not acyclic then run the Bertolazzi algorithm on G φ if G φ return G φ B. Genetic Algorithm and Simulated Annealing Based Algorithm Genetic Algorithms and Simulated Annealing are generic methods for optimization that are inspired from biological evaluation and a physical process. Both simulated annealing and genetic algorithms engine require a fitness function, that returns a score that indicates how good or bad a given solution is. The objective of genetic algorithms and simulated annealing is to maximize or minimize the value returned by the fitness function. For our purposes, we used a fitness function that returns 0 if a given instance is non-upward planar, and if a given instance is upward planar then the value returned by the fitness function is the number of edges in that instance. We use the following fitness function: If G φ is not upward planar and U are the sources and sinks that are not assigned to any face, then return 10 U. Otherwise if G φ is upward planar and E be the number of edges in G φ, then the fitness function returns E. We then used MATLAB genetic algorithm engine and its simulated annealing engine to find upward planar subgraphs for each instance of the test suite. We discuss their results in more detail later in the paper. C. Bend Algorithm Quasi-upward planarity is a generalization of upward planarity. In a quasi-upward planar drawing Γ of a digraph G, all outgoing edges of a vertex v leave it from above and all incoming edges of v enter it from below. Bertolazzi et al. [13] discusses an algorithm to compute a quasi-upward planar drawing of G φ with minimum number of bends. Binucci et al. present a heuristic called the Bend Algorithm to find the maximal upward planar subgraph of an embedded digraph G φ [1]. This heuristic uses the concept of quasi-upward planarity. Binucci et al. show that V Edge Density GA(sec) SA (sec) TABLE I SAMPLE OF TIME TAKEN BY GENETIC ALGORITHM AND SIMULATED ANNEALING BASED ALGORITHMS it generally performs better than the Simple Algorithm. The algorithm for bend algorithm is shown in Algorithm 4. Algorithm 4 Bend Algorithm find maximal bimodal subgraph of G φ and denote it by G φ find the quasi-upward planar drawing of G φ remove all edges with non zero bends, let R denote the removed edges for all e R do restore e in G φ if G φ return G φ III. EXPERIMENTAL ANALYSIS AND CONCLUSIONS In this section we discuss the experimental analysis of our algorithms. The algorithms were implemented in C++ using LEDA and AGD libraries and they were executed on a 1.6 GHz processor with 104 MB of memory. We generated a test suite of 5837 random planar digraphs. The number of nodes in a random graph, n, were between 10 and 00. For each n we generate digraphs with edge density 0.9 till.4 with a step of 0.05 Each maximal upward planar subgraph algorithm first generate a planar embedding for each randomly generated digraph and then we proceed with the rest of the algorithm as described in Section II. In the figures we show the results of our experimental analysis of the different algorithms. Our main interest is the retention rate of the different algorithms, which is the percentage of the original edges retained in the final upward planar subgraph of the input embedded digraph. We also measure the time taken the different algorithms. We measure these two quantities with respect to the number of nodes of the input graph and the edge density. Note that, the edge density for a graph G =(V,E) is defined as the following: edge density = E V. We conclude that Bend Algorithm performs very well both in terms of time and retention rate. Moreover, The retention rate depends on the edge density. Further, Our genetic algorithm performs very poorly in terms of retention rate compared to all other algorithms. It retention rate drops 364

6 Retained Edges With Respect to Number of Nodes 7 6 Improved Edge Insert Bend Algorithm Time With Respect to Edge Density for Edge Insert Algos Percentage of Retained Edges Time (secs) Genetic Algorithm Simulated Anealing Bend Algo Number of Nodes Number of Nodes Fig. 1. Retention rate of algorithms with respect to the number of nodes Fig. 4. Time taken by algorithms with respect to edge density Percentage of Retained Edges Time (secs) Retained Edges With Respect to Edge Density 60 Genetic Algorithm Simulated Anealing Bend Algorithm Edge Density Fig Retention rate of algorithms with respect to edge density Improved Edge Insert Bend Algorithm Time With Respect to Number of Nodes Edge Insert Algos Number of Nodes Fig. 3. Time taken algorithms with respect to number of nodes significantly below the other algorithms for graphs with more than 100 nodes. We also observe that the retention rate for all algorithms (except genetic algorithms) are very close. As expected, Genetic algorithms and simulated annealing based algorithms take significantly more time as shown in Table I. We do not recommend these two approaches given their retention rate and time taken. REFERENCES [1] C. Binucci, W. Didimo and F. Giordano, On The Complexity of Finding Maximum Upward Planar Subgraph of an Embedded Planar Digraph. Technical Report RT001-01, University of Perugia, 007. [] Giuseppe Di Battista and Peter Eades and Roberto Tamassia and Ioannis G. Tollis, Graph Drawing: Algorithms for the Visualization of Graphs.Prentice Hall, [3] Michael Kaufmann and Dorothea Wagner, Drawing Graphs, Methods and Models. Springer, 001. [4] MFranco P. Preparata, Optimal Three-Dimensional VLSI Layouts. Mathematical Systems Theory, [5] Emilio Di Giacomo, Walter Didimo, Luca Grilli and Giuseppe Liotta, WhatsOnWeb: Using Graph Drawing to Search the Web. GD 005, 005. [6] Adel Ahmed, Tim Dwyer, Michael Forster, Xiaoyan Fu, Joshua Wing Kei Ho, Seok-Hee Hong, Dirk Koschützki, Colin Murray, Nikola S. Nikolov, Ronnie Taib, Alexandre Tarassov and Kai Xu, GEOMI: GEOmetry for Maximum Insight. GD 005, 005. [7] Giuseppe Di Battista and Roberto Tamassia, Algorithms for Plane Representations of Acyclic Digraphs. Theor. Comput. Sci., [8] D. Kelly, Fundamentals of planar ordered sets. Discrete Mathematics, [9] Ashim Garg and Roberto Tamassia, On the Computational Complexity of Upward and Rectilinear Planarity Testing, SIAM Journal Computing, 001. [10] Paola Bertolazzi, Giuseppe Di Battista, Giuseppe Liotta and Carlo Mannino, Upward Drawings of Triconnected Digraphs. Algorithmica, [11] Paola Bertolazzi, Giuseppe Di Battista, Carlo Mannino and Roberto Tamassia, Optimal Upward Planarity Testing of Single-Source Digraphs. SIAM Journal Computing, [1] Patrick Healy and Karol Lynch, Building Blocks of Upward Planar Digraphs, Proceedings of Graph Drawing, 004. [13] MPaola Bertolazzi, Giuseppe Di Battista and Walter Didimo, Quasi- Upward Planarity, Algorithmica, 00. [14] Michael D. Hutton and Anna Lubiw, Upward Planar Drawing of Single- Source Acyclic Digraphs, SIAM Journal Computing,

Upward Planar Drawings and Switch-regularity Heuristics

Upward Planar Drawings and Switch-regularity Heuristics Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 1, no. 2, pp. 259 285 (26) Upward Planar Drawings and Switch-regularity Heuristics Walter Didimo Dipartimento di Ingegneria Elettronica

More information

Testing Maximal 1-planarity of Graphs with a Rotation System in Linear Time

Testing Maximal 1-planarity of Graphs with a Rotation System in Linear Time Testing Maximal 1-planarity of Graphs with a Rotation System in Linear Time Peter Eades 1, Seok-Hee Hong 1, Naoki Katoh 2, Giuseppe Liotta 3, Pascal Schweitzer 4, and Yusuke Suzuki 5 1 University of Sydney,

More information

Finding Bimodal and Acyclic Orientations of Mixed Planar Graphs is NP-Complete

Finding Bimodal and Acyclic Orientations of Mixed Planar Graphs is NP-Complete Dipartimento di Informatica e Automazione Via della Vasca Navale, 79 00146 Roma, Italy Finding Bimodal and Acyclic Orientations of Mixed Planar Graphs is NP-Complete Maurizio Patrignani RT-DIA-188-2011

More information

Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves

Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves (Extended Abstract) Emilio Di Giacomo and Walter Didimo Università di Perugia ({digiacomo,didimo}@diei.unipg.it). Abstract. We study how to

More information

Giuseppe Liotta (University of Perugia)

Giuseppe Liotta (University of Perugia) Drawing Graphs with Crossing Edges Giuseppe Liotta (University of Perugia) Outline Motivation and research agenda - Graph Drawing and the planarization handicap - Mutzel s intuition and Huang s experiment

More information

2-Layer Fan-planarity: From Caterpillar to Stegosaurus

2-Layer Fan-planarity: From Caterpillar to Stegosaurus 2-Layer Fan-planarity: From Caterpillar to Stegosaurus Carla Binucci 1, Markus Chimani 2, Walter Didimo 1, Martin Gronemann 3, Karsten Klein 4, Jan Kratochvil 5, Fabrizio Montecchiani 1, Ioannis G. Tollis

More information

A 2.5D Hierarchical Drawing of Directed Graphs

A 2.5D Hierarchical Drawing of Directed Graphs Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 11, no. 2, pp. 371 396 (2007) A 2.5D Hierarchical Drawing of Directed Graphs Seok-Hee Hong IMAGEN Program, National ICT Australia Ltd.

More information

Different geometry in the two drawings, but the ordering of the edges around each vertex is the same

Different geometry in the two drawings, but the ordering of the edges around each vertex is the same 6 6 6 6 6 6 Different geometry in the two drawings, but the ordering of the edges around each vertex is the same 6 6 6 6 Different topology in the two drawings 6 6 6 6 Fàry s Theorem (96): If a graph admits

More information

Upward Planarity Testing via SAT

Upward Planarity Testing via SAT Upward Planarity Testing via SAT Markus Chimani and Robert Zeranski Algorithm Engineering, Friedrich-Schiller-Universität Jena, Germany {markus.chimani,robert.zeranski}@uni-jena.de Abstract. A directed

More information

DRAWING NON-PLANAR GRAPHS WITH CROSSING-FREE SUBGRAPHS*

DRAWING NON-PLANAR GRAPHS WITH CROSSING-FREE SUBGRAPHS* DRAWING NON-PLANAR GRAPHS WITH CROSSING-FREE SUBGRAPHS* Patrizio Angelini 1, Carla Binucci 2, Giordano Da Lozzo 1, Walter Didimo 2, Luca Grilli 2, Fabrizio Montecchiani 2, Maurizio Patrignani 1, and Ioannis

More information

UNIVERSITÀ DEGLI STUDI DI ROMA TRE Dipartimento di Informatica e Automazione. Constrained Simultaneous and Near-Simultaneous Embeddings

UNIVERSITÀ DEGLI STUDI DI ROMA TRE Dipartimento di Informatica e Automazione. Constrained Simultaneous and Near-Simultaneous Embeddings R O M A TRE DIA UNIVERSITÀ DEGLI STUDI DI ROMA TRE Dipartimento di Informatica e Automazione Via della Vasca Navale, 79 00146 Roma, Italy Constrained Simultaneous and Near-Simultaneous Embeddings FABRIZIO

More information

Minimum Depth Graph Embeddings and Quality of the Drawings: An Experimental Analysis

Minimum Depth Graph Embeddings and Quality of the Drawings: An Experimental Analysis Minimum Depth Graph Embeddings and Quality of the Drawings: An Experimental Analysis Maurizio Pizzonia Dipartimento di Informatica e Automazione, Università RomaTre,Italy pizzonia@dia.uniroma.it Abstract.

More information

Introduction III. Graphs. Motivations I. Introduction IV

Introduction III. Graphs. Motivations I. Introduction IV Introduction I Graphs Computer Science & Engineering 235: Discrete Mathematics Christopher M. Bourke cbourke@cse.unl.edu Graph theory was introduced in the 18th century by Leonhard Euler via the Königsberg

More information

Embedded Subgraph Isomorphism and Related Problems

Embedded Subgraph Isomorphism and Related Problems Embedded Subgraph Isomorphism and Related Problems Graph isomorphism, subgraph isomorphism, and maximum common subgraph can be solved in polynomial time when constrained by geometrical information, in

More information

A Fast and Simple Heuristic for Constrained Two-Level Crossing Reduction

A Fast and Simple Heuristic for Constrained Two-Level Crossing Reduction A Fast and Simple Heuristic for Constrained Two-Level Crossing Reduction Michael Forster University of Passau, 94030 Passau, Germany forster@fmi.uni-passau.de Abstract. The one-sided two-level crossing

More information

arxiv: v2 [math.co] 21 Jun 2018

arxiv: v2 [math.co] 21 Jun 2018 Edge Partitions of Optimal 2-plane and 3-plane Graphs Michael Bekos 1, Emilio Di Giacomo 2, Walter Didimo 2, Giuseppe Liotta 2, Fabrizio Montecchiani 2, Chrysanthi Raftopoulou 3 1 Institut für Informatik,

More information

Drawing Clustered Graphs in Three Dimensions

Drawing Clustered Graphs in Three Dimensions Drawing Clustered Graphs in Three Dimensions Joshua Ho 1,2 and Seok-Hee Hong 1,2 1 IMAGEN Program, NICTA (National ICT Australia) 2 School of IT, University of Sydney, NSW, Australia joshua.ho@student.usyd.edu.au,seokhee.hong@nicta.com.au

More information

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI Department of Computer Science and Engineering CS6702 - GRAPH THEORY AND APPLICATIONS Anna University 2 & 16 Mark Questions & Answers Year / Semester: IV /

More information

On the Page Number of Upward Planar Directed Acyclic Graphs

On the Page Number of Upward Planar Directed Acyclic Graphs Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 17, no. 3, pp. 221 244 (2013) DOI: 10.7155/jgaa.00292 On the Page Number of Upward Planar Directed Acyclic Graphs Fabrizio Frati 1 Radoslav

More information

Bar k-visibility Graphs

Bar k-visibility Graphs Bar k-visibility Graphs Alice M. Dean Department of Mathematics Skidmore College adean@skidmore.edu William Evans Department of Computer Science University of British Columbia will@cs.ubc.ca Ellen Gethner

More information

Practical Level Planarity Testing and Layout with Embedding Constraints

Practical Level Planarity Testing and Layout with Embedding Constraints Practical Level Planarity Testing and Layout with Embedding Constraints Martin Harrigan and Patrick Healy Department of Computer Science and Information Systems, University of Limerick, Ireland {martin.harrigan,

More information

Bar k-visibility Graphs: Bounds on the Number of Edges, Chromatic Number, and Thickness

Bar k-visibility Graphs: Bounds on the Number of Edges, Chromatic Number, and Thickness Bar k-visibility Graphs: Bounds on the Number of Edges, Chromatic Number, and Thickness Alice M. Dean, William Evans, Ellen Gethner 3,JoshuaD.Laison, Mohammad Ali Safari 5, and William T. Trotter 6 Department

More information

Overlapping Cluster Planarity.

Overlapping Cluster Planarity. Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 12, no. 3, pp. 267 291 (2008) Overlapping Cluster Planarity. Walter Didimo 1 Francesco Giordano 1 Giuseppe Liotta 1 1 Dipartimento di

More information

Theoretical Computer Science

Theoretical Computer Science Theoretical Computer Science 408 (2008) 129 142 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs Drawing colored graphs on colored points

More information

Planar Drawing of Bipartite Graph by Eliminating Minimum Number of Edges

Planar Drawing of Bipartite Graph by Eliminating Minimum Number of Edges UITS Journal Volume: Issue: 2 ISSN: 2226-32 ISSN: 2226-328 Planar Drawing of Bipartite Graph by Eliminating Minimum Number of Edges Muhammad Golam Kibria Muhammad Oarisul Hasan Rifat 2 Md. Shakil Ahamed

More information

Straight-Line Drawings of Binary Trees with Linear Area and Arbitrary Aspect Ratio

Straight-Line Drawings of Binary Trees with Linear Area and Arbitrary Aspect Ratio Straight-Line Drawings of Binary Trees with Linear Area and Arbitrary Aspect Ratio (Extended Abstract) Ashim Garg and Adrian Rusu Department of Computer Science and Engineering University at Buffalo Buffalo,

More information

Straight-line Drawability of Embedded Graphs

Straight-line Drawability of Embedded Graphs Straight-line Drawability of Embedded Graphs Hiroshi Nagamochi Department of Applied Mathematics and Physics, Kyoto University, Yoshida Honmachi, Sakyo, Kyoto 606-8501, Japan. nag@amp.i.kyoto-u.ac.jp Abstract:

More information

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur Lecture : Graphs Rajat Mittal IIT Kanpur Combinatorial graphs provide a natural way to model connections between different objects. They are very useful in depicting communication networks, social networks

More information

Turn-regularity and optimal area drawings of orthogonal representations

Turn-regularity and optimal area drawings of orthogonal representations Computational Geometry 16 (2000) 53 93 Turn-regularity and optimal area drawings of orthogonal representations Stina S. Bridgeman a, Giuseppe Di Battista b, Walter Didimo b, Giuseppe Liotta c, Roberto

More information

arxiv: v1 [cs.dm] 13 Apr 2012

arxiv: v1 [cs.dm] 13 Apr 2012 A Kuratowski-Type Theorem for Planarity of Partially Embedded Graphs Vít Jelínek, Jan Kratochvíl, Ignaz Rutter arxiv:1204.2915v1 [cs.dm] 13 Apr 2012 Abstract A partially embedded graph (or Peg) is a triple

More information

On the Characterization of Plane Bus Graphs

On the Characterization of Plane Bus Graphs On the Characterization of Plane Bus Graphs Till Bruckdorfer 1, Stefan Felsner 2, and Michael Kaufmann 1 1 Wilhelm-Schickard-Institut für Informatik, Universität Tübingen, Germany, {bruckdor,mk}@informatik.uni-tuebingen.de

More information

The Straight-Line RAC Drawing Problem is NP-Hard

The Straight-Line RAC Drawing Problem is NP-Hard The Straight-Line RAC Drawing Problem is NP-Hard Evmora N. Argyriou 1, Michael A. Bekos 1, and Antonios Symvonis 1 School of Applied Mathematical & Physical Sciences, National Technical University of Athens,

More information

Drawing Simultaneously Embedded Graphs with Few Bends

Drawing Simultaneously Embedded Graphs with Few Bends Drawing Simultaneously Embedded Graphs with Few Bends Luca Grilli 1, Seok-Hee Hong 2, Jan Kratochvíl 3, and Ignaz Rutter 3,4 1 Dipartimento di Ingegneria, Università degli Studi di Perugia luca.grilli@unipg.it

More information

Characterizing Families of Cuts That Can Be Represented by Axis-Parallel Rectangles

Characterizing Families of Cuts That Can Be Represented by Axis-Parallel Rectangles Characterizing Families of Cuts That Can Be Represented by Axis-Parallel Rectangles Ulrik Brandes 1, Sabine Cornelsen 2, and Dorothea Wagner 3 1 Fakultät für Mathematik & Informatik, Universität Passau.

More information

γ(ɛ) (a, b) (a, d) (d, a) (a, b) (c, d) (d, d) (e, e) (e, a) (e, e) (a) Draw a picture of G.

γ(ɛ) (a, b) (a, d) (d, a) (a, b) (c, d) (d, d) (e, e) (e, a) (e, e) (a) Draw a picture of G. MAD 3105 Spring 2006 Solutions for Review for Test 2 1. Define a graph G with V (G) = {a, b, c, d, e}, E(G) = {r, s, t, u, v, w, x, y, z} and γ, the function defining the edges, is given by the table ɛ

More information

Straight-line Drawings of 1-planar Graphs

Straight-line Drawings of 1-planar Graphs Straight-line Drawings of 1-planar Graphs Peter Eades 1, Seok-Hee Hong 1, Giuseppe Liotta 2, and Sheung-Hung Poon 3 1 University of Sydney, Australia {peter,shhong}@it.usyd.edu.au 2 Università di Perugia,

More information

Approximating Fault-Tolerant Steiner Subgraphs in Heterogeneous Wireless Networks

Approximating Fault-Tolerant Steiner Subgraphs in Heterogeneous Wireless Networks Approximating Fault-Tolerant Steiner Subgraphs in Heterogeneous Wireless Networks Ambreen Shahnaz and Thomas Erlebach Department of Computer Science University of Leicester University Road, Leicester LE1

More information

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department CS473-Algorithms I Lecture 3-A Graphs Graphs A directed graph (or digraph) G is a pair (V, E), where V is a finite set, and E is a binary relation on V The set V: Vertex set of G The set E: Edge set of

More information

The Geometry of Carpentry and Joinery

The Geometry of Carpentry and Joinery The Geometry of Carpentry and Joinery Pat Morin and Jason Morrison School of Computer Science, Carleton University, 115 Colonel By Drive Ottawa, Ontario, CANADA K1S 5B6 Abstract In this paper we propose

More information

2-Layer Right Angle Crossing Drawings

2-Layer Right Angle Crossing Drawings DOI 10.1007/s00453-012-9706-7 2-Layer Right Angle Crossing Drawings Emilio Di Giacomo Walter Didimo Peter Eades Giuseppe Liotta Received: 26 July 2011 / Accepted: 24 October 2012 Springer Science+Business

More information

Acyclic Colorings of Graph Subdivisions

Acyclic Colorings of Graph Subdivisions Acyclic Colorings of Graph Subdivisions Debajyoti Mondal, Rahnuma Islam Nishat, Sue Whitesides, and Md. Saidur Rahman 3 Department of Computer Science, University of Manitoba Department of Computer Science,

More information

Fundamental Properties of Graphs

Fundamental Properties of Graphs Chapter three In many real-life situations we need to know how robust a graph that represents a certain network is, how edges or vertices can be removed without completely destroying the overall connectivity,

More information

An Edge-Swap Heuristic for Finding Dense Spanning Trees

An Edge-Swap Heuristic for Finding Dense Spanning Trees Theory and Applications of Graphs Volume 3 Issue 1 Article 1 2016 An Edge-Swap Heuristic for Finding Dense Spanning Trees Mustafa Ozen Bogazici University, mustafa.ozen@boun.edu.tr Hua Wang Georgia Southern

More information

A Note on Rectilinearity and Angular Resolution

A Note on Rectilinearity and Angular Resolution Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 8, no. 1, pp. 89 94 (2004) A Note on Rectilinearity and Angular Resolution Hans L. Bodlaender Gerard Tel Institute of Information and

More information

Line Crossing Minimization on Metro Maps

Line Crossing Minimization on Metro Maps Line Crossing Minimization on Metro Maps Michael A. Bekos 1, Michael Kaufmann 2, Katerina Potika 1, Antonios Symvonis 1 1 National Technical University of Athens, School of Applied Mathematics & Physical

More information

t 3 1,1 σ v (2) n u n u n u 0, 0, n l u,v n r u,v 3,3 (a) (b) 6,6 nx,v n x n x n 0, 0, n z 2, s 3 (2) (d) (c)

t 3 1,1 σ v (2) n u n u n u 0, 0, n l u,v n r u,v 3,3 (a) (b) 6,6 nx,v n x n x n 0, 0, n z 2, s 3 (2) (d) (c) Orthogonal and Quasi-Upward Drawings with Vertices of Arbitrary Size Giuseppe Di Battista, Walter Didimo, Maurizio Patrignani, and Maurizio Pizzonia Dipartimento di Informatica e Automazione, Universita

More information

Preferred directions for resolving the non-uniqueness of Delaunay triangulations

Preferred directions for resolving the non-uniqueness of Delaunay triangulations Preferred directions for resolving the non-uniqueness of Delaunay triangulations Christopher Dyken and Michael S. Floater Abstract: This note proposes a simple rule to determine a unique triangulation

More information

Characterization of Unlabeled Level Planar Trees

Characterization of Unlabeled Level Planar Trees Characterization of Unlabeled Level Planar Trees Alejandro Estrella-Balderrama, J. Joseph Fowler, Stephen G. Kobourov Department of Computer Science, University of Arizona {aestrell,jfowler,kobourov}@cs.arizona.edu

More information

Monotone Paths in Geometric Triangulations

Monotone Paths in Geometric Triangulations Monotone Paths in Geometric Triangulations Adrian Dumitrescu Ritankar Mandal Csaba D. Tóth November 19, 2017 Abstract (I) We prove that the (maximum) number of monotone paths in a geometric triangulation

More information

Notes slides from before lecture. CSE 21, Winter 2017, Section A00. Lecture 9 Notes. Class URL:

Notes slides from before lecture. CSE 21, Winter 2017, Section A00. Lecture 9 Notes. Class URL: Notes slides from before lecture CSE 21, Winter 2017, Section A00 Lecture 9 Notes Class URL: http://vlsicad.ucsd.edu/courses/cse21-w17/ Notes slides from before lecture Notes February 8 (1) HW4 is due

More information

Computing NodeTrix Representations of Clustered Graphs

Computing NodeTrix Representations of Clustered Graphs Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 22, no. 2, pp. 139 176 (2018) DOI: 10.7155/jgaa.00461 Computing NodeTrix Representations of Clustered Graphs Giordano Da Lozzo Giuseppe

More information

Morphing Planar Graph Drawings

Morphing Planar Graph Drawings Morphing Planar Graph Drawings Giuseppe Di Battista Università degli Studi Roma Tre The 12th International Conference and Workshops on Algorithms and Computation WALCOM 2018 Basic definitions Graph drawing

More information

A Reduction of Conway s Thrackle Conjecture

A Reduction of Conway s Thrackle Conjecture A Reduction of Conway s Thrackle Conjecture Wei Li, Karen Daniels, and Konstantin Rybnikov Department of Computer Science and Department of Mathematical Sciences University of Massachusetts, Lowell 01854

More information

WP04 Constrained Embeddings Dorothea Wagner

WP04 Constrained Embeddings Dorothea Wagner WP04 Constrained Embeddings Dorothea Wagner top left bottom bottom top right Ignaz Rutter October 3, 2012 Intuitively Readable Drawings Meet the user s expectations about arrangement of objects in drawing

More information

WUCT121. Discrete Mathematics. Graphs

WUCT121. Discrete Mathematics. Graphs WUCT121 Discrete Mathematics Graphs WUCT121 Graphs 1 Section 1. Graphs 1.1. Introduction Graphs are used in many fields that require analysis of routes between locations. These areas include communications,

More information

Henneberg construction

Henneberg construction Henneberg construction Seminar über Algorithmen FU-Berlin, WS 2007/08 Andrei Haralevich Abstract: In this work will be explained two different types of steps of Henneberg construction. And how Henneberg

More information

Chapter 6. Planar Orientations. 6.1 Numberings of Digraphs

Chapter 6. Planar Orientations. 6.1 Numberings of Digraphs Chapter 6 Planar Orientations In this chapter we will focus on algorithms and techniques used for drawing planar graphs. The algorithms we will use are based on numbering the vertices and orienting the

More information

Simultaneous Graph Embedding with Bends and Circular Arcs

Simultaneous Graph Embedding with Bends and Circular Arcs Simultaneous Graph Embedding with Bends and Circular Arcs Justin Cappos, Alejandro Estrella-Balderrama, J. Joseph Fowler, and Stephen G. Kobourov Department of Computer Science, University of Arizona {justin,aestrell,jfowler,kobourov}@cs.arizona.edu

More information

Tradeoffs between Bends and Displacement in Anchored Graph Drawing

Tradeoffs between Bends and Displacement in Anchored Graph Drawing CCCG 2015, Kingston, Ontario, August 10 12, 2015 Tradeoffs between Bends and Displacement in Anchored Graph Drawing Martin Fink Subhash Suri Abstract Many graph drawing applications entail geographical

More information

Università degli Studi di Roma Tre Dipartimento di Informatica e Automazione Via della Vasca Navale, Roma, Italy

Università degli Studi di Roma Tre Dipartimento di Informatica e Automazione Via della Vasca Navale, Roma, Italy R O M A TRE DIA Università degli Studi di Roma Tre Dipartimento di Informatica e Automazione Via della Vasca Navale, 79 00146 Roma, Italy Non-Convex Representations of Graphs Giuseppe Di Battista, Fabrizio

More information

WhatsOnWeb: Using Graph Drawing to Search the Web

WhatsOnWeb: Using Graph Drawing to Search the Web WhatsOnWeb: Using Graph Drawing to Search the Web Emilio Di Giacomo, Walter Didimo, Luca Grilli, and Giuseppe Liotta Università di Perugia, Italy {digiacomo, didimo, grilli, liotta}@diei.unipg.it Abstract.

More information

Number Theory and Graph Theory

Number Theory and Graph Theory 1 Number Theory and Graph Theory Chapter 6 Basic concepts and definitions of graph theory By A. Satyanarayana Reddy Department of Mathematics Shiv Nadar University Uttar Pradesh, India E-mail: satya8118@gmail.com

More information

Wiring Edge-Disjoint Layouts*

Wiring Edge-Disjoint Layouts* Wiring Edge-Disjoint Layouts* Ruth Kuchem 1 and Dorothea Wagner 2 1 RWTH Aachen 2 Fakult~t fiir Mathematik und Informatik, Universit~t Konstanz, 78434 Konstanz, Germany Abstract. We consider the wiring

More information

Visualisierung von Graphen

Visualisierung von Graphen Visualisierung von Graphen Smooth Orthogonal Drawings of Planar Graphs. Vorlesung Sommersemester 205 Orthogonal Layouts all edge segments are horizontal or vertical a well-studied drawing convention many

More information

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1 UNIT I INTRODUCTION CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1. Define Graph. A graph G = (V, E) consists

More information

A GRAPH FROM THE VIEWPOINT OF ALGEBRAIC TOPOLOGY

A GRAPH FROM THE VIEWPOINT OF ALGEBRAIC TOPOLOGY A GRAPH FROM THE VIEWPOINT OF ALGEBRAIC TOPOLOGY KARL L. STRATOS Abstract. The conventional method of describing a graph as a pair (V, E), where V and E repectively denote the sets of vertices and edges,

More information

Hardness of Subgraph and Supergraph Problems in c-tournaments

Hardness of Subgraph and Supergraph Problems in c-tournaments Hardness of Subgraph and Supergraph Problems in c-tournaments Kanthi K Sarpatwar 1 and N.S. Narayanaswamy 1 Department of Computer Science and Engineering, IIT madras, Chennai 600036, India kanthik@gmail.com,swamy@cse.iitm.ac.in

More information

Automatic Layout of State Diagrams

Automatic Layout of State Diagrams Automatic Layout of State Diagrams Maxim Korotkov evelopers corp. mkorotkov@evelopers.com Abstract. Consider the problem of automatically generating layouts for state diagrams (statecharts). Such diagrams

More information

Upright-Quad Drawing of st-planar Learning Spaces

Upright-Quad Drawing of st-planar Learning Spaces Upright-Quad Drawing of st-planar Learning Spaces David Eppstein Computer Science Department, University of California, Irvine eppstein@uci.edu Abstract. We consider graph drawing algorithms for learning

More information

Journal of Graph Algorithms and Applications

Journal of Graph Algorithms and Applications Journal of Graph Algorithms and Applications http://www.cs.brown.edu/publications/jgaa/ vol. 5, no. 5, pp. 93 105 (2001) Connectivity of Planar Graphs H. de Fraysseix P. Ossona de Mendez CNRS UMR 8557

More information

Planar Open Rectangle-of-Influence Drawings with Non-aligned Frames

Planar Open Rectangle-of-Influence Drawings with Non-aligned Frames Planar Open Rectangle-of-Influence Drawings with Non-aligned Frames Soroush Alamdari and Therese Biedl David R. Cheriton School of Computer Science, University of Waterloo {s6hosse,biedl}@uwaterloo.ca

More information

Algorithms for Graph Visualization Layered Layout

Algorithms for Graph Visualization Layered Layout Algorithms for Graph Visualization INSTITUT FÜR THEORETISCHE INFORMATIK FAKULTÄT FÜR INFORMATIK Tamara Mchedlidze 5.12.2016 1 Example Which are the properties? Which aesthetic ctireria are usefull? 2 Given:

More information

Drawing Outer 1-planar Graphs with Few Slopes

Drawing Outer 1-planar Graphs with Few Slopes Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 19, no. 2, pp. 707 741 (2015) DOI: 10.7155/jgaa.00376 Drawing Outer 1-planar Graphs with Few Slopes Emilio Di Giacomo Giuseppe Liotta

More information

arxiv: v2 [cs.ds] 7 Jan 2015

arxiv: v2 [cs.ds] 7 Jan 2015 Orthogonal Graph Drawing with Inflexible Edges Thomas Bläsius, Sebastian Lehmann, Ignaz Rutter Faculty of Informatics, Karlsruhe Institute of Technology (KIT), Germany arxiv:404.2943v2 [cs.ds] 7 Jan 205

More information

arxiv: v2 [cs.dm] 28 Dec 2010

arxiv: v2 [cs.dm] 28 Dec 2010 Multiple-source multiple-sink maximum flow in planar graphs Yahav Nussbaum arxiv:1012.4767v2 [cs.dm] 28 Dec 2010 Abstract In this paper we show an O(n 3/2 log 2 n) time algorithm for finding a maximum

More information

Parameterized graph separation problems

Parameterized graph separation problems Parameterized graph separation problems Dániel Marx Department of Computer Science and Information Theory, Budapest University of Technology and Economics Budapest, H-1521, Hungary, dmarx@cs.bme.hu Abstract.

More information

Lecture 22 Tuesday, April 10

Lecture 22 Tuesday, April 10 CIS 160 - Spring 2018 (instructor Val Tannen) Lecture 22 Tuesday, April 10 GRAPH THEORY Directed Graphs Directed graphs (a.k.a. digraphs) are an important mathematical modeling tool in Computer Science,

More information

Graph Theory Mini-course

Graph Theory Mini-course Graph Theory Mini-course Anthony Varilly PROMYS, Boston University, Boston, MA 02215 Abstract Intuitively speaking, a graph is a collection of dots and lines joining some of these dots. Many problems in

More information

4 Integer Linear Programming (ILP)

4 Integer Linear Programming (ILP) TDA6/DIT37 DISCRETE OPTIMIZATION 17 PERIOD 3 WEEK III 4 Integer Linear Programg (ILP) 14 An integer linear program, ILP for short, has the same form as a linear program (LP). The only difference is that

More information

[8] that this cannot happen on the projective plane (cf. also [2]) and the results of Robertson, Seymour, and Thomas [5] on linkless embeddings of gra

[8] that this cannot happen on the projective plane (cf. also [2]) and the results of Robertson, Seymour, and Thomas [5] on linkless embeddings of gra Apex graphs with embeddings of face-width three Bojan Mohar Department of Mathematics University of Ljubljana Jadranska 19, 61111 Ljubljana Slovenia bojan.mohar@uni-lj.si Abstract Aa apex graph is a graph

More information

Drawing Planar Graphs

Drawing Planar Graphs Drawing Planar Graphs Lucie Martinet November 9, 00 Introduction The field of planar graph drawing has become more and more important since the late 960 s. Although its first uses were mainly industrial,

More information

Lecture 3: Recap. Administrivia. Graph theory: Historical Motivation. COMP9020 Lecture 4 Session 2, 2017 Graphs and Trees

Lecture 3: Recap. Administrivia. Graph theory: Historical Motivation. COMP9020 Lecture 4 Session 2, 2017 Graphs and Trees Administrivia Lecture 3: Recap Assignment 1 due 23:59 tomorrow. Quiz 4 up tonight, due 15:00 Thursday 31 August. Equivalence relations: (S), (R), (T) Total orders: (AS), (R), (T), (L) Partial orders: (AS),

More information

An algorithm for Performance Analysis of Single-Source Acyclic graphs

An algorithm for Performance Analysis of Single-Source Acyclic graphs An algorithm for Performance Analysis of Single-Source Acyclic graphs Gabriele Mencagli September 26, 2011 In this document we face with the problem of exploiting the performance analysis of acyclic graphs

More information

Augmenting Trees so that Every Three Vertices Lie on a Cycle

Augmenting Trees so that Every Three Vertices Lie on a Cycle Augmenting Trees so that Every Three Vertices Lie on a Cycle Peter Dankelmann School of Mathematical and Statistical Sciences, University of Natal, Durban, 4041, South Africa Wayne Goddard School of Geological

More information

1-bend RAC Drawings of 1-Planar Graphs. Walter Didimo, Giuseppe Liotta, Saeed Mehrabi, Fabrizio Montecchiani

1-bend RAC Drawings of 1-Planar Graphs. Walter Didimo, Giuseppe Liotta, Saeed Mehrabi, Fabrizio Montecchiani 1-bend RAC Drawings of 1-Planar Graphs Walter Didimo, Giuseppe Liotta, Saeed Mehrabi, Fabrizio Montecchiani Things to avoid in graph drawing Things to avoid in graph drawing Too many crossings Things to

More information

The Effect of Planarization on Width

The Effect of Planarization on Width The Effect of Planarization on Width David Eppstein 25th International Symposium on Graph Drawing & Network Visualization Boston, Massachusetts, September 2017 Planarization Draw a graph with simple crossings

More information

K 4,4 e Has No Finite Planar Cover

K 4,4 e Has No Finite Planar Cover K 4,4 e Has No Finite Planar Cover Petr Hliněný Dept. of Applied Mathematics, Charles University, Malostr. nám. 25, 118 00 Praha 1, Czech republic (E-mail: hlineny@kam.ms.mff.cuni.cz) February 9, 2005

More information

Drawing Semi-bipartite Graphs in Anchor+Matrix Style

Drawing Semi-bipartite Graphs in Anchor+Matrix Style 2011 15th International Conference on Information Visualisation Drawing Semi-bipartite Graphs in Anchor+Matrix Style Kazuo Misue and Qi Zhou Department of Computer Science, University of Tsukuba Tsukuba,

More information

Planar Point Location

Planar Point Location C.S. 252 Prof. Roberto Tamassia Computational Geometry Sem. II, 1992 1993 Lecture 04 Date: February 15, 1993 Scribe: John Bazik Planar Point Location 1 Introduction In range searching, a set of values,

More information

A New Heuristic Layout Algorithm for Directed Acyclic Graphs *

A New Heuristic Layout Algorithm for Directed Acyclic Graphs * A New Heuristic Layout Algorithm for Directed Acyclic Graphs * by Stefan Dresbach Lehrstuhl für Wirtschaftsinformatik und Operations Research Universität zu Köln Pohligstr. 1, 50969 Köln revised August

More information

Upward Straight-Line Embeddings of Directed Graphs into Point Sets

Upward Straight-Line Embeddings of Directed Graphs into Point Sets Upward Straight-Line Embeddings of Directed Graphs into Point Sets Alejandro Estrella-Balderrama, Fabrizio Frati 2, and Stephen G. Kobourov Department of Computer Science University of Arizona, U.S.A.

More information

arxiv:math/ v1 [math.co] 30 Oct 2006

arxiv:math/ v1 [math.co] 30 Oct 2006 arxiv:math/0610935v1 [math.co] 30 Oct 2006 Depth-First Search and Planarity Hubert de Fraysseix, Patrice Ossona de Mendez, Pierre Rosenstiehl Centre d Analyse et de Mathématiques Sociales (CNRS UMR 8557),

More information

8 Spine and Radial Drawings

8 Spine and Radial Drawings 8 Spine and Radial Drawings Emilio Di Giacomo University of Perugia Walter Didimo University of Perugia Giuseppe Liotta University of Perugia 8.1 Introduction... 247 8.2 A Unified Framework for Spine and

More information

1 Digraphs. Definition 1

1 Digraphs. Definition 1 1 Digraphs Definition 1 Adigraphordirected graphgisatriplecomprisedofavertex set V(G), edge set E(G), and a function assigning each edge an ordered pair of vertices (tail, head); these vertices together

More information

Hamiltonian cycles in bipartite quadrangulations on the torus

Hamiltonian cycles in bipartite quadrangulations on the torus Hamiltonian cycles in bipartite quadrangulations on the torus Atsuhiro Nakamoto and Kenta Ozeki Abstract In this paper, we shall prove that every bipartite quadrangulation G on the torus admits a simple

More information

Drawing cubic graphs with at most five slopes

Drawing cubic graphs with at most five slopes Drawing cubic graphs with at most five slopes B. Keszegh, J. Pach, D. Pálvölgyi, and G. Tóth Abstract We show that every graph G with maximum degree three has a straight-line drawing in the plane using

More information

Algorithmic Patterns for Orthogonal Graph Drawing

Algorithmic Patterns for Orthogonal Graph Drawing Algorithmic Patterns for Orthogonal Graph Drawing Natasha Gelfand Roberto Tamassia Department of Computer Science Brown University Providence, Rhode Island 02912 1910 {ng,rt}@cs.brown.edu Abstract. In

More information

Some Open Problems in Graph Theory and Computational Geometry

Some Open Problems in Graph Theory and Computational Geometry Some Open Problems in Graph Theory and Computational Geometry David Eppstein Univ. of California, Irvine Dept. of Information and Computer Science ICS 269, January 25, 2002 Two Models of Algorithms Research

More information

Minimum Depth Graph Embedding

Minimum Depth Graph Embedding Minimum Depth Graph Embedding Maurizio Pizzonia 1 and Roberto Tamassia 2 1 Dipartimento di Informatica e Automazione, Università di Roma Tre, via della Vasca Navale 79, 00146 Roma, Italy. pizzonia@dia.uniroma3.it

More information

Coloring edges and vertices of graphs without short or long cycles

Coloring edges and vertices of graphs without short or long cycles Coloring edges and vertices of graphs without short or long cycles Marcin Kamiński and Vadim Lozin Abstract Vertex and edge colorability are two graph problems that are NPhard in general. We show that

More information