Recognition and Drawing of Stick Graphs
arXiv:1808.10005
Abstract
A \emph{Stick graph} is an intersection graph of axis-aligned segments such that the left end-points of the horizontal segments and the bottom end-points of the vertical segments lie on a `ground line,' a line with slope . It is an open question to decide in polynomial time whether a given bipartite graph with bipartition has a Stick representation where the vertices in and correspond to horizontal and vertical segments, respectively. We prove that has a Stick representation if and only if there are orderings of and such that 's bipartite adjacency matrix with rows and columns excludes three small `forbidden' submatrices. This is similar to characterizations for other classes of bipartite intersection graphs. We present an algorithm to test whether given orderings of and permit a Stick representation respecting those orderings, and to find such a representation if it exists. The algorithm runs in time linear in the size of the adjacency matrix. For the case when only the ordering of is given, we present an -time algorithm. When neither ordering is given, we present some partial results about graphs that are, or are not, Stick representable.
Appears in the Proceedings of the 26th International Symposium on Graph Drawing and Network Visualization (GD 2018)