1 / 34

Monotone Drawings of Graphs

Monotone Drawings of Graphs. Patrizio Angelini, Enrico Colasante, Giuseppe Di Battista, Fabrizio Frati, and Maurizio Patrignani Roma Tre University, Italy. www.dia.uniroma3.it/~compunet. Thanks to Peter Eades. direction of monotonicity. Konstanz Univ. Bellavista Hotel.

harmone
Download Presentation

Monotone Drawings of Graphs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Monotone Drawings of Graphs Patrizio Angelini, Enrico Colasante, Giuseppe Di Battista, Fabrizio Frati, and Maurizio Patrignani Roma Tre University, Italy www.dia.uniroma3.it/~compunet Thanks to Peter Eades

  2. direction of monotonicity Konstanz Univ. Bellavista Hotel

  3. no direction of monotonicity Konstanz Univ. Petershof hotel

  4. monotone paths • monotone path with respect to a half-line l • each segment of the path has a positive projection onto l • monotone path • there exists an l such that the path is monotone with respect to l p2 p1 l

  5. l monotone drawings of graphs • monotone (straight-line) drawing of a graph G • each pair of vertices of G are joined by a monotone path • monotonicity does not imply planarity

  6. overview of the talk • properties of monotone drawings • monotone drawings of trees • monotone drawings of graphs • planar monotone drawings of biconnected graphs • conclusions and open problems

  7. properties of monotone drawings • each pair of adjacent edges forms a monotone path • any subpath of a monotone path is monotone • affine transformations preserve monotonicity • each monotone path is planar • a monotone drawing of a tree is planar not monotone

  8. convex drawings of trees • a convex drawing of a tree is such that replacing edges leading to leaves with half-lines yields a partition of the plane into convex unbounded regions [Carlson, Eppstein, GD’06]

  9. strictly convex drawings of trees • a strictly convex drawing of a tree T is such that: • it is a convex drawing of T • each set of parallel edges of T forms a collinear path • every strictly convex drawing of a tree is monotone

  10. slope-disjoint drawing of trees • slope-disjoint drawing of a tree T • each subtree rooted at vertex v uses an interval of slopes (v, v) where v – v <  • if u is the parent of v you have v < u < s(u,v) < u < v • if v and w are siblings (v, v)  (w, w) =  u u v w v v

  11. slope-disjoint drawing of trees • any slope-disjoint drawing of a tree is monotone • we propose two algorithms: • BFS-based algorithm • constructs a monotone drawing of a tree on a grid of area O(n1.6)  O(n1.6) • DFS-based algorithm • constructs a monotone drawing of a tree on a grid of area O(n2)  O(n)

  12. monotone drawings of graphs • any graph admits a monotone drawing • consider a spanning tree T of the input graph • produce a monotone drawing of T • add the remaining edges • the produced drawings may have crossings even if the input graph is planar is it possible to have planar monotone drawings of planar graphs?

  13. biconnected graphs • a cut-vertex is a vertex such that its removal produces a disconnected graph • a biconnected graph does not have cut-vertices • a separation pair of a biconnected graph is a pair of vertices whose removal produces a disconnected graph • a split pair is either a separation pair or a pair of adjacent vertices

  14. SPQR-tree v u

  15. SPQR-tree v Q u

  16. SPQR-tree v Q u

  17. SPQR-tree v Q u S

  18. SPQR-tree v Q u S Q

  19. SPQR-tree Q S P Q

  20. SPQR-tree Q S P Q S Q Q Q

  21. SPQR-tree Q S P Q R Q S Q Q Q Q Q Q Q

  22. v u skeleton of S SPQR-tree v • each internal node of the tree is associated with a skeleton representing its configuration • the graph represented by node  into its parent  is called the pertinent of  Q u S P Q R Q S Q Q Q Q Q Q Q

  23. convex drawings are monotone • graphs admitting strictly convex drawings [Chiba, Nishizeki, 88] • are biconnected • have an embedding such that each split pair u,v • is incident to the outer face • all its maximal split components, with the possible exception of edge (u,v), have at least one edge on the outer face • any strictly convex drawing of a graph is monotone [Arkin, Connelly, Mitchell, SoCG ‘89] • with similar techniques we show that • any non-strictly convex drawing of a graph such that each set of parallel edges forms a collinear path is monotone

  24. strategy for biconnected graphs • we apply an inductive algorithm to the nodes of the SPQR-tree • a node  of the tree is associated with a quadrilateral shape called boomerang of  and denoted by boom() • the pertinent of  uses a “restricted” range of slopes • the boomerangs of the children of  are arranged into boom() N E W S

  25. strategy for biconnected graphs • invariants on boom() • symmetric with respect to the line through W and E • angle  + 2 < /2 N   E W S

  26. properties of the drawings • the inductive algorithm constructs a drawing  of pert() such that •  is monotone • is contained into boom() • with the possible exception of the edge joining the poles of  • any vertex w of pert() belongs to a path that is a composition of • a path toward N which is monotone with respect to dN and uses slopes in (dN-, dN+) • a path toward S monotone w.r.t. dS and using slopes in (dS-, dS+) N dN   E W dS S

  27. base case: Q-node • if  is a Q-node draw the corresponding edge as a segment from N to S N   E W S

  28. if  is an S-node N  • find the intersection between the two bisectors of  angles • arrange the boomerangs of the children as in the figure • recur on the children using ’ + 2’ < /2  E W S

  29. if  is a P-node N  • split boom() into a suitable number of slices • compute  and  for each slice • recur on the children  E W S

  30. if  is an R-node N • remove the south pole and obtain graph G’ • observe that G’ admits a convex drawing into any convex polygon • draw G’ into a suitable convex polygon in the upper portion of boom() • squeeze the drawing towards the N-E border of boom() in order to make sure that the drawing uses a restricted interval of slopes • compute  and  for each child • recur on the children   E W S

  31. admitting planar and monotone drawings planar simply connected ? admitting strictly convex drawings ? ? planar triconnected trees ? planar biconnected ? ?

  32. conclusions and open problems • address simply connected graphs • determine tight bounds on the area requirements for grid drawings of trees • devise algorithms to construct monotone drawings of non-planar graphs on a grid of polynomial size • construct monotone drawings of biconnected graphs in polynomial area • explore strongly monotone drawings, where each pair of vertices u,v has a joining path that is monotone with respect to the line from u to v

  33. change my embedding if you want me monotone

  34. thank you

More Related