The geometric simultaneous embedding problem asks whether two planar graphs on the same set of vertices in the plane can be drawn using straight lines, such that each graph is plane. Geometric simultaneous embedding is a current topic in graph drawing and positive and negative results are known for various classes of graphs. So far only connected graphs have been considered. In this paper we present the first results for the setting where one of the graphs is a matching. In particular, we show that there exist a planar graph and a matching which do not admit a geometric simultaneous embedding. This strengthens an analogous negative result for a planar graph and a path. On the positive side, we describe algorithms that compute a geometric simultaneous embedding of a matching and a wheel, outerpath, or tree. Our drawing algorithms minimize the number of orientations used to draw the edges of the matching. Specifically, when embedding a matching and a tree, we can draw all matching edges horizontally. When embedding a matching and a wheel or an outerpath, we use only two orientations.
Cabello et al. REF showed that a geometric simultaneous drawing of a matching and (a) a wheel, (b) an outerpath or, (c) a tree always exists, while there exist a planar graph and a matching that cannot be drawn simultaneously.
Geometric Simultaneous Embeddings of a Graph and a Matching
J. Graph Algorithms Appl.
J. Graph Algorithms Appl.
Mathematics Computer Science