Abstract

An orthogonal drawing of a graph is a drawing such that vertices are placed on grid points and edges are drawn as sequences of vertical and horizontal segments. In this paper we present linear time algorithms that produce orthogonal drawings of graphs with n vertices. If the maximum degree is four, then the drawing produced by our first algorithm needs area at most (roughly) 0.76 n 2, and introduces at most 2 n + 2 bends. Also, each edge of such a drawing has at most two bends. Our algorithm is based on forming and placing pairs of vertices of the graph. If the maximum degree is three, then the drawing produced by our second algorithm needs at most (roughly) ( 1 4 )n 2 area and, if the graph is biconnected, at most ⌊ n 2 ⌋ + 3 bends. These upper bounds match the upper bounds known for planar graphs of maximum degree 3. This algorithm produces optimal drawings (within a constant of 2) with respect to the number of bends, since there is a lower bound of n 2 + 1 in the number of bends for orthogonal drawings of maximum degree 3 graphs.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.