In this paper, we deal with graph manifolds. A closed 3-manifold M is said to be a graph manifold if its Jaco–Shalen–Johansson decomposition admits only Seifert-fibered pieces. These manifolds were classified by Waldhausen [11, 12] and are completely determined by a normalized weighted graph (up to a controlled family of exceptions). For technical reasons, we restrict ourselves to the fully oriented case, i.e., we assume that M is oriented and that the bases of the Seifert fibrations are oriented surfaces. This is only a mild restriction and this family contains the class of 3-manifolds which appear naturally in complex geometry: boundaries of regular neighborhoods of complex curves in complex surfaces. These manifolds admit yet another classification in terms of plumbing graphs, see the work of Neumann [5].

A Heegaard splitting of a closed orientable 3-manifold M is a decomposition of M as a union of two handlebodies sharing a common boundary. This common boundary is a closed orientable surface \(\Sigma \), and the genus of the splitting is defined as the genus of \(\Sigma \). Given a genus g handlebody, it is possible to take g disks such that, cutting along them, a closed ball is obtained. The boundaries of these g disks provide us with g distinguished curves in the boundary surface. In a Heegaard splitting, since \(\Sigma \) is seen simultaneously as the boundary of two different handlebodies, two families of distinguished curves can be considered. The surface \(\Sigma \), along with these two families, is called a Heegaard diagram, and it determines the manifold M and the splitting itself. Every closed oriented 3-manifold admits a Heegaard splitting, and the Heegaard genus of such a manifold is defined as the minimal genus of its Heegaard splittings. See [3] and [8] for details.

There is ample literature about Heegaard splittings of Seifert-fibered manifolds (the bricks of graph manifolds), see, e.g. [1, 2, 4]. In these works, vertical and horizontal splittings are defined. These ideas were also transferred to the case of graph manifolds in [10], where the structure of Heegaard splittings is studied. In this sense, our approach involves horizontal splittings.

The contribution of this work consists of providing an explicit method to construct a Heegaard diagram of any graph manifold from a plumbing graph presenting it. This method does not provide a splitting of minimal genus. However, from [5], we know a set of moves that can be performed on plumbing graphs without altering the corresponding manifold, and these moves can be used to decrease the genus of the Heegaard splitting given by the method.

Heegaard diagrams were used by Osváth and Szabó [6, 7] to define the so-called Heegaard–Floer homology for 3-manifolds. Later Sarkar and Wang in [9] gave an explicit method to compute this homology from Heegaard diagrams. As a future work, our method could be combined with theirs, in order to compute Heegaard–Floer homology for graph manifolds.

The paper is organized as follows. We start by recalling the construction of a graph manifold from its plumbing graph in Sect. 1. We continue in Sect. 2 with the description of the method to construct a Heegaard diagram from a plumbing graph, and its illustration through an example. The rest of the paper is devoted to the proof that the Heegaard diagram thus obtained is in fact a Heegaard diagram for the manifold presented by the graph. In Sect. 3, we provide the main topological constructions that will be needed later, specially the concept of float gluings. From this section on, we construct Heegaard splittings and diagrams for increasingly complicated manifolds, until arriving to the general case. In Sect. 4, we construct splittings for \(\mathbb {S}^1\)-fiber bundles with Euler number \(\pm \, 1\), and the diagram is described. We follow the same structure for general \(\mathbb {S}^1\)-fiber bundles in Sect. 5. In Sect. 6, we study the splittings of the simplest graph manifolds that are not fibered bundles, i.e., corresponding to a simplicial graph with one edge. The general case is studied in Sect. 7. This stepped procedure allows us to break up the technical difficulties. Finally, in Sect. 8, we provide explicit examples, including a genus 3 splitting of the Poincaré sphere.

1 Plumbing graph of a graph manifold

Graph manifolds [11, 12] were defined and classified by Waldhausen and his theory was generalized by Jaco, Shalen and Johansson.

Definition 1.1

An irreducible compact three-manifold is a graph manifold if its JSJ-decomposition contains only Seifert pieces.

Waldhausen described these manifolds using a graph where the vertices correspond to the JSJ–Seifert pieces (decorated with the Seifert invariants) and the edges correspond to the incompressible tori (decorated with the gluing data). For our construction, it is more useful to follow Neumann’s approach (plumbing construction).

Theorem 1.2

 [5, Theorems 5.1 and 5.6] Any graph manifold can be obtained through the plumbing construction with a unique normal form.

The rest of the section is devoted to the explicit description of this Neumann’s plumbing construction. Since the actual family we are interested in satisfies strong orientation properties, we will restrict ourselves to oriented graph manifolds built up using oriented fibrations.

The main atoms in the construction of graph manifolds are \(\mathbb {S}^1\)-fiber bundles. The oriented \(\mathbb {S}^1\)-bundles over a manifold N are classified by its Euler class in \(H^2(N;{{\mathbb {Z}}})\). If N is an oriented closed surface, there is a natural identification \({{\mathbb {Z}}}\equiv H^2(S;{{\mathbb {Z}}})\) and the Euler class is interpreted as an Euler number \(e\in {{\mathbb {Z}}}\). Let us recall for further use how to compute this number.

Let \(\pi :M\rightarrow S\) be an oriented \(\mathbb {S}^1\)-bundle over a closed oriented surface S of genus g. Let us consider a small closed disk \(D\subseteq S\) and consider the surface with boundary \(\check{S}:=\overline{S{\setminus } D}\). Because of the Euler class classification, any oriented \(\mathbb {S}^1\)-bundle over an oriented surface with boundary is homeomorphic to a product. Furthermore, we know that the restrictions of \(\pi \) over D and \(\check{S}\) are product bundles. Let \(\mu _1\) be the boundary of a meridian disk of the solid torus \(\pi ^{-1}(D)\) (oriented as \(\partial D\)), \(s_1\) be the boundary of a section defined over \(\check{S}\) (oriented as \(\partial \check{S}\)) and \(\phi _1\) be an oriented fiber in \(\pi ^{-1}(\partial D)\). All of these are simple closed curves that define elements in \(H_1(\pi ^{-1}(\partial D);{{\mathbb {Z}}})\). The fact that \(\mu _1\) and \(s_1\) project onto generators of \(H_1(\partial D;{{\mathbb {Z}}})\) implies that these elements satisfy a relation (using multiplicative notation for \(H_1(\pi ^{-1}(\partial D);{{\mathbb {Z}}})\))

$$\begin{aligned} s_1\cdot \mu _1\cdot \phi ^{e}=1 \end{aligned}$$
(1.1)

for some \(e\in \mathbb {Z}\), which happens to be the Euler number of the fibration.

There are several variations of this construction. In the first one, we can replace D and \(\check{S}\) by two surfaces \(S_1\) and \(S_2\) with common connected boundary in such a way that \(S=S_1\cup S_2\) and formula (1.1) still holds. Moreover, there is no need to assume that the their boundaries are connected. Let us suppose that \(\partial S_1=\partial S_2=S_1\cap S_2\) has r connected components \(C_1, \ldots ,C_r\); and fix sections \(s_i:S_i\rightarrow M\), \(i=1,2\), denoting by \(s_i^j\) the boundary component of \(s_i\) projected into \(C_j\) (oriented as \(\partial S_i\)). Then, in \(H_1(C_j;{{\mathbb {Z}}})\), we have inequalities

$$\begin{aligned} s_1^j\cdot s_2^j\cdot \phi ^{e_j}=1,\quad e_j\in \mathbb {Z}, \end{aligned}$$
(1.2)

with \(e=e_1+\cdots +e_r\).

Moreover, any decomposition of e as above can be realized in this way in any given oriented \(\mathbb {S}^1\)-bundle with Euler number e.

Let us now introduce the concept of plumbing graph. A plumbing graph \((\Gamma ,g,e,o)\) is given by a (connected) graph \(\Gamma \) (without loops), a genus function\(g:V(\Gamma )\rightarrow {{\mathbb {Z}}}_{\ge 0}\) (where \(V(\Gamma )\) is the set of vertices of \(\Gamma \)), an Euler function\(e:V(\Gamma )\rightarrow {{\mathbb {Z}}}\) and an orientation class \(o\in H^1(\Gamma ;{{\mathbb {Z}}}/2)\). We usually represent this graph by decorating each vertex v with [g(v)] and e(v), and each edge \(\eta \) with a sign \(\sigma _\eta =\pm \) corresponding to the coefficients of a cocycle (cochain) representing o. The omission of the decoration [g(v)] of a vertex means that \(g(v)=0\), and the omission of the decoration of an edge means that \(\sigma _\eta =+\).

Remark 1.3

If we change a cocycle by reversing the signs of all the edges adjacent to a fixed vertex, we obtain another representative of o; moreover, we can pass from one representative to another by a sequence of these moves. Of course, if \(\Gamma \) is a tree, the o-decoration can be chosen to be void.

Every plumbing graph \((\Gamma ,g,e,o)\) has a graph manifold associated to it, given by the following construction. First, to each vertex \(v\in V(\Gamma )\), we associate an oriented \(\mathbb {S}^1\)-bundle \(\pi _v:M_v\rightarrow S_v\), over a closed oriented surface of genus g(v), with Euler number e(v). Then, for each edge \(\eta \) with endpoints vw, we collect two closed disks \(D_v^\eta \subset S_v\) and \(D_w^\eta \subset S_w\). We choose these disks in such a way that they are pairwise disjoint for any fixed v. We continue by defining \(\check{M}_v\) as the closure of \(M_v{\setminus }\bigcup _{v\in \eta }\pi _v^{-1}(D_v^\eta )\), which is an oriented manifold whose boundary is composed by tori, as many as the valency of v in \(\Gamma \). Then, we define \(T_v^\eta :=\pi _v^{-1}(\partial D_v^\eta )\). In each of these tori, we have a pair of curves \((\phi _v^\eta ,\mu _v^\eta )\), where \(\phi _v^\eta \) is an oriented fiber and \(\mu _v^\eta \) is a meridian of the solid torus \(\pi _v^{-1}(D_v^\eta )\) (oriented as \(\partial D_v^\eta \)). Notice that these curves provide a basis of \(H_1(T_v^\eta ;{{\mathbb {Z}}})\) consistent with the orientation of \(T_v^\eta \) induced by \(\check{M}_v\).

Let us consider a homeomorphism \(\Phi _{v,w}^\eta :T_v^\eta \rightarrow T_w^\eta \) such that \(\Phi _{v,w}^\eta (\phi _v^\eta )=(\mu _w^\eta )^{\sigma _\eta }\) and \(\Phi _{v,w}^\eta (\mu _v^\eta )=(\phi _w^\eta )^{\sigma _\eta }\). That is, an homeomorphism interchanging sections and fibers, according to the sign of the vertex. This map is determined up to isotopy by the matrix \(\sigma _\eta \left( {\begin{matrix} 0&{}1\\ 1&{}0 \end{matrix}}\right) \) of determinant \(-1\). In fact, these maps are well defined only up to isotopy, and we can choose representatives such that \(\Phi _{w,v}^\eta =(\Phi _{v,w}^\eta )^{-1}\).

The plumbing manifold associated to \((\Gamma ,g,e,o)\) is defined as:

$$\begin{aligned} \left( \coprod _{v\in V(\Gamma )} \check{M}_v\right) \Big /\{\Phi _{v,w}^\eta \}_{\eta } \end{aligned}$$

which is clearly a graph manifold. We will drop any reference to o if it is trivial.

Remark 1.4

Notice that the former construction depends on a fixed choice of a cocycle. Let us fix a vertex v and consider the cocycle \(\tilde{\sigma }\) given by

$$\begin{aligned} \tilde{\sigma }_\eta = {\left\{ \begin{array}{ll} \sigma _\eta &{}\text { if }v\notin \eta \\ -\sigma _\eta &{}\text { if }v\in \eta \end{array}\right. } \end{aligned}$$

The construction associated to \(\tilde{\sigma }\) yields the same fibrations for \(w\ne v\). However, for v, we obtain the fibration \(\tilde{\pi }_v:M_v\rightarrow (-S_v)\), which is the opposite fibration to \(\pi _v\), but the orientation of \(M_v\) remains unchanged. This implies that \({\tilde{\phi }}_v^\eta =(\phi _v^\eta )^{-1}\) and \({\tilde{\mu }}_v^\eta =(\mu _v^\eta )^{-1}\) for \(v\in \eta \). Therefore, \(\tilde{\Phi }_{v,w}^\eta =\Phi _{v,w}^\eta \), and the resulting manifold is the same. Hence, by Remark 1.3, the manifold depends only on o and not on the particular choice of a representative cocycle.

Example 1.5

Let X be a complex surface and \(D=\bigcup _{j=1}^r D_j\) a normal crossing compact divisor in X. Let \(\Gamma \) be the dual graph of D and define the functions g and e as the genus and self-intersection. Then the boundary of a regular neighborhood of D is homeomorphic to the graph manifold of \((\Gamma ,g,e,o)\), where o is the null class. If the intersection matrix of D is negative definite, then D can be obtained as the exceptional divisor of a resolution of an isolated surface singularity. That is, the link of an isolated surface singularity is always a plumbing manifold, whose graph is the dual graph of the resolution.

2 Description of the method

In this section, we describe the method for constructing a Heegaard splitting of a graph manifold, that is the goal of this work. The method starts with a plumbing graph and, from it, through a series of steps, a Heegaard diagram is constructed.

Theorem 2.1

Let M be a manifold associated to a plumbing graph \((\Gamma ,g,e,o)\). Fix a cocycle representing o (described as a choice of a sign for each edge) and a spanning tree \(\mathcal {T}\) of \(\Gamma \). Then, the method described in (G1)–(G7) provides an explicit Heegaard diagram of M.

The rest of the section describes the steps of the method. For the sake of clarity, they are exemplified for the graph manifold of Fig. 1, where \(\mathcal {T}\) is formed by the two straight edges. The proof will be developed through the rest of the paper. We will break up the proof in several cases in order to help the reader and isolate the technical difficulties for each case.

Fig. 1
figure 1

Example graph

Fig. 2
figure 2

Top and bottom vertex surfaces of (G1)

From \(\Gamma \), we will construct a surface with two systems of curves, referred to as the system of blue curves and the system of red curves; these curves are the cutting curves of a Heegaard diagram of M. The steps of the process are the following:

  1. (G1)

    For each vertex v, we consider a pair of closed oriented surfaces of genus \(g_v\), called top and bottom, as in Fig. 2 for our example.

  2. (G2)

    On each pair, we join the two surfaces by a number of cylinders. To each of these cylinders, we assign a plus or minus sign, satisfying the condition that, on each pair, the sum of the signs of the cylinders matches the number \(e_v\) of the corresponding vertex. The number of these cylinders can be chosen freely, as long as the previous condition holds, and there are enough of them to perform the rest of the steps in the algorithm. Besides, on each pair of surfaces, one of the cylinders is chosen as a main cylinder. Figure 3 shows this step performed in our example. The main cylinders are drawn thicker.

  3. (G3)

    Let us consider a vertex, and then choose one surface from the corresponding pair. For each handle in this surface (if there is any), we add a red curve that turns around the handle meridian, passes through the main cylinder all the way to the other surface of the pair, follows the same path in the other surface (reversing direction) and returns back to the starting point traversing again the main cylinder (without self-intersections). Another red curve is constructed in the same way but following the handle longitude instead of the meridian. We repeat this procedure on each pair. The step is shown in Fig. 4 for the genus one vertex of our example.

  4. (G4)

    For each cylinder C that is not a main cylinder, we add a red curve that goes through the main cylinder and returns through C, as shown in Fig. 5 of our example.

  5. (G5)

    For each red curve, we add a blue curve. These blue curves should be parallel to the red curves, except for performing a Dehn twist around each cylinder they cross. The direction of the Dehn twist is given by the sign of the cylinder. This step is shown in Fig. 6 for our example.

  6. (G6)

    At this point, we have constructed a surface corresponding to each vertex. We proceed now to connect these surfaces as the edges of the tree \(\mathcal {T}\) would indicate. Let us choose an edge from \(\mathcal {T}\) and consider the two surfaces corresponding to the vertices connected by the edge. Let s be the sign of the edge; then, we choose a cylinder with sign s in each of the surfaces. These cylinders should be crossed only by one line of each color (i.e., distinct from the main one when the corresponding surface has either more than two cylinders or positive genus). Then we cut each of these two cylinders by the middle, obtaining four boundary components or stumps. Then we glue the two upper stumps, connecting the two upper surfaces, and the two lower stumps, connecting the two lower surfaces. The red lines are just directly glued. The blue lines are also glued in such a way that new blue curve goes parallel to the new red curve in one of the new cylinders, but performs a Dehn twist around the other one. The direction of the Dehn twist is given by the sign s of the edge. Then, we repeat for each of the edges of \(\mathcal {T}\). This step is shown in Figs. 7 and 8 for our example.

  7. (G7)

    For the edges not in \(\mathcal {T}\), we proceed similarly as before. For each of these edges, we perform (G6) just as before. However, we add yet another red curve and blue curve, constructed as follows. Let us call \(\delta _r\) and \(\gamma _r\) the two red curves we had before performing (G6). Let us choose (arbitrarily) one of these, say \(\gamma _r\). This curve can be decomposed as \(\gamma _1\cdot \gamma _2\), where \(\gamma _2\) is the path contained in the cylinder that is going to be cut. Then, after performing (G6), we take two parallel copies of \(\gamma _1\) and connect them by surrounding the newly formed cylinders, in such a way that the resulting curve is disjoint with the red curve created by performing (g6). This is going to be the extra red curve. Then, another blue curve is created in exactly the same way. As before, let \(\delta _b\) be one of the original blue curves. Then \(\delta _b\) can be decomposed as \(\delta _1\cdot \delta _2\), where \(\delta _2\) is the path contained in the cylinder to be cut. After performing (G6), we take two parallel copies of \(\delta _1\) and connect them by surrounding the newly formed cylinders, in such a way that the resulting curve is disjoint with the blue curve created by performing (G6). We take this as the extra blue curve. This step is shown in Fig. 9 for our example.

Fig. 3
figure 3

.

Fig. 4
figure 4

Handle red curves of step (G3) for the surfaces of the genus 1 vertex

Fig. 5
figure 5

Red curves in step (G4)

Fig. 6
figure 6

All lines added after step (G5)

Fig. 7
figure 7

Curves after adding one edge in step (G6)

Fig. 8
figure 8

Curves after adding the second edge in step (G6)

Fig. 9
figure 9

Curves after step (G7). The Handle curves have been omitted for clarity

3 Topological constructions

In this section, we introduce different constructions which will be used in the sequel.

Definition 3.1

A (gn)-drilled body is a product \(H_{g,n}:=\Sigma _{g,n}\times I\), where \(I:=[0,1]\) and \(\Sigma _{g,n}\) is an oriented compact surface of genus g and n boundary components, with \(n>0\) (Fig. 10b, c).

Fig. 10
figure 10

Products. a (\(\mathbb {S}^1)^2\times I=\Sigma _{1,0}\times I\), b\(H_{1,1}\), c\(H_{1,2}\)

Theorem 3.2

A (gn)-drilled body is a \((2g+n-1)\)-handlebody.

Proof

This is clear if we see the base space as a fundamental polygon with subtracted disks in Seifert’s fashion. \(\square \)

The boundary of a (gn)-drilled body is therefore an oriented surface of genus \(2g+n-1\) which can be decomposed as a union of two copies of \(\Sigma _{g,n}\) and n cylinders, that we call drill holes.

We introduce now another construction. Let M be an oriented 3-manifold with boundary, and let \(\eta \) be an oriented simple closed curve in \(\partial M\). Then a regular neighborhood C of \(\eta \) in \(\partial M\) is an annulus. Let V be an oriented solid torus, \(\gamma \) a longitude in \(\partial V\), and A a regular neighborhood of \(\gamma \) in \(\partial V\), which is again an annulus. Finally, let \(\psi :C\rightarrow A\) be an orientation-reversing homeomorphism. The following proposition is clear.

Proposition 3.3

The manifold \(M\cup _\psi V\) is homeomorphic to M.

Remark 3.4

Notice that in the previous construction there are two possible choices for the gluing morphism \(\psi \). One of them identifies \(\gamma \) with \(\eta \) and the other with \(\eta ^{-1}\). Moreover, the gluings of the boundary components of C and A are interchanged.

Definition 3.5

The above operation is called a float gluing of M along C.

Definition 3.6

Given a handlebody M of genus g, we say that a simple closed curve \(\gamma \subset \partial M\) is a float curve if there is a cutting system of curves in \(\partial M\) (i.e., boundaries of meridian disks, such that M cut along the disks is a ball) satisfying that \(\gamma \) intersects this system in only one point, and this intersection is transverse.

Example 3.7

Let \(V_1\) be a solid torus with a longitude \(\gamma \). Let \(V_{g-1}\) be a handlebody of genus \(g-1\). By gluing two disks in the boundaries of \(V_1\) and \(V_{g-1}\); we obtain a new handlebody \(V_g\). For further use, we will refer to this operation as the handle sum of \(V_1\) and \(V_{g-1}\). We can assume that \(\gamma \) is disjoint from the disk in \(\partial V_1\) used for the handle sum. Then \(\gamma \subset V_g\) is a float curve of \(V_g\), since it only cuts the meridian of \(V_1\).

Definition 3.8

The pair \((V_g,\gamma )\) is called a standard float-curve system of genus g.

The following lemma is clear.

Lemma 3.9

Let M be a handlebody of genus g and let \(\gamma \subset M\) be a float curve. Then, the pair \((M,\gamma )\) is homeomorphic to a standard float-curve system of genus g.

Proposition 3.10

Let \(M_1,M_2\) be two handlebodies of genus \(g_1,g_2\ge 1\). Let us fix float curves \(\gamma _1\) and \(\gamma _2\) in each of these, and consider regular neighborhoods \(A_1\) and \(A_2\) of these curves in \(\partial M_1\) and \(\partial M_2\), respectively. Let \(\psi :A_1\rightarrow A_2\) be an orientation-reversing homeomorphism. Then, \(M_1\cup _\psi M_2\) is a handlebody of genus \(g_1+g_2-1\).

Remark 3.11

If \(M_2\) is a torus, the above operation is a particular case of float gluing since we only need the curve in the solid torus to be a float curve. In fact, the above proposition remains true if we only ask \(\gamma _2\) to be a float curve, but we do not use this more general fact.

Proof

Notice that \(M_2\) can be constructed as a handle sum of a solid torus \(V_1\) and a handlebody of genus \(g_2-1\). This operation can be performed in such a way that \(A_2\subset V_1\) and \(\gamma _2\) is a longitude of \(V_1\).

Then, the gluing of \(M_1\) and \(M_2\) can be performed as a float gluing followed by a handle sum. \(\square \)

A similar idea can be used for the identification of two different annuli in a single handlebody.

Proposition 3.12

Let M be a handlebody of genus \(g\ge 2\). Let us fix a cutting system of curves and two disjoint float curves \(\gamma _1\) and \(\gamma _2\) intersecting different curves \(\alpha _1\) and \(\alpha _2\) of a cutting system . Let \(A_1\) and \(A_2\) be regular neighborhoods of \(\gamma _1\) and \(\gamma _2\), respectively, and let \(\psi :A_1\rightarrow A_2\) be an orientation-reversing homeomorphism. Then the quotient \(M_\psi \) of M by \(\psi \) is a handlebody of genus g.

Proof

Up to homeomorphism, we may assume that the float curves are standard ones. The manifold M can be seen as the handle sum of two handlebodies \(M_1\) and \(M_2\), of genera 1 and \(g-1\), and containing \(A_1\) and \(A_2\), respectively. It is equally clear that \(\gamma _1\) and \(\gamma _2\) are float curves in each of these handlebodies. By Proposition 3.10, \(M_1\cup _\psi M_2\) is a handlebody of genus \(g-1\). By performing the handle sum that joins \(M_1\) and \(M_2\) into M, one more handle is created. \(\square \)

Fig. 11
figure 11

Gluing disjoint float curves in a handlebody

Remark 3.13

In Fig. 11, it can be seen how a new cutting curve is obtained by joining the two identified ones, and another one appears for the handle corresponding to the handle sum; it is easily seen that the latter is the commutator of \(\alpha _1\) and \(\gamma _1\).

4 Heegaard splitting of \(\mathbb {S}^1\)-bundles over surfaces with unimodular Euler number

The goal of this section is to prove Theorem 2.1 when M is an \(\mathbb {S}^1\)-bundle over a surface of genus g with Euler number \(\pm 1\). This is the case where the graph \(\Gamma \) has only one vertex, decorated with \(([g],\pm 1)\), and no edges.

Let \(\pi :M\rightarrow S\) be an oriented \(\mathbb {S}^1\)-bundle over a closed oriented surface S of genus g, with Euler number \(e=\pm 1\in {{\mathbb {Z}}}\equiv H^2(S;{{\mathbb {Z}}})\). Let us consider a small closed disk \(D\subseteq S\) and the surface with boundary \(\check{S}:=\overline{S{\setminus } D}\). Since \(H^2(\check{S};{{\mathbb {Z}}})\) is trivial, there exists a section \(s_1:\check{S}\rightarrow M\) of \(\pi \). We take this section and another parallel section \(s_2\). These two sections divide \(\check{M}=\pi ^{-1}(\check{S})\) in two pieces \(M_1\) and \(M_2\); which are oriented compact 3-manifolds with boundary, and satisfy that \(M_1\cap M_2=\partial M_1\cap \partial M_2=\mathbf {S}\coprod \mathbf {N}\), where \(\mathbf {S}:=s_1(\check{S})\) and \(\mathbf {N}:=s_2(\check{S})\).

Convention 4.1

Once the two sections \(s_1,s_2\) have been chosen, we choose \(M_1\) and \(M_2\) in such a way that the orientations on \(\mathbf {N}\) induced by \(M_1\) and \(s_2\) coincide. This means that a positive half-fiber inside \(M_1\) goes from \(\mathbf {S}\) to \(\mathbf {N}\).

The boundary of \(M_1\) is obtained by gluing \(\mathbf {S}\) and \(\mathbf {N}\) with an annulus C which fibers over \(\partial D=\partial \check{S}\) (whose fibers are positive half-fibers inside \(M_1\) homeomorphic to [0, 1]). In the same way \(\partial M_2=\mathbf {S}\cup C'\cup \mathbf {N}\), where \(C'\) is the other annulus in \(M_2\). Notice that \(C\cup C'\) is the torus \(\pi ^{-1}(\partial D)=\partial \pi ^{-1}(D)\) and C and \(C'\) have common boundaries.

Proposition 4.2

The 3-manifolds \(M_1,M_2\) are 2g-handlebodies.

Proof

The manifold \(M_1\) is, by construction, the drilled body \(H_{g,1}\), see Theorem 3.2. Since \(M_2\) is homeomorphic to \(M_1\), it is also a 2g-handlebody. \(\square \)

Theorem 4.3

Let \(\tilde{M}_2:=M_2\cup \pi ^{-1}(D)\). Then the manifold \(\tilde{M_2}\) is homeomorphic to \(M_2\) and, hence, it is a 2g-handlebody (\(e=\pm 1\) is an essential hypothesis).

Proof

Notice that \(C'\) is the annulus along which \(M_2\) and \(\pi ^{-1}(D)\) are glued. Let K be the core of this annulus. Since \(e=\pm 1\), K is homologous to the core of \(\pi ^{-1}(D)\) and the statement follows from Proposition 3.3. \(\square \)

Corollary 4.4

The submanifolds \(M_1\) and \(\tilde{M_2}\) form a Heegaard splitting of M of genus 2g.

Proposition 4.5

Let M be the graph manifold obtained as an \(\mathbb {S}^1\)-bundle over a surface of genus g and Euler class \(\pm 1\). Then, the statement of Theorem 2.1 holds for M.

Let us summarize the steps in Sect. 2 that are to be applied in this case. The process starts with (G1), followed by (G2), where only the main cylinder is needed. The last steps are (G3) and (G5). The resulting diagram can be depicted as in Fig. 13b.

Proof

It is clear that the surface \(\Sigma _1:=\partial M_1=\partial \tilde{M}_2\) (oriented as boundary of \(M_1\)), which is the gluing of \(\mathbf {S}\), \(\mathbf {N}\) and the cylinder \(C\cong \partial D\times I\), is the surface constructed in (G2). Notice that \(\mathbf {N}\) inherits the orientation of S while \(\mathbf {S}\) inherits the opposite one.

Fig. 12
figure 12

a Cutting curves for \(M_1\). b Cutting curves for \(\tilde{M}_2\), \(e=1\)

Let us prove that the red curves constructed in (G3) form a system of cutting curves for \(M_1\).

To construct a system of cutting curves for \(M_1\) in \(\Sigma _1\), we see \(M_1\) as a prism as in Fig. 10b. Then, its system of cutting curves is formed by two families of curves:

  • From half of the identified faces in the prism (Fig. 10b), we obtain curves \(a_1,\ldots , a_g\), that can be described as composed by four paths as follows (see Fig. 12a). Consider points \(p_i^1,p_i^2\) in \(C\cap \mathbf {N}\) and points \(q_i^1,q_i^2\) in \(C\cap \mathbf {S}\) such that there are half-fibers \(\lambda _i^1\) (from \(q_i^1\) to \(p_i^1\)) and \(\lambda _i^2\) (from \(p_i^2\) to \(q_i^2\)). Pick up a path \(\nu _i\) in \(\mathbf {S}\) from \(p_i^1\) to \(p_i^2\) which turns around the ith handle like its meridian. We construct a path \(\nu '_i\) in \(\mathbf {N}\) in a similar way with reversed orientation. Then, \(a_i:=\nu _i\cdot \lambda _i^2\cdot \nu '_i\cdot \lambda _i^1\). It is possible to choose these cycles to be pairwise disjoint.

  • Similarly, from the other half of the identified faces, we obtain curves \(b_1,\ldots , b_g\). These are constructed in the same way as the \(a_i\)’s, but instead of taking \(\nu _i\) and \({\nu '}_i\), we take paths that turn around the handles like their longitudes. These paths are chosen in such a way that they do not intersect each other and they are also disjoint to the paths \(a_i\)’s.

These are exactly the red curves constructed in (G3). The next step is the construction of the blue curves from (G5), i.e., the system of cutting curves for \(\tilde{M}_2\).

We start with \(M_2\) (homeomorphic copy of \(M_1\)) which is constructed in the same way as \(M_1\) but using the other cylinder \(C'\). Recall that the union of the two cylinders C and \(C'\) along their common boundary yields the torus \(\mathbb {T}:=\pi ^{-1}(\partial D)\), the boundary of the solid torus \(\pi ^{-1}(D)\). So the construction of the system of cutting curves for \(M_2\) will mimic the one for \(M_1\) replacing the cylinder C by \(C'\).

Since \(\tilde{M}_2=M_2\cup \pi ^{-1}(D)\), let us consider the situation at \(\pi ^{-1}(D)\). In order to fix the orientations, we assume that \(e=1\), leaving the case \(e=-1\) for later. The solid torus \(\pi ^{-1}(D)\) is represented as a cylinder whose bottom and top are glued by a vertical translation in Fig. 13a.

In the torus \(\mathbb {T}\), we fix the product structure with an oriented section \(\mu _1\) (the boundary of a disk in the solid torus) and an oriented fiber \(\phi _1\). Let us fix one cutting curve (\(a_i\) or \(b_i\)) of \(M_1\); it intersects the cylinder C in two half-fibers. Let \(\lambda _1\) be the one from \(\mathbf {S}\) to \(\mathbf {N}\); let \(\lambda _2\) be the other half of the fiber in \(C'\) (which is part of a cutting curve in \(M_2\)) but with opposite orientation, in order to go again from \(\mathbf {S}\) to \(\mathbf {N}\); i.e., \(\lambda _1\cdot {\lambda _2}^{-1}\) is homologous to \(\phi _1\) in \(\mathbb {T}\).

The cylinders C and \(C'\) have as common boundaries two cycles \(\gamma _1\subset \mathbf {N}\) and \({\gamma }_2\subset \mathbf {S}\), oriented as boundaries of these surfaces; in Fig. 13a, the front part of C is colored. The homology class of \(\gamma _1\) in \(\mathbb {T}\) is (with multiplicative notation) \(\mu _1^{-1}\cdot \phi _1^{-e}\) (recall \(e=1\) in Fig. 13a), since the definition of Euler number implies that \(\gamma _1\cdot \mu _1\cdot \phi _1^{e}\) is trivial.

The cycle \((\gamma _2)^{-1}\cdot (\lambda _1\cdot {\lambda '_1}^{-1})^e\sim \gamma _1\cdot \phi _1^e\sim \mu _1^{-1}\) bounds a disk in \(\pi ^{-1}(D)\). The union of this disk with the cutting disk of \(M_2\) containing \({\lambda _2}^{-1}\) in its boundary provides a new disk where \({\lambda '_1}^{-1}\) is no more in its boundary. If we repeat this process with the other half-fiber in the cutting curve, we obtain the corresponding cutting curve in \(\tilde{M}_2\) where the half-fibers have been replaced by curves in \(C\subset \partial \tilde{M}_2=\partial M_1\). It can be checked that the retraction seen in Proposition 3.3 sends \(\gamma _2^{-e}\lambda _1\) to \({\lambda _2}\) and hence this construction provides the cutting curve for \(\tilde{M}_2\).

Figure 12b shows the cutting curves of \(\tilde{M}_2\) for \(g=1\), \(e=1\). Notice that the blue curves in C turn around as \(\gamma _1\) when going from \(\mathbf {S}\) to \(\mathbf {N}\). The closed curve \(\gamma _1'\) is oriented as boundary of N and \(\gamma _1\) is parallel to \(\gamma _1'\).

It is clear that in the case of \(e=-1\), the same thing will happen but instead of turning as \(\gamma _1\), the curves will turn as \(\gamma _1^{-1}\), see Fig. 13b. \(\square \)

Fig. 13
figure 13

a From \(M_2\) to \(\tilde{M}_2\), \(e=1\). b Example for the case \(g=1\), \(e=-1\)

5 Heegaard splitting of arbitrary \(\mathbb {S}^1\)-bundles over surfaces

In this section, we continue the Proof of Theorem 2.1 when M is an \(\mathbb {S}^1\)-bundle over a surface of genus g with arbitrary Euler number, i.e., where the graph \(\Gamma \) has only one vertex, decorated with ([g], e), and no edges.

In order to construct a Heegaard splitting for arbitrary Euler number e, we proceed as follows. Let now \(\check{S}:=\overline{S{\setminus }\bigcup _{j=1}^n D_i}\), where \(D_1, \ldots ,D_n\) are pairwise disjoint closed disks in S. As before, let \(s_1,s_2:\check{S}\rightarrow M\) be arbitrary parallel sections of \(\pi \). For each \(j=1, \ldots ,n\), let \(\gamma _j:=s_1(\partial D_j)\) (oriented as part of \(\partial \check{S}\)) and let \(\mu _j\) be the boundary of a meridian disk of the solid torus \(\pi ^{-1}(D_j)\). By the choice of orientations, the cycle \(\gamma _j\cdot \mu _j\cdot \phi ^{e_j}\) is trivial in \(H_1(\pi ^{-1}(\partial D_j);{{\mathbb {Z}}})\), for some \(e_j\in {{\mathbb {Z}}}\), where \(\phi \) is an oriented fiber of \(\pi \); these values are related with e as in (1.2).

As we did in Sect. 4, we may decompose \(\check{M}:=\pi ^{-1}(\check{S})\) in two pieces \(M_1\) and \(M_2\); \(M_1\) and \(M_2\) are oriented compact 3-manifolds with boundary and \(M_1\cap M_2=\partial M_1\cap \partial M_2=s_1(\check{S})\coprod s_2(\check{S})\) with the same orientation convention. From Theorem 3.2, the manifolds \(M_1\) and \(M_2\) are \((2g+n-1)\)-handlebodies.

Let us assume that \(e_j=\pm 1\), \(j=1, \ldots ,n\). Notice that \(M_2\) is homeomorphic to \(M_1\) and hence, it is also a \((2g+n-1)\)-handlebody. Let \(\tilde{M}_2:=M_2\cup \bigcup _{j=1}^n \pi ^{-1}(D_j)\). Following the arguments in the Proof of Theorem 4.3, we can see that \(M_2\cong \tilde{M}_2\) and \(M_1\) and \(\tilde{M}_2\) have the same boundary. We have proven the following result.

Proposition 5.1

The submanifolds \(M_1\) and \(\tilde{M}_2\) form a Heegaard splitting of M. If \(e=0\), a decomposition of this kind of genus \(2 g+1\) can be always obtained; and if \(e\ne 0\), one of genus \(2 g+|e|-1\).

Remark 5.2

In this process, we have glued all the solid tori \( \pi ^{-1}(D_j)\) to \(M_2\). This is not essential for the proof: we could have glued some of them to \(M_1\) and the result would be equally valid.

Proposition 5.3

Let M be the graph manifold obtained as an \(\mathbb {S}^1\)-bundle over a surface of genus g and arbitrary Euler class. Then, the statement of Theorem 2.1 holds for M.

The most relevant difference with the Proof of Proposition 4.5 is that for (G2), we need extra cylinders besides the main one. Meaningful examples are shown in Fig. 14. The main technical difficulties of this proof are addressed in the Proof of Proposition 4.5.

Proof

The step (G2) is involved in this proof since in order to obtain the Heegaard splitting of Proposition 5.1, we need to connect the top and bottom surfaces of (G1) with more than one cylinder.

Let us decompose the system of cutting curves of \(M_1\), i.e., the red curves of (G3) and (G4) in two subsets. The first one (the curves in (G4)) is the system of cutting curves of \(M_1\) in the Proof of Proposition 4.5 (passing through the main cylinder\(\partial D_1\times I\)).

For the second one, the red curves in (G4), we start with suitable paths \(\alpha _j\) (\(j=2, \ldots ,n\)) joining \(p_j\in \partial D_1\) and \(q_j\in \partial D_j\) (see Fig. 10c), such that if we cut \(\check{S}\) along \(a_i,b_i\) (\(i=1, \ldots ,n\)) and \(\alpha _j\), then a disk is obtained. The second subset is formed by the boundaries

$$\begin{aligned} c_j=s_1(\alpha _j)\cdot (\{q_j\}\times I)\cdot s_1(\alpha _j)^{-1}\cdot (\{p_j\}\times I)^{-1}. \end{aligned}$$

of \(\alpha _j\times I\); they cross the main cylinder and the corresponding \(\partial D_j\times I\).

Let us describe now the blue curves of (G5). We follow the arguments in the Proof of Proposition 4.5, the curves of \(\tilde{M}_2\) go parallel to the ones of \(M_1\) except for the modification in the cylinders \(\partial D_i\times I\), \(1\le i\le n\), due to the float gluing of the solid tori \(\pi ^{-1}(D_i)\). By the same reasoning as before, these modifications consist on a Dehn twist along each cylinder. The orientation of each Dehn twist depends on the sign of each \(e_i\). \(\square \)

Fig. 14
figure 14

a Example for the case \(g=0\), \(e=3\). b Example for the case \(g=1\), \(e=2\)

Example 5.4

Figure 14a shows this construction for the case of genus zero and Euler number equal to 3. We choose three solid tori and sections with \(e_i=1\). The resulting Heegaard decomposition has genus 2 and therefore is not minimal, since the manifold in question is a lens space, and as such admits a genus one decomposition. Figure 14b shows an example of this construction for the case of \(g=1,e=2\).

6 Heegaard splitting of a plumbed graph manifold with an edge

In this section, we deal with the case when M comes from a graph with an edge and two vertices.

This manifold is obtained as follows. We start with two manifolds \(W_1\) and \(W_2\), which are the total space of oriented \(\mathbb {S}^1\)-bundles \(\pi _i\) over closed surfaces \(S_i\) of genus \(g_i\) and Euler numbers \(e_i\), \(i=1,2\). Then we take closed disks \(D_{i,0}\subset S_i\) and choose a system of curves \(\mu _i,\phi _i\) on \(\pi _i^{-1}(\partial D_{i,0})\) where the curve \(\phi _i\) is an oriented fiber of \(\pi _i\), and \(\mu _i\) is the oriented boundary of a meridian disk of \(\pi _i^{-1}(\partial D_{i,0})\).

Then, M is obtained by gluing \(\pi _1^{-1}(\overline{S_1{\setminus } D_{1,0}})\) and \(\pi _2^{-1}(\overline{S_2{\setminus } D_{2,0}})\) along their boundaries. These boundaries are tori \(\pi _i^{-1}(\partial D_{i,0})\), \(i=1,2\), and the gluing is determined, up to isotopy, by a matrix in \({{\mathrm{\text {GL}}}}(2;{{\mathbb {Z}}})\), once ordered integral bases in \(H_1(\pi _i^{-1}(\partial E_i);{{\mathbb {Z}}})\) are chosen. Since we are using the plumbing construction, for the choice of \((\mu _{1,0},\phi _1)\) and \((\mu _{2,0},\phi _2)\), this matrix is \(\pm \left( {\begin{matrix} 0&{}1\\ 1&{}0 \end{matrix}}\right) \), depending on the sign of the edge as described in Sect. 1, i.e., we are interchanging fibers and sections.

Since the edge is contractible, the cohomology class o of Sect. 1 vanishes and can be represented by any sign, yielding to homeomorphic constructions.

Let us consider pairwise disjoint closed disks \(D_{j,1}, \ldots ,D_{j,n_j}\subset S_j{\setminus } D_{j,0}\), \(j=1,2\). Let \(\check{S}_j:=\overline{S{\setminus }\bigcup _{i=0}^{n_j} D_{j,i}}\). We consider two parallel sections \(s_{j,1},s_{j,2}: \check{S}_j\rightarrow M_j:=\pi _j^{-1}(\check{S}_j)\) of \(\pi _j\) as in Sect. 5.

As in Sect. 5, we denote \(\gamma _{j,i}:=s_1(\partial D_{j,i})\) (oriented as part of \(\partial \check{S}_j\)); let \(\mu _{j,i}\) be the boundary of a meridian disk of \(\pi ^{-1}(D_{j,i})\). As in that section, we collect the integers \(e_{j,i}\) appearing in the equalities (in homology of the boundary tori) \(\gamma _{j,i}\cdot \mu _{j,i}\cdot \phi _j ^{e_{j,i}}=1\), where \(\phi _j\) is a fiber of \(\pi _j\), and the equality

$$\begin{aligned} \sum _{i=0}^{n_j} e_{j,i}=e_j, \end{aligned}$$

must be satisfied due to (1.2).

In order to construct Heegaard splittings \(M_1^j,\tilde{M}_2^j\) of \(W_j\), \(j=1,2\), as in Sect. 5 using the systems of disks \(\{D_{j,0},\ldots ,D_{j,n_j}\}\), we need the condition \(|e_{j,i}|=1\). To perform the plumbing method, we need to have more than one cylinder in the construction of the Heegaard splittings \(M_1^j,\bar{M}_2^j\), i.e., \(\min \{n_1,n_2\}\ge 1\). Moreover, in order to apply the step (G5), we impose that \(\partial D_{j,0}\times I\) is not the main cylinder, \(j=1,2\) and that \(\varepsilon :=e_{1,0}=e_{2,0}\) equals the sign of the edge.

More precisely, we have to remove \(\pi _j^{-1}(\mathring{D}_{j,0})\) from \(\tilde{M}_2^j\), but as we saw before, this operation does not change the topology (since it is the inverse of a float gluing). Let us denote by \(N_2^{j}\) the result of the removal of \(\pi _j^{-1}(\mathring{D}_{j,0})\) from \(\tilde{M}_2^j\).

Notice that after the plumbing, \(\mu _{1,0}\) is identified with \(\phi _2^{\varepsilon }\), and \(\mu _{2,0}^{\varepsilon }\) is identified with \(\phi _1\). This implies that \(\gamma _{1,0}\) and \(\gamma _{2,0}\) are homologous after the plumbing (because of the choice of the edge sign). In particular, it means that we can choose the sections \(s_{j,i}\) in such a way that \(s_{j,1}(\partial D_{1,0})\) is identified with \(s_{j,2}(\partial D_{2,0})\). This way, the two Heegaard splittings are compatible, and we can extend them to a decomposition of M.

Summarizing, we have now the following decomposition:

$$\begin{aligned} M=\left( M_1^1\cup M_1^2\right) \bigcup \left( N_2^{1} \cup N_2^{2}\right) . \end{aligned}$$
(6.1)

Proposition 6.1

The manifolds \(M_1^1\cup M_1^2\) and \(N_2^{1} \cup N_2^{2}\) are handlebodies, i.e., decomposition (6.1) is a Heegaard splitting of M.

Proof

It is enough to prove it for \(M_1^1\cup M_1^2\). We have already seen that both \(M_1^1\) and \(M_1^2\) are handlebodies. We will show now that they are glued as in Proposition 3.10. In order to do so, we have to see that they are glued along annuli that are neighborhoods of a float curve.

Let us consider the torus \(\pi _i^{-1}(\partial D_{1,0})\) as the product of \(\mu _{1,0}\) and \(\phi _1\). The curves \(s_{1,i}(\partial D_{1,0})\) are parallel curves that meet \(\phi _1\) transversally at only one point. Let

$$\begin{aligned} A_1^1=M_1^1\cap \pi _i^{-1}(\partial D_{1,0}) \end{aligned}$$

be the annulus along which the gluing is made. This annulus is a neighborhood of a curve parallel to \(s_{1,i}(\partial D_{1,0})\).

From the construction in Sect. 5, we see that \(\phi _1\cap M_1^1\) is part of a cutting curve of \(M_1^1\). And moreover, its the only intersection of a cutting curve with the torus \(\pi _i^{-1}(\partial D_{1,0})\).

So the annulus \(A_1^1\) is a regular neighborhood of a float curve in \(M_1^1\). Analogously, \(A_1^2\) is also a float curve in \(M_1^2\). By Proposition 3.10, we get the result. \(\square \)

Proposition 6.2

Let M be the graph manifold obtained from a graph with one edge and two vertices. Then, the statement of Theorem 2.1 holds for M.

Proof

We start applying steps (G1)–(G5) for each vertex. We are going to prove that the blue and red curves of (G6) (for the edge) produce the system of cutting curves for \(M_1^1\cup M_1^2\) (red) and \(N_2^{1} \cup N_2^{2}\) (blue).

Consider the cylinders \(A_1^1\subset {M}_1^1\) and \(A_1^2\subset {M}_1^2\) which are identified by the plumbing. The (red) cutting curves of \({M}_1^1\) (resp. \({M}_1^2\)) disjoint with \(A_1^1\) (resp. \(A_1^2\)) remained unchanged. Let us see how the other two curves behave (one for \({M}_1^1\) and one for \({M}_1^2\)).

Let \(\lambda _1\) be the cutting curve of \(M_1^1\) which intersects once the core of \(A_1^1\) (which is a float curve). In the neighborhood of \(A_1^1\), this curve is decomposed in three pieces \(\lambda _1^b,\lambda _1^c,\lambda _1^e\) where \(\lambda _1^c\) is the part of \(\lambda _1\) that lies in \(A_1^1\). As in the Proof of Proposition 4.5, the path \(\lambda _1^c\) is a half of the fiber \(\phi _1\). Analogously, the cutting curve \(\lambda _2\) in \({M}_1^2\) in a neighborhood of \(A_1^2\) can be divided in three pieces \(\lambda _2^b,\lambda _2^c,\lambda _2^e\). The path \(\lambda _2^c\) is a half of a fiber \(\phi _2\), and recall that \(\phi _2\) is identified with a section \(\mu _1\). These decompositions are illustrated in Fig. 15a.

Fig. 15
figure 15

a Gluing of \(M_1^i\), \(e_{i,0}=1\). b Gluing of \(N_2^{i}\), \(e_{i,0}=1\)

Let us decompose \(\gamma _1=\eta _1\cdot \eta _2\) in two halves where \(\eta _1\) is the bottom part in Fig. 15a (joining the endpoint of \(\lambda _2^c\) and the starting point of \(\lambda _1^c\)). If \(e_{i,0}=1\), we can check that \(\lambda _2^c\) can be isotoped inside \(A_1^1\) to \((\lambda _1^c)^{-1}\) followed by \((\eta _1)^{-1}\), see Fig. 15a. The new cutting curve \(\bar{\lambda }_1\) is the boundary of the union of the disks bounded by \(\lambda _1\) and \(\lambda _2\) and the triangle (in \(A_1^1\equiv A_1^2\)) limited by \(\lambda _1^c,\lambda _2^c,\eta _1\). Notice that \(\bar{\lambda }_1\) has two connected components near \(A_1^1\equiv A_1^2\); one being \(\lambda _2^b\cdot \lambda _1^e\), and the other one \(\lambda _1^b\cdot (\eta _1)^{-1}\cdot \lambda _2^e\).

We perform a similar argument for the gluing of \(N_1^{2}\) and \(N_2^{2}\). Notice that the main difference between \(M_j^i\) and \(N_j^i\) is the gluing of the extra solid tori, but the tori involved in the plumbing have been removed.

In this case, we consider the other annuli \(A_2^1\subset N_1^{2}\) and \(A_2^2\subset N_2^{2}\) that become identified; these are the other parts of the plumbing tori. Let us choose cutting curves \(\lambda '_1,\lambda '_2\) that go parallel to \(\lambda _1,\lambda _2\) near the annuli. In order to emphasize this, we keep the above notation for their decomposition in the neighborhood of the annuli, see Fig. 15b. Assuming again \(e_{i,0}=1\), we see that \(\lambda _1^c\) can be isotoped inside \(A_2^1\) to \(\lambda _2^c\) followed by \(\eta _2\); notice that the isotopy is done in the back part of \(A_2^1\) in Fig. 15b. The new (blue) cutting curve \(\bar{\lambda }_2\) has two connected components near \(A_2^1\equiv A_2^2\); one being \(\lambda _2^b\cdot \lambda _1^e\), as before, and the other one \(\lambda _1^b\cdot \eta _2\cdot \lambda _2^e\).

As we see in Fig. 15a, b, some of the ends do not fit; in order for them to fit, we have to do a half-turn around \(\gamma _1\) in the suitable direction. Since we have freedom to choose the product structure in the annulus, this is equivalent to keep the intersection of the red curves as fibers, while the intersection of the blue curves perform a full loop, as explained in (G6). To be precise, since the curve \(\bar{\lambda }_2\cdot (\bar{\lambda }_1)^{-1}\) equals \(\gamma _1\) near the plumbing (in homology), for \(e_{i,0}=1\) the curve \(\lambda _2\) turns as \(\gamma _1\) (when going from the first vertex to the second one), see Fig. 16. It is easily seen that it turns as \(\gamma _1^{-1}\) for \(e_{i,0}=-1\). \(\square \)

Fig. 16
figure 16

Cutting curves for \(e_{i,0}=1\)

Example 6.3

Figure 17 illustrates the case of two vertices with genus zero and both with Euler number \(-2\). Notice that we take \(n_1=n_2=1\) and \(e_{i,j}=-1\).

Fig. 17
figure 17

Heegaard diagram of the plumbing of two manifolds with \(g=0,e=-2\)

7 Heegaard splitting of arbitrary graph manifolds

Proof of Theorem 2.1

Let \((\Gamma ,g,e,o)\) be an arbitrary plumbing graph. As indicated in the statement, we fix an explicit cocycle representing o, consisting on assigning a sign \(e_\eta \) to each edge \(\eta \).

Let us fix a vertex v with valency \(d_v\), associated to a fibration \(\pi _v:M_v\rightarrow S_v\). Let us choose \(d_v+n_v\) pairwise disjoint closed disks in \(S_v\), determining solid tori in \(M_v\). The first \(d_v\) disks are assigned to a fixed edge \(\eta \) having v as an endpoint. As in Sect. 6, the first \(d_v\) disks will have associated numbers \(e_{\eta }\), and the remaining disks numbers \(e_{v,j}\), \(j=1, \ldots ,n_v\), such that their absolute value equals 1, and

$$\begin{aligned} \sum _{v\in \partial \eta } e_{\eta }+\sum _{j=1}^{n_v} e_{v,j}=e_v. \end{aligned}$$

Since the method needs a main cylinder for each vertex, \(n_v\) must be at least one. As an exception, this condition can be relaxed when \(g_v=0\), \(d_v=2\), \(e_v\in \{-2,0,2\}\), since in this case the main cylinder may play no special role.

If \(\Gamma \) is a tree, it is enough to iterate the construction of the Proof of Proposition 6.2. Notice also that there is no restriction for the choice of the cocycle.

Let us now consider the general case where the graph may have cycles. This is the only case where (G7) plays a role. We proceed as before for all the edges in the spanning tree \(\mathcal {T}\). Let us now explain the effect of the plumbing process along the remaining edges.

As we saw in Proposition 3.12, the process is different when the plumbing closes a cycle in the graph. This is because the gluing process is done between two float curves of the same handlebody. In particular, the way of constructing cutting curve systems changes. Proposition 3.12 proves that this process produces also a Heegaard splitting (where the genus remains unchanged).

Fig. 18
figure 18

Float gluing that closes a cycle

How to obtain the cutting curves is explained in Remark 3.13. Figure 18 describes this process in our case, showing how to obtain the new pair of cutting curves from the ones that existed before the plumbing. The first pair of cutting (red and blue) curves is obtained as in the tree case: they are obtained as connected sum of the preexistent ones. The second pair of cutting curves is constructed as explained in Remark 3.13, as the union of two parallel copies of a preexistent curve and the boundaries of the identified annuli. \(\square \)

8 Explicit examples

Let us consider some examples of graph manifolds for which we will give a Heegaard splitting. These examples come from links of normal surface singularities.

Example 8.1

Let M be the link of the \(\mathbb {A}_n\) singularity, a lens space \(L(n,n-1)\). The graph of this manifold is a linear tree with \(n-1\) vertices with \(([0],-2)\) decorations.

Fig. 19
figure 19

\(\mathbb {A}_n\) graph

Fig. 20
figure 20

Heegaard diagram of the \(\mathbb {A}_n\) graph

With our method we obtain a genus 1 Heegaard splitting where the two curves intersect n times.

From now, we will drop the genus weight if it vanishes.

Example 8.2

Let us consider the plumbing manifold associated with a graph with one vertex and Euler number \(-n\), link of a quotient singularity, i.e., the lens space L(n, 1). With our method, we obtain a Heegaard splitting of genus \(n-1\). Using Neumann plumbing calculus (namely \((n-1)\)\(+1\)-blowups and one \(-1\)-blowdown), we can transform it in the graph of Fig. 19, where the weights equal 2. The Heegaard splitting coincides with the one from the previous example, with a reversed orientation (Fig. 20).

Example 8.3

The plumbing manifold of Fig. 21 is also a lens space L(5, 2) and it admits a Heegaard splitting of genus 1. However, our method provides a genus-2 Heegaard splitting (Fig. 22).

Fig. 21
figure 21

A quotient singularity

Fig. 22
figure 22

Heegaard diagram of the quotient singularity

Example 8.4

The link of the singularity defined by \(z^2+x^3+y^5=0\) (\(\mathbb {E}_8\)-singularity) is the Poincaré sphere. Our method provides a Heegaard splitting of genus 3, where the central vertex needs four drills (three negative ones).

Fig. 23
figure 23

Heegaard diagram of the \(\mathbb {E}_8\)-singularity

It is possible to make a simpler Heegaard splitting. Using \(+1\)-blowups of [5] (and one \(-1\)-blowdown), we can modify the Euler numbers: 2 for the lower vertex and \(-1\) in the central vertex. In that case, we can make a float gluing along the main cylinder, obtaining a Heegaard splitting of genus 2 (Fig. 23).