Abstract 1 Introduction 2 Unavoidable patterns in complete bipartite topological graphs 3 Local thrackles 4 Related problems and concluding remarks References

Unavoidable Patterns and Plane Paths in Dense Topological Graphs

Balázs Keszegh ORCID HUN-REN Alfréd Rényi Institute of Mathematics, Budapest, Hungary
ELTE Eötvös Loránd University, Budapest, Hungary
   Andrew Suk ORCID Department of Mathematics, University of California at San Diego, La Jolla, CA, USA    Gábor Tardos ORCID HUN-REN Alfréd Rényi Institute of Mathematics, Budapest, Hungary    Ji Zeng ORCID HUN-REN Alfréd Rényi Institute of Mathematics, Budapest, Hungary
Abstract

Let Cs,t be the complete bipartite geometric graph, with s and t vertices on two distinct parallel lines respectively, and all st straight-line edges drawn between them. In this paper, we show that every complete bipartite simple topological graph, with parts of size 2(k1)4+1 and 2k5k, contains a topological subgraph weakly isomorphic to Ck,k. As a corollary, every n-vertex simple topological graph not containing a plane path of length k has at most Ok(n28/k4) edges. When k=3, we obtain a stronger bound by showing that every n-vertex simple topological graph not containing a plane path of length 3 has at most O(n4/3) edges. We also prove that x-monotone simple topological graphs not containing a plane path of length 3 have at most a linear number of edges.

Keywords and phrases:
graph drawing, topological graph, bipartite geometric graph, forbidden subgraph, extremal graph, thrackle
Funding:
Balázs Keszegh: Supported by the ERC Advanced Grant “ERMiD”, no. 101054936 and by the EXCELLENCE-24 project no. 151504 Combinatorics and Geometry of the NRDI Fund.
Andrew Suk: Supported by NSF grant DMS-2246847.
Gábor Tardos: Supported by ERC Advanced Grants “GeoScape”, no. 882971 and “ERMiD”, no. 101054936.
Ji Zeng: Supported by ERC Advanced Grants “GeoScape”, no. 882971 and “ERMiD”, no. 101054936.
Copyright and License:
[Uncaptioned image] © Balázs Keszegh, Andrew Suk, Gábor Tardos, and Ji Zeng; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Mathematics of computing Extremal graph theory
; Mathematics of computing Graphs and surfaces
Related Version:
Full version: https://arxiv.org/pdf/2512.04795 [16]
Funding:
This material is based upon work supported by the National Science Foundation under Grant No. DMS-1928930, while the authors were in residence at the Simons Laufer Mathematical Sciences Institute in Berkeley, California, during the 2025 Extremal Combinatorics Program.
Editors:
Hee-Kap Ahn, Michael Hoffmann, and Amir Nayyeri

1 Introduction

A topological graph is a graph drawn in the plane such that its vertices are represented by points and its edges are represented by non-self-intersecting arcs connecting the corresponding points. No edge is allowed to pass through any point representing a vertex other than its endpoints. Tangencies between the edges are not allowed. That is, if two edges share an interior point, then they must properly cross at this point. A topological graph is called plane if there are no crossing edges. Given a topological graph G, we say that H is a topological subgraph of G if V(H)V(G) and E(H)E(G). We say that G and H are weakly isomorphic if there is an incidence preserving bijection between the vertices and edges of G and H such that two edges of G cross if and only if the corresponding edges in H cross as well. A topological graph is simple if every pair of its edges intersect at most once: at a common endpoint or at a proper crossing. Simple topological graphs are also known as simple drawings. If the edges of a topological graph are drawn with straight-line segments, then it is called geometric. We call a geometric graph convex if its vertices are in convex position.

In this paper, we are interested in finding large unavoidable patterns in dense simple topological graphs, and in particular, finding large plane paths. Let us emphasize here that a path of length k consists of k+1 distinct vertices and k edges. It is not hard to see that the simple condition here is necessary for plane paths, as one can easily draw Kn in the plane such that every pair of edges cross. Moreover, a construction due to Pach and Tóth [19] shows that there is a drawing of Kn in the plane such that every pair of edges crosses exactly once or twice. In 2003, Pach, Solymosi, and Tóth [20] showed that every complete n-vertex simple topological graph contains a topological subgraph on Ω(log1/8(n)) vertices that is weakly isomorphic to either a complete convex geometric graph or a so-called complete twisted graph. This bound was later improved by Suk and Zeng [27] to (logn)1/4o(1). In 1998, Negami proved a bipartite analogue of this theorem. Let Cs,t be a complete bipartite geometric graph with vertex sets U and V, where |U|=s and |V|=t, such that the vertices in U lie on the y-axis and the vertices in V lie on the vertical line x=1. (It is easy to see that Cs,t is determined up to weak isomorphism independent of the exact placement of the vertices on these vertical lines.) In [18], Negami showed that for every k>1, there is a minimum integer n=n(k) such that every complete bipartite simple topological graph with n vertices in each part contains a topological subgraph weakly isomorphic to Ck,k. The proof in [18] is based on 4-uniform hypergraph Ramsey theory and no explicit bound for n(k) is given. By applying more geometric arguments, we establish the following stronger result.

Theorem 1.

Every complete bipartite simple topological graph with vertex sets U and V, where |U|>2(k1)4 and |V|2k5k, contains a topological subgraph weakly isomorphic to Ck,k.

We suspect that Theorem 1 still holds if |V| is at least single exponential in a power of k, rather than double exponential in Ω(klogk). On the other hand, our next result shows that the size of UV needs to be at least exponential in k/2.

Proposition 2.

For every positive integer k there exists a complete simple topological graph on 2k/2 vertices that does not contain a topological subgraph weakly isomorphic to Ck,k.

Very recently, Balogh, Parada, and Salazar [5] extended Negami’s result to complete multipartite simple topological graphs. Let us remark that our quantitative bound for the bipartite case, i.e. Theorem 1, is particularly interesting, because we can combine it with the celebrated Kővári-Sós-Turán theorem to conclude the following statement.

Theorem 3.

Every n-vertex simple topological graph without a topological subgraph weakly isomorphic to Ck,k has at most Ok(n2ϵ(k)) edges with ϵ(k)=(2(k1)4+1)1.

It is an interesting open question to determine the optimal value of ϵ(k) in the theorem above.

An old conjecture due to Rafla [23] predicts that every complete n-vertex simple topological graph contains a plane Hamiltonian cycle for n3. This has been verified for small n and is open for n10 (see [1]). The much weaker conjecture of finding a linear size plane matching in a complete n-vertex simple topological graph has been extensively studied [26, 3, 25]. The best known result for this problem is due to Aichholzer–García–Tejel–Vogtenhuber–Weinberger [3], who showed the existence of a plane matching of size Ω(n). Even less is known about plane paths. Recently, it is proved [3, 27] that every complete n-vertex simple topological graph contains a plane path of length Ω(logn/loglogn). Since one can easily find a plane path of length k in Ck/2,k/2, we can apply Theorem 3 to obtain the following corollary.

Corollary 4.

Every n-vertex simple topological graph not containing a plane path of length k has at most Ok(n28/k4) edges.

Next, we concentrate on the case of Corollary 4 when k=3, that is, on simple topological graphs with no plane path of length 3. Such graph drawings can be regarded as a local variant of the so-called thrackles. A thrackle is a simple topological graph such that every pair of edges that do not share a vertex must cross. The famous thrackle conjecture of Conway states that a thrackle with n vertices has at most n edges, see [22] for a detailed history of the problem. For the special case of geometric graphs, the thrackle conjecture is proved by Erdős, and later, a short proof is given by Perles (see [22]). The proof of Perles also works if the drawing is outerplanar [7], i.e., if the points lie on the boundary of a disk and the edges lie inside this disk. The case that the edges are x-monotone is settled by Pach and Sterling [22]. In general, after a long series of improvements (Lovász–Pach–Szegedy [17] proved 2n, Cairns–Nikolayevsky [6] proved 1.5n, improved further by Fulek–Pach [11, 12] and Goddyn–Xu [13]), the current best upper bound on the number of edges of an n-vertex thrackle is 1.393(n1) by Xu [30]. Apart from improvements on the upper bound, several papers consider variations of thrackles, in particular generalized thrackles [6], superthrackles [8], thrackles on surfaces [14], and thrackles of convex sets [4, 15].

We call a simple topological graph with no plane path of length 3 a local thrackle. Note that every thrackle is a local thrackle, but the two notions do differ. For example, consider the graph G on 6 vertices and 7 edges obtained from two disjoint copies of K3 and an edge between them. Then G does not have a thrackle drawing (see, e.g., [29]), but G does have a local thrackle drawing (see full version for such a drawing [16]). However, our next result shows that the number of edges in a local thrackle with straight-line edges cannot be larger than n, just like in the case of thrackles.

Proposition 5.

A local thrackle on n vertices and with straight-line segments as edges has at most n edges.

Our proof in fact gives a characterization of the graphs that have a local thrackle drawing with segments. On the other hand, already with x-monotone edges one can draw a local thrackle with more than n edges, unlike in the case of thrackles.

Proposition 6.

A local thrackle on n vertices and with x-monotone edges has at most 43n edges, while there exist local thrackles on n vertices with x-monotone edges and with 65nO(1) edges.

For the general case, we have a slightly better construction and an upper bound which improves the bound that comes from Corollary 4.

Proposition 7.

A local thrackle on n vertices has at most O(n4/3) edges, while there exist local thrackles on n vertices and with 2nO(n) edges.

Notice that the lower bound construction for the general case has more edges than the upper bound for the x-monotone case.

Our paper is organized as follows. In the next section, we prove Theorem 1 and Proposition 2. In Section 3, we establish our results on local thrackles, proving Propositions 5, 6, and 7. Finally, in Section 4, we give some concluding remarks. We systematically omit floors and ceilings whenever they are not crucial for the sake of clarity in our presentation. All logarithms are in base 2.

2 Unavoidable patterns in complete bipartite topological graphs

In this section, we prove Theorem 1. We will need the following combinatorial lemmas. Let G be an ordered graph with vertex set U={u1,u2,,un}. We say that G contains a monotone path of length k if there are k+1 indices 1i0<i1<<ikn such that uijuij+1E(G) for all 0i<k. We say that G is transitive if for any 1i1<i2<i3n, the condition ui1ui2,ui2ui3E(G) implies that ui1ui3E(G). We will need the following three simple observations. The first is self evident, for the second we provide a simple proof to be self contained. The last one is a well known estimate of the multicolor Ramsey numbers.

Lemma 8.

The vertices of a monotone path induce a clique in a transitive ordered graph.

Lemma 9.

Let t and m be positive integers. If G is a complete ordered graph on n>tm4 vertices whose edges are colored with five colors, then either there exists an m-edge monochromatic monotone path in G in one of the first four colors, or there exists a monochromatic clique of size t+1 in the fifth color.

Proof.

Label each vertex v of G by the four-tuple (l1,l2,l3,l4), where li is the edge number of the longest monotone path in color i ending at v. If any of these paths have at least m edges we are done. If this is not the case, then all the labels are from {0,,m1}4, so by the pigeonhole principle, some t+1 vertices must share the same label. We claim that these vertices induce a monochromatic clique in the fifth color. Indeed, assume the vertex u precedes vertex v in the vertex order and the edge uv receives color i. Consider the longest monotone path in color i ending at u. Extending this path with the uv edge we get a longer monotone path in color i ending at v showing that u and v cannot share the same label unless i=5. This proves the lemma.

Let r(k;r) be the minimum integer n such that every r-coloring of the edges of the complete graph on n vertices contains a monochromatic clique on k vertices. The existence of r(k;r) follows by the famous theorem of Ramsey [24], and following the arguments of Erdős–Szekeres [9], we have

Lemma 10.

r(k;r)<rrk.

Proof of Theorem 1.

Let G be a complete bipartite simple topological graph whose vertex set is UV, where |U|=m>2(k1)4 and |V|=n2k5k. We assume without loss of generality that m=2(k1)4+1 (otherwise we simply ignore the extra vertices in U). There is nothing to prove when k=1. When k=2, since K3,3 is not planar, we can find a pair of crossing edges u1v1 and u2v2 in G, and as G is simple, the induced topological subgraph on u1,u2,v1,v2 is weakly isomorphic to C2,2. Therefore, we assume k3 for the rest of this proof.

By arbitrarily ordering the elements in U and V, we have U={u1,,um}, and V={v1,,vn}. For each 4-tuple ui,ujU and vs,vtV, where i<j and s<t, let us consider the drawing of K2,2 induced on these vertices. Note that as we have a simple topological graph, only non-adjacent edges can cross, that is, uivs may cross ujvt or uivt may cross ujvs. If both of these pairs of edges cross, then we obtain a thrackle drawing of C4 and a small case-analysis shows that such a drawing does not exist. So we have three possibilities, either the first pair cross, or the second pair, or it is a plane drawing. We further refine this classification according to the orientation of the vertices around the crossing point obtaining the following five order types. When speaking about the order of the vertices around the crossing point we mean the cyclic order of the edge-segments going to these vertices.

  1. 1.

    The 4-tuple {ui,uj,vs,vt} is of type 1 if edge uivt crosses edge ujvs, and moreover, vertices (ui,vs,vt,uj) appear in clockwise order from the crossing point of uivt and ujvs.

  2. 2.

    The 4-tuple {ui,uj,vs,vt} is of type 2 if edge uivt crosses edge ujvs, and moreover, vertices (ui,uj,vt,vs) appear in clockwise order from the crossing point of uivt and ujvs.

  3. 3.

    The 4-tuple {ui,uj,vs,vt} is of type 3 if edge uivs crosses edge ujvt, and moreover, vertices (ui,vt,vs,uj) appear in clockwise order from the crossing point of uivs and ujvt.

  4. 4.

    The 4-tuple {ui,uj,vs,vt} is of type 4 if edge uivs crosses edge ujvt, and moreover, vertices (ui,uj,vs,vt) appear in clockwise order from the crossing point of uivs and ujvt.

  5. 5.

    The 4-tuple {ui,uj,vs,vt} is of type 5 if it induces a plane drawing of K2,2.

Figure 1: A drawing of each of the five types of C4’s.

See Figure 1. For vs,vtV and w{1,2,3,4,5}, let Gs,t(w) be the ordered graph whose vertex set is U, and edges are pairs of vertices {ui,uj} such that the 4-tuple {ui,uj,vs,vt} is of type w.

We claim that the ordered graph Gs,t(w) is transitive for w{1,2,3,4}, that is, with respect to the first four order types. We verify the statement for Gs,t(1). For i<j<, suppose that {ui,uj} and {uj,u} are edges in Gs,t(1). Consider the drawing of K2,2 induced by the 4-tuple {ui,uj,vs,vt}, specifically the “triangle” formed by uj, vt and the crossing point between ujvs and uivt. Since (uj,vs,vt,u) must appear in clockwise order from the crossing point of ujvt and uvs, we must exit the “triangle” at this crossing point as we travel along uvs from vs to u. This implies that uvs crosses both ujvt and uivt. Further, u, vs, and vt must appear in the same cyclic order from the crossing point of ujvt and uvs as well as from the crossing point of uivt and uvs. The former is clockwise order from the assumption {uj,u}E(Gs,t(1)), so the latter also clockwise implying {ui,u}E(Gs,t(1)) as claimed. See Figure 2. The transitivity property of Gs,t(2),Gs,t(3), and Gs,t(4) can be argued similarly, or be reduced to the case of Gs,t(1) by reversing the vertex orders on U or V. For example, a type 3 quadruple {ui,uj,vs,vt} would have been type 1 if we had ordered the vertices in U the same but in V reversely.

Figure 2: Proof of transitivity of Gs,t(1).

Since |U|>2(k1)4, by combining Lemmas 8, 9, and the fact that Gs,t(w) is transitive when w{1,2,3,4}, we have the following observation.

Claim 11.

For each pair vs,vtV, there is a subset SU such that either

  1. 1.

    |S|=k, and S induces a clique in Gs,t(w) for some w{1,2,3,4}, or

  2. 2.

    |S|=3, and S induces a clique (i.e., a triangle) in Gs,t(5).

This claim implies that we can label the edge vsvt of the complete graph on V with a pair (S,i), where i{1,,5} and SU is a clique in Gs,t(i) of size 3 if i=5 or of size k otherwise. In case there are more possible labels we choose arbitrarily. For k7, using |U|=2(k1)4+12k4, the number of distinct labels we use on the edges is at most

r(k):=4(|U|k)+(|U|3)5(2k4k)5(2ek3)kk4k.

And we can further estimate using k7

r(k)r(k)k<2k5k.

For k=3,4,5,6, the upper bound for r(k) is too crude, but we can verify the previous inequality by direct computation.

Applying Lemma 10 together with |V|2k5k, there is a subset TV of size k such that every pair in T has the same label (S,i). Let us consider the topological subgraph G induced on ST. The proof now falls into the following cases.

Case 1. Suppose |S|=k and i{1,2,3,4}. We can assume that i=1, since a symmetric argument would follow otherwise. Then for ui,ujS and vs,vtT, where i<j and s<t, {ui,uj,vs,vt} is of type 1, and therefore, uivt crosses ujvs. Hence, G is weakly isomorphic to Ck,k.

Case 2. Suppose |S|=3 and i=5. Then G is a plane drawing of K3,k. This is impossible as k3.

2.1 Construction: Proof of Proposition 2

Here we show that one needs exponentially many vertices in a simple topological graph – even in a simple complete topological graph – to ensure the presence of a subgraph weakly isomorphic to Ck,k. Note however, that this lower bound does not match the doubly exponential bound in Theorem 1.

Fix k3. We construct a large random simple complete topological graph as follows, and show that with positive probability it has no subgraph weakly isomorphic to Ck,k. Set n=2k/2. Let U be a set of n points placed on the x-axis. This will be the vertex set of the graph we construct. For each pair u,vU, draw an edge connecting u and v as a half-circle in the upper or lower half of the plane uniformly at random and independently for each pair (u,v). Clearly, this will result in a simple drawing of Kn in the plane.

Consider four vertices u1,u2,u3,u4U that appear in this order on the x axis. These vertices induce a drawing of K4 in which only the edges u1u3 and u2u4 cross if and only if they are drawn in the same half plane. If these two edges are drawn in distinct half planes we obtain a plane drawing of K4.

Let S,TU be disjoint sets of size k and let us calculate the probability that the edges between S and T form a subgraph weakly isomorphic to Ck,k. First note that Ck,k has no subgraph that is a plane drawing of C4, so for the weak isomorphism we need that for every uuS and vvT some two edges between {u,u} and {v,v} cross. This implies that the order on x axis cannot alternate between the vertices in S and the vertices of T, because in that case the subgraph is a plane drawing with probability one. This implies that either S can be split into two sets S1 and S2, so that all vertices in S1 are to the left of the vertices of T and all vertices in S2 are to the right of the vertices in T, or T can be split in two sets, one to the left and one to the right of S. We call such pairs separated.

Now let S and T be two separated k-element set of vertices. We may assume that S splits into S1 and S2 as above and S1 is not empty (otherwise, switch the roles of S and T). Let v0 and v1 be the leftmost and rightmost vertices in T, respectively, while u1 is the rightmost vertex in S1 and u0 is the leftmost vertex in S2, or in case S2 is empty, then u0 is the leftmost vertex in S1. We claim that the subgraph formed by the edges between S and T is weakly isomorphic to Ck,k if and only if all of its edges, with the possible exception of u1v0 and u0v1, are drawn in the same (upper or lower) half plane. The if part of this equivalence is easy to check (and strictly speaking, not even needed for our argument). For the only if part assume without loss of generality that u1v1 is drawn in the upper half plane. Now consider two other vertices: u1uS and v1vT. If uv is drawn in the lower half plane, then the 4-cycle u1v1uv is a plane drawing, so we do not have the desired weak isomorphism. So the weak isomorphism implies that all of these edges are drawn in the upper half plane including the edge u0v0. But then a similar argument shows that all the edges uv with u0uS and v0vT must also be drawn in the upper half plane. This covers all the edges mentioned in the claim.

As a result, the probability that the edges between the separated sets S and T form a subgraph weakly isomorphic to Ck,k is exactly 2k2+3 and therefore the expected number of subgraphs weakly isomorphic to Ck,k is exactly

k(n2k)2k2+3.

By our choice of n=2k/2 and k3, this is less than 1, so the random drawing of Kn contains no subgraph weakly isomorphic to Ck,k with positive probability.

3 Local thrackles

We say that a graph G is thrackleable (local thrackleable) if G has a thrackle drawing (local thrackle drawing). Likewise, we say that G is geometric local thrackleable if there is a drawing of G with straight-line edges that is a local thrackle.

Let us first consider the case when edges are drawn as straight-line segments. In this case, we can even classify all geometric local thrackleable graphs following the arguments of Woodall [29]. We prove Proposition 13 below which implies Proposition 5. A caterpillar is a tree in which each vertex is adjacent to at most two non-leaf vertices. A spiked cycle is a connected graph with one cycle such that every vertex not on this cycle has degree one. The length of a spiked cycle is the length of its unique subgraph that is a cycle. Let us first recall Woodall’s characterization of geometric thrackles [29] using these definitions:

Theorem 12.

A graph can be drawn as a thrackle with straight-line segments as edges if and only if either it is a union of disjoint caterpillars, or it is a spiked cycle of odd length with some additional isolated vertices.

Our characterization of geometric local thrackles is the following:

Proposition 13.

A graph can be drawn as a local thrackle with straight-line segments as edges if and only if it is the disjoint union of caterpillars, spiked cycles of odd length and spiked cycles of even length at least eight.

Proof.

First, we argue that if a graph G contains a vertex v with at least three non-leaf neighbors, then G is not geometric local thrackleable. See Figure 3 for two such graphs with G1 already covered in [29]. Indeed, if v has three non-leaf neighbors, then in any straight line drawing, one of them “splits” the neighborhood of v, that is, v has neighbors in both sides of the line of the edge vw for some non-leaf neighbor w. But as w is no leaf it has another neighbor wv and in any local thrackle drawing ww intersects (crosses or has a common endpoint with) every edge incident to v, which is only possible if w does not split the neighborhood, a contradiction.

Figure 3: Two forbidden subgraphs G1 (left) and G2 (right) for geometric local thrackles.

Let us remove all the leaves of a geometric local thrackleable graph G. The observation above implies that the remaining graph has maximum degree at most 2, so it is the disjoint union of paths and cycles. This implies that G is the disjoint union of caterpillars and spiked cycles. To finish the only if part of the proposition we are left to show that C4 and C6 are not geometric local thrackleable. It is easy to see that if C4 is drawn as a local thrackle, then this drawing must be a thrackle. The same holds true for C6 as we shall prove in Lemma 15 (although for straight line drawings the case analysis could be shortened). On the other hand, it follows from Theorem 12 that even cycles are not geometric thrackleable (C4 is not even thrackleable), hence C4 and C6 are not geometric local thrackleable.

For the if part of proposition, notice that the components of G can be drawn pairwise disjointly, so it is enough to prove that caterpillars, odd spiked cycles and even spiked cycles of length at least 8 are geometric local thrackleable. The first two cases are already handled by Theorem 12 (as those graphs are geometric thrackleable), so here we concentrate on even spiked cycles. Let n8 be even. We first place vertices v1,v2,,vn3 on the circle according to the following clockwise order: v1,v3,v5,,vn3, v2,v4,,vn4. Then we put vn2 on the clockwise arc v1v3, vn1 on the clockwise arc v2v4, and vn on the clockwise arc vn5vn3. Observe that we obtain a geometric local threackle drawing of Cn by connecting vivi+1 using straight-line segments. See Figure 4 for an illustration. Finally, we can choose an interval on the cycle for each vi such that if we place the leaf neighbors of vi on this intervals the resulting drawing is still a local thrackle.

Figure 4: C8 can be drawn as a linear local thrackle, and with a spike u attached to v1.

We continue with the case when edges are drawn x-monotone.

Proof of Proposition 6.

For the lower bound we give a construction with 6/5nO(1) edges. See Figure 5. First, we draw a path as seen on the top of Figure 5 as a local thrackle. Then we make a translated copy of this path as seen on the middle of Figure 5, this is clearly still a local thrackle. Finally, we add further paths of length 2, one of them is drawn blue on the middle of Figure 5, and moreover, one can check that adding this one path maintained that the drawing is a local thrackle. All such blue paths are drawn on the bottom of Figure 5, where it is not hard to check that the drawing gives a simple topological graph and also it is still a local thrackle (the blue 2-paths are far enough in the graph, thus no planar 3-path can be created when adding all blue 2-paths, if adding one did not create a planar 3-path), finishing the construction. Note that we connected using a 2-path every second vertex of one path with the corresponding vertex of the second path, thus when extending the construction with 2 vertices on each path plus a vertex to add the 2-path joining, we added 5 vertices and 6 edges. Thus, the number of edges is 6/5nO(1) (the constant error comes from the fact that close to the two ends of the two paths some edges are missing).

For the upper bound, let G be a local thrackle with x-monotone edges. We may assume that every vertex has degree at least one. We distinguish three types of vertices. A vertex that has no edges going to the left (resp. right) is called a left-vertex (resp. right-vertex). A vertex that has edges in both directions is called a middle-vertex. Assume there are l left-vertices, r right-vertices and m middle-vertices, l+r+m=n.

At each left-vertex, delete the incident edge that leaves highest at this vertex. Delete at each right-vertex the incident edge that leaves lowest at this vertex. We have deleted at most l+r edges. Notice that if there is a remaining edge between a left-vertex and a right-vertex, then together with the 2 deleted edges incident to these vertices, we get a plane 3-path, a contradiction. Therefore, no edge is left between a left- and a right-vertex. Similarly, if a middle-vertex is connected to two left-vertices in the remaining graph, then adding the deleted edge of the left-vertex on the higher of these two edges, we obtain a plane 3-path. The contradiction shows that every middle vertex is connected to at most one left-vertex in the remaining graph.

Next, we claim that the remaining edges connecting the left-vertices and middle-vertices form a matching. After the observation above it is enough to show that any left-vertex has at most one middle-vertex neighbor. Indeed, otherwise take two edges from a left-vertex to middle-vertices and two more edges going right from these middle-vertices. It is easy to see that one of the 3-paths in the obtained 4-path or 4-cycle must be plane, a contradiction. Therefore, the number of remaining edges connecting left- and middle vertices is at most min(l,m).

Similarly, there are at most min(r,m) edges between the right-vertices and middle-vertices left in the graph. No edge connects two middle-vertices because that would lead to an x-monotone (therefore plane) 3-path. Putting everything together, our original graph has at most l+r+min(l,m)+min(r,m) edges. Assume without loss of generality that rl. Then this is at most l+r+m+min(l,r,m)=n+min(l,r,m)n+n/3=4n/3.

Figure 5: Two paths (black and red) joined by additional 2-paths (blue) drawn as a local thrackle with x-monotone edges.

For the case of general local thrackles we need the following statements. Let Θ3 denote a graph consisting of two vertices connected by three internally-disjoint paths of length three. That is, Θ3 is a graph with 8 vertices and 9 edges.

Theorem 14 ([10]).

A graph that does not contain Θ3 as a subgraph has at most O(n4/3) edges.

Lemma 15.

Any local thrackle drawing of C6 is also a thrackle drawing of C6.

Proof.

Fulek and Pach [11] invented a computational approach to check whether a given graph is thrackleable. In fact, as we shall describe, their method is more general and can check whether any crossing pattern can be realized as a simple drawing or not. Let G=(V,E) be an oriented graph. (We need the orientation for reference purposes only.) Suppose we are given an ordered list (e) consisting of elements in Ee for each eE, with the property that f(e) if and only if e(f), then we can construct an auxiliary graph H through the following procedure:

  1. 1.

    (Planarization) For every eE directed from u to v, we replace the edge e={u,v} by a path from u to v, through the vertices named as {e,f} with f(e) following the order of (e). Here, we introduce new vertices {e,f} if necessary.

  2. 2.

    (Subdivision) For each edge between two new vertices created in the planarization step, we replace it with a path of length two, by inserting an additional vertex.

  3. 3.

    (Bracing) For each new vertex v={e,f} created in the planarization step, there will be exactly four vertices a,b,c,d adjacent to v (they may be original vertices in V or new vertices introduced in subdivision step), where a,b are adjacent to v along segments of of e and c,d are adjacent to v along segments of f. We create the edges {a,c}, {a,d}, {b,c}, and {b,d}.

We remark that here {e,f} is unordered, so it will be considered in the planarization steps for e and f respectively, which will give it exactly four neighbors.

Claim 16.

The following two statements are equivalent: (i) There exists a drawing of G where the crossings on each edge e, along its direction, are exactly those between e and f with f(e) in this order. (ii) The graph H constructed above according to G and is planar.

We give a brief explanation to this claim. Suppose G has such a drawing, then we can turn it into a plane drawing by turning each crossing point into a new vertex (planarization). Next, we can subdivide each edge between the crossing points once (subdivision). Finally, we connect the neighbors of each crossing point in their cyclic order (bracing). This can be done easily such that the resulting drawing is still plane, implying that H is planar; On the other hand, suppose we have a plane drawing of H, we can draw any edge e of G, directed from u to v, along the path from u to v in H created in planarization. The vertices created in the subdivision step serve as a guide on which path to follow at a crossing point. The bracing structures will enforce the edges drawn to cross properly without tangencies. This will give a drawing of G as wanted.

Following this approach, we used a computer program to verify Lemma 15. To prove this lemma, it suffices for us to take G=C6, direct its edges arbitrarily, create every possible crossing list that obeys the local thrackle condition, construct H and test for its planarity. If all such H except for those corresponding to thrackles are not planar, then we can conclude the proof. A source code for such a computer program is given in the full version of this paper [16].

Figure 6: The 1-subdivision of a star drawn as a local thrackle.
Figure 7: Subdivided K3,3 drawn as a local thrackle. The intersections among the edges of the subdivided stars centered at wi are hidden inside the dotted circles, each of them hiding a drawing that looks like the drawing on Figure 7 (with wi and V on this figure playing the role of v1 and W on Figure 7, respectively).
Theorem 17 (Theorem 5.1 in [17]).

A thrackleable graph cannot contain Θ3 as a subgraph.

We show the following strengthening of the above theorem:

Claim 18.

A local thrackleable graph cannot contain Θ3 as a subgraph.

Proof.

Assume on the contrary, then Θ3 can be drawn as a local thrackle. By Theorem 17 this is not a thrackle, therefore there are two independent edges that do not cross. The only way this can happen is that there is a subgraph C6 drawn such that a pair of opposite edges do not cross. This is a local thrackle drawing of a C6 which is not a thrackle drawing, contradicting Lemma 15, finishing the proof.

Claim 19.

The 1-subdivision of the complete graph Kn,n is local thrackleable.

Proof.

First we show that a 1-subdivision of a star Sn is local thrackleable. For that see Figure 7. Note that outside of an area that can be made arbitrarily small (the inside of the dotted circle on the figure), the edges incident to the center can be drawn close to each other and the edges incident to the leaves can be drawn parallel. That is, every 2-path starting at v1 goes very close to a given 2-path (say the one joining v1 to w1) and only in a small vicinity of the middle vertex of this given 2-path do these 2-paths intersect each other. Note that the cyclic order of the paths around vi is reversed by the time they reach the wi’s.

We have a drawing of the 1-subdivision of the star Sn with center v1 and leaves W={w1,,wn}. Now we draw n copies of this graph so that the leaves are identified to get the drawing of the graph G which is the 1-subdivision of Kn,n. The way we do it is that we put n1 more vertices, v2,,vn, close to v1 and draw the new edges in the following way. For each wi, we had one 2-path going to v1 and we need n1 more 2-paths going to v2,,vn. We draw them the same way as we created the original star, just now wi is the center and the 2-path from wi to v1 is the 2-path close to which all the other 2-paths go (and they only intersect in a small vicinity of the middle vertex of the 2-path from wi to v1). We denote V={v1,vn}.

We draw the edges in the vicinity of v1 such that they intersect pairwise at most once and two edges with a common endpoint vi do not cross. See Figure 7, the dashed rectangle is the vicinity of v1 where such crossings happen.

Finally, we are left to prove that this is a local thrackle. It is easy to check we have a simple drawing. It remains to check that no 3-edge path is planar. For this, notice that any 3-path contains exactly one vertex from V and W respectively. This implies that the 3 edges of any 3-path belong to a 1-subdivision of a star that was drawn as a local thrackle. For v1 this follows from our drawing of Sn, for other vi it follows from the fact that these edges go close to the respective edge from v1, and for wi it again follows from the fact that at wi we drew the edges in distance two as a local thrackle.

Proof of Proposition 7.

The upper bound directly follows from Theorem 14 and Claim 18. The lower bound follows from Claim 19 by observing that in a 1-subdivision of Kn,n we have n2+2n vertices and 2n2 edges.

Note that Claim 19 implies that the 3-subdivision of Kn is local thrackleable, which implies that the 3-subdivision of any graph is local thrackleable. Therefore arguments that rely on forbidden subdivided copies of some graph (e.g., planarity arguments) won’t work when trying to improve the upper bound in Proposition 7.

In the full version of this paper [16] we give further examples of local thrackles.

4 Related problems and concluding remarks

1.

A dual version of Proposition 6 was obtained by Pach, Pinchasi, Tardos, and Tóth in [21], who proved that every n-vertex x-monotone simple topological graph with no self-intersecting path of length 3 has at most O(nlogn) edges. Moreover, they showed that this bound is asymptotically tight. For fixed k3, a construction due to Tardos [28] shows that there are geometric graphs with no self-intersecting path of length k and with a superlinear number of edges. Pach, Pinchasi, Tardos, and Tóth in [21] also showed that every n-vertex topological graph (not necessarily simple) with no self-intersecting path of length 3 has at most O(n3/2) edges. In the full version of the paper [16], we give a short proof of the following variant.

Theorem 20.

Every n-vertex simple topological graph G with no self-intersecting path of length 4 has at most O(nlog2n) edges.

2.

Two topological graphs G and H are isomorphic if there is a homeomorphism of the sphere that transforms G to H, where this sphere is the one-point compactification of the plane we draw the graphs on. The proof of Theorem 1 finds more than a weak-isomorphic copy of Ck,k any simple drawing of a large enough complete graph. The drawing of Kk,k we find as a subgraph agrees with Ck,k in its extended rotation system, that is, the cyclic orders of edges emanating from all vertices and crossings. According to Theorem 1 in the recent paper [2], this determines H up to triangle flips followed by an isomorphism. Here, a triangle flip refers to the operation of moving one edge of a triangular cell formed by three pairwise crossing edges over the opposite crossing of the two other edges.

3.

The following 4-uniform hypergraph Ramsey problem was also studied independently by Negami [18] and Mathias Schacht (private communication). Let Sa,b=(U,V,E) be the 4-uniform hypergraph with the vertex set the disjoint union of U and V, where |U|=a and |V|=b, such that E(Sa,b)={{x,y,z,w}:xy,zw,x,yU, and z,wV}. What is the minimum integer r(Sn,n)=N such that for any red/blue coloring of the edges of SN,N, there is a monochromatic copy of Sn,n? Following the arguments given in Section 2, one can show that r(Sn,n)<22O(n2), while a standard probabilistic argument shows that r(Sn,n)>2Ω(n3).

References

  • [1] Bernardo M Ábrego, Oswin Aichholzer, Silvia Fernández-Merchant, Thomas Hackl, Jürgen Pammer, Alexander Pilz, Pedro Ramos, Gelasio Salazar, and Birgit Vogtenhuber. All good drawings of small complete graphs. In Proc. 31st European Workshop on Computational Geometry (EuroCG), pages 57–60, 2015.
  • [2] Oswin Aichholzer, Man-Kwun Chiu, Hung P Hoang, Michael Hoffmann, Jan Kynčl, Yannic Maus, Birgit Vogtenhuber, and Alexandra Weinberger. Drawings of complete multipartite graphs up to triangle flips. Journal of Computational Geometry, 15(2):124–173, 2024.
  • [3] Oswin Aichholzer, Alfredo García, Javier Tejel, Birgit Vogtenhuber, and Alexandra Weinberger. Twisted ways to find plane structures in simple drawings of complete graphs. Discrete & Computational Geometry, 71(1):40–66, 2024. doi:10.1007/S00454-023-00610-0.
  • [4] Megumi Asada, Ryan Chen, Florian Frick, Frederick Huang, Maxwell Polevy, David Stoner, Ling Hei Tsang, and Zoe Wellner. On Reay’s relaxed Tverberg conjecture and generalizations of Conway’s thrackle conjecture. The Electronic Journal of Combinatorics, 25(3):#P3.16, 2018.
  • [5] József Balogh, Irene Parada, and Gelasio Salazar. The unavoidable drawings of complete multipartite graphs. arXiv preprint, 2025. arXiv:2509.20625.
  • [6] Grant Cairns and Yury Nikolayevsky. Bounds for generalized thrackles. Discrete & Computational Geometry, 23:191–206, 2000. doi:10.1007/PL00009495.
  • [7] Grant Cairns and Yury Nikolayevsky. Outerplanar thrackles. Graphs and Combinatorics, 28:85–96, 2012. doi:10.1007/S00373-010-1010-1.
  • [8] Hooman Dehkordi and Graham Farr. Thrackles, superthrackles and the Hanani-Tutte theorem. Journal of Graph Algorithms and Applications, 28(1):95–127, May 2024. doi:10.7155/JGAA.V28I1.2930.
  • [9] Pál Erdős and György Szekeres. A combinatorial problem in geometry. Compositio Mathematica, 2:463–470, 1935.
  • [10] Ralph J Faudree and Miklós Simonovits. On a class of degenerate extremal graph problems. Combinatorica, 3:83–93, 1983. doi:10.1007/BF02579343.
  • [11] Radoslav Fulek and János Pach. A computational approach to Conway’s thrackle conjecture. Computational Geometry, 44(6-7):345–355, 2011. doi:10.1016/J.COMGEO.2011.02.001.
  • [12] Radoslav Fulek and János Pach. Thrackles: An improved upper bound. Discrete Applied Mathematics, 259:226–231, 2019. doi:10.1016/J.DAM.2018.12.025.
  • [13] Luis Goddyn and Yian Xu. On the bounds of Conway’s thrackles. Discrete & Computational Geometry, 58:410–416, 2017. doi:10.1007/S00454-017-9877-8.
  • [14] César Hernández-Vélez, Jan Kynčl, and Gelasio Salazar. Thrackles on nonplanar surfaces. arXiv preprint, 2025. arXiv:2506.11808.
  • [15] Balázs Keszegh and Dániel Simon. Convex hull thrackles. Discrete Mathematics, 349(3):114840, 2026. doi:10.1016/J.DISC.2025.114840.
  • [16] Balázs Keszegh, Andrew Suk, Gábor Tardos, and Ji Zeng. Unavoidable patterns and plane paths in dense topological graphs. arXiv preprint, 2025. arXiv:2512.04795.
  • [17] László Lovász, János Pach, and Mario Szegedy. On Conway’s Thrackle Conjecture. Discrete & Computational Geometry, 18:369–376, 1997. doi:10.1007/PL00009322.
  • [18] Seiya Negami. Ramsey-type theorems for spatial graphs and good drawings. Journal of Combinatorial Theory, Series B, 72:53–62, 1998. doi:10.1006/JCTB.1997.1783.
  • [19] J. Pach and G. Tóth. Disjoint edges in topological graphs. Journal of Combinatorics, 1:335–344, 2010.
  • [20] János Pach, József Solymosi, and Géza Tóth. Unavoidable Configurations in Complete Topological Graphs. Discrete & Computational Geometry, 30:311–320, 2003. doi:10.1007/S00454-003-0012-9.
  • [21] János Pach, Rom Pinchasi, Gábor Tardos, and Géza Tóth. Geometric graphs with no self-intersecting path of length three. European Journal of Combinatorics, 25(6):793–811, 2004. doi:10.1016/J.EJC.2003.09.019.
  • [22] János Pach and Ethan Sterling. Conway’s conjecture for monotone thrackles. The American Mathematical Monthly, 118(6):544–548, 2011. doi:10.4169/AMER.MATH.MONTHLY.118.06.544.
  • [23] Nabil H. Rafla. The good drawings of the complete graph. PhD Thesis, McGill University, Montreal, 1988.
  • [24] Frank P Ramsey. On a problem in formal logic. Proceedings of the London Mathematical Society, 30:264–286, 1930.
  • [25] Andres J Ruiz-Vargas. Many disjoint edges in topological graphs. Computational Geometry, 62:1–13, 2017. doi:10.1016/J.COMGEO.2016.11.003.
  • [26] Andrew Suk. Disjoint edges in complete topological graphs. Discrete & Computational Geometry, 49:280–286, 2013. doi:10.1007/S00454-012-9481-X.
  • [27] Andrew Suk and Ji Zeng. Unavoidable Patterns in Complete Simple Topological Graphs. Discrete & Computational Geometry, 73:79–91, 2025. doi:10.1007/S00454-024-00658-6.
  • [28] Gábor Tardos. Construction of locally plane graphs with many edges. In Thirty Essays on Geometric Graph Theory, pages 541–562. Springer, 2012.
  • [29] Douglas R Woodall. Thrackles and deadlock. In Combinatorial Mathematics and Its Applications, pages 335–348, 1971.
  • [30] Yian Xu. A new upper bound for Conway’s thrackles. Applied Mathematics and Computation, 389:125573, 2021. doi:10.1016/J.AMC.2020.125573.