Open Access Article
Nico Di Fonte
*a,
Isabella Daidone
*a and
Laura Zanetti-Polzi
b
aDepartment of Physical and Chemical Sciences, University of L'Aquila, L'Aquila 67100, Italy. E-mail: nico.difonte@graduate.univaq.it; isabella.daidone@univaq.it
bInstitute of Nanoscience - CNR, S3, Via G. Campi 213/A, Modena, 41125, Italy
First published on 9th June 2026
Hydrogen bonds play a central role in determining the structure and behaviour of liquids, particularly water, whose anomalous properties arise from its extended and highly heterogeneous hydrogen-bond network. Here, we introduce a graph-theoretical framework related to the Node Total Communicability (NTC) that enables a systematic, molecule-resolved description of hydrogen-bond networks from Molecular Dynamics (MD) simulations. In contrast to earlier related approaches with the NTC, the hydrogen-bond network is explicitly mapped onto a directed graph, allowing the asymmetric nature of hydrogen bonding to be retained. The method captures both local and longer-range connectivity, providing a unified metric to probe the structural organization of molecules. As a representative test case, we apply this approach to water and aqueous salt solutions, demonstrating how the presence of ions modifies hydrogen-bond connectivity. From this perspective, the analysis shows that ionic effects are confined to the first hydration shell, while the hydrogen-bond network beyond remains essentially unperturbed.
The addition of solutes introduces strong perturbations into water's HB network. Their presence changes viscosity, diffusion, and solvation structure and affects the stability of biomolecules.20–22 Extensive work has shown that HBs in the first solvation shell are significantly altered, while the extent of the disturbance beyond that shell remains debated, especially for divalent ions and specific ion pairs.23–25 Ion-specific effects are often summarized in the Hofmeister series, which ranks ions by their influence on water and biological systems. From a structural point of view, ions are usually divided into kosmotropes (“structure makers”), which strengthen hydrogen bonding, and chaotropes (“structure breakers”), which weaken it. However, at least for anions, this description has proven to be only partial. A very recent study revealed that two distinct mechanisms characterize anion–water interactions: soft anions (such as Cl−, Br−, and I−) modulate HB strength through partial transfer of electronic charges, resulting in weaker H-bonds; however, this effect is partially compensated by an increase in orientationally correlated H-bonds. In contrast, hard anions (F−, ClO4−, and SO42−) perturb the network primarily through electrostriction.26 An analogous dichotomy for cation–water interactions has not yet been reported. From a broader perspective, understanding the effects of the addition of ions on water's HB topology requires an analysis linking the local solvation structure to the collective network behavior. To this aim, graph theory based approaches appear as promising tools, because, by representing water molecules as nodes and bonds or interactions as edges, they allow to take into account the entire water–water HB network.27 These kinds of approaches have been used to quantify the connectivity of water molecules, to identify the recurrence of specific structural motifs, and to characterize how solutes and nanoconfinement modify clustering behavior.28–31
In our previous works,14,32,33 we used a graph theory based structural descriptor, the node total communicability (NTC), to investigate the low- and high-density liquid states of water. Within that approach, we defined a graph, tailored to capture connectivity changes related to the density of the system, taking into account both the local density and the medium- to long-range structural organization of water molecules. Expanding on this concept, we now introduce a metric, derived from the same network-based information underlying the NTC, that allows a full explicit characterization of the whole water–water HB network, still retaining the information about the medium-to-long range environment. This metric, the HB score (SHB), is applied here at first to bulk water, both in its crystalline state and under ambient conditions, and is then used to characterize how the whole HB network of water reorganizes in the presence of solutes such as NaCl. The binary solution is investigated across a range of concentrations to demonstrate the descriptive power of the approach. Since aqueous NaCl is a widely studied system, it serves as a controlled test case to validate the method and illustrate the richness of the information it provides. In particular, the HB score allows us to identify ion-specific effects on connectivity, resolve how water molecules behave and orient around different ions, and quantify the extent of the perturbation at each geodesic distance, providing a level of detail that is not readily accessible with standard post-processing tools.
![]() | (1) |
It is easy to prove that in an unweighted graph G, the number of walks of length k = 1, 2, … between two nodes vi and vj is equal to the entry (i, j) in the matrix Ak (the k-th power of the associated adjacency matrix).
In our previous works,14,32,33 we constructed undirected graphs for bulk water, considering the oxygen atoms as the nodes of our graphs and defining an edge between two nodes as existing if the distance between two oxygen atoms is <0.35 nm (see Faccio et al.14 for explanations on the choice of this threshold). For the scope of the present work, we consider an edge between two nodes as existing if the two oxygen atoms are connected by a hydrogen bond (Fig. 1a). Therefore, the existence of a connection is further restricted by the hydrogen–donor–acceptor (H–D–A) angle, which must be <30°. With this definition of an edge, we can construct both undirected and directed graphs. For the latter, the edge is directed from donor to acceptor. For directed graphs, where edges have a defined orientation, the HB network of each water molecule can be represented as the sum of two contributions. From a graph-theory perspective, these correspond to the broadcaster and receiver roles (Fig. 1b), while from a chemical view-point, they reflect the donor and acceptor character of the molecule.
The geometric definition of hydrogen bonding we employ here is widely adopted in the literature.42 An alternative definition based on an energetic criterion could also be employed. A discussion of the sensitivity of our results to this choice, including a comparison with an energetic criterion based on the two-dimensional free-energy landscape along the H-bond distance and angle coordinates, is provided in the SI (see Fig. S1 and S2 and the corresponding text).
To calculate the distances and angles between the atoms, we use the minimum image convention. In this way, we take into account periodic boundary conditions. In order to focus on water–water connectivity, Na+ and Cl− ions are excluded from the network, and only oxygen atoms of water are treated as nodes in all graphs considered in this work. Including Na+ and Cl− in the graph would not pose a technical limitation. However, it would lead to a network that is no longer purely based on hydrogen bonding. In particular, Cl− can act as an H-bond acceptor, whereas Na+ cannot act as a donor, thereby introducing an intrinsic asymmetry in the H-bond definition.
As a consequence of excluding water–ion interactions, water molecules coordinated to the ions appear less connected in the graph, since part of their water–water H-bonds are replaced by ion coordination. This implies that, in addition to the genuine structural modification of the HB network induced by the presence of the ion, an additional purely geometric excluded-volume effect also contributes to the observed differences in connectivity. To estimate the effect of the excluded volume of each ion, we compare a system containing one ion at the center of the box (50 ns-long single-ion simulations in the NVT ensemble, i.e. 0.0125 molal) and the corresponding pure water simulation, corrected for the excluded volume through the following procedure. For each pure water trajectory frame, we remove from the graph all water molecules whose oxygen–box-center distance is smaller than a threshold radius, defined as the first non-zero value of the oxygen–ion radial distribution function (1.86 Å for Na+ and 2.55 Å for Cl−). This effectively places a “fictitious” ion, a hard sphere of the same radius as the real ion's first coordination shell onset, at the box center, without introducing explicit ion–water interactions. This allows us to isolate the geometric excluded-volume effect from the direct perturbation of the HB network induced by ion coordination.
![]() | (2) |
, it gives less weight to the contribution of longer walks. In our experiments, we choose β = 1 (refer to our previous works14,32 for the details of this choice). In our previous works, we considered two oxygen atoms to be connected if their distance was <0.35 nm, thereby treating interstitial water molecules, one of the typical structural features of ambient water, as connected nodes. Since our focus here is the characterization of the water HB network, we instead compute the NTC by considering two oxygen atoms as connected only if a hydrogen bond exists between them (see above). The distribution of the NTC defined in this way (hereafter denoted as HB-NTC) is reported for both ice Ih and ambient water in Fig. 1c.
For the regular lattice of Ice Ih, the NTC assumes a single value (i.e., e4 ≈ 54.6), consistent with a 4-regular graph.44 For ambient water, the NTC distribution is broader, reflecting the enhanced topological and structural heterogeneity of the HB network. Compared with Ice Ih, the main peak is shifted toward lower values, consistent with the reduced average HB connectivity and the increased presence of network defects in the liquid phase. Secondary peaks and shoulders suggest the coexistence of distinct local HB environments within the network.
As mentioned before, the HB-NTC accounts for the global connectivity of each node through the summation over k. However, by truncating this summation at a determined value of k and using a directed graph in which edges correspond to hydrogen bonds, it is possible to gather information about the specific HB pattern of a node. This approach can be applied both by using the standard NTC formula (eqn (2)) to evaluate the magnitude of the connectivity of each molecule in terms of hydrogen bonds up to the geodesic distance k and by using an unweighted version of the NTC (i.e., without the factor
). With this second approach, the resulting data are more directly interpretable, as they provide a count of the number of HBs for each value of k (see Results and discussion section for the correspondence between k and the physical distance). With this approach we define the HB score, SHB (vi), that can be viewed as a k-resolved, unweighted counterpart of the HB-NTC, from which the HB-NTC can be directly constructed. SHB (vi) of node vi can thus be defined as a graph-theory–based metric quantifying the hydrogen-bond connectivity of a molecule, with contributions resolved by k. Practically speaking, SHB (vi) is the string concatenation of the number of HBs nHB (vi,k) obtained for each k:
| SHB (vi) = ||nHB (vi,k = 1)||nHB (vi,k = 2)||nHB (vi,k = 3)|| | (3) |
![]() | (4) |
It has to be noted that, if within this count the number of HBs as a donor and as an acceptor has to be assessed (corresponding to the broadcaster and receiver nature of each node), the adjacency matrix derived from the geometric hydrogen-bond criteria cannot be used directly. A few adjustments are necessary to ensure coherent results; further details are provided in Section S3 of the SI.
![]() | ||
| Fig. 2 Oxygen–oxygen radial distribution function for the pure water simulation, showing the distribution of distances of molecules at geodesic distances up to k = 5. | ||
The same analysis is also carried out for the ionic solutions, and the results do not show significant differences, as illustrated in Fig. S5 of the SI. It is also worth noting that a very small peak is observed in the first hydration shell for k = 4 and k = 5. This feature arises from the propensity of the hydrogen-bond network of water to form cyclic arrangements, so that molecules separated by four or five geodesic steps can still be located at short Euclidean distances as part of five- and six-membered hydrogen-bonded rings. In this context, the adjacency matrix representation of the network is particularly convenient, since information on rings of size n can be directly extracted from the trace of An.
Once k = 3 is set as a convenient threshold, the HB score of each molecule can be determined according to eqn (3). While a single digit suffices for the k = 1 string, two digits are required for both the k = 2 and k = 3 strings. Consequently, a hydrogen bond configuration up to k = 3 can be represented using a five digit HB score. For example, each water molecule in a perfect ice Ih lattice can be described by an HB score of 41236 (i.e. 4 hydrogen bonds at k = 1, 12 at k = 2 and 36 at k = 3, Fig. 3a). Panel b of Fig. 3 reports the distribution of SHB (vi) for pure water at 300 K. The peaks in panel b report the different numbers of HB of water molecules in the system (i.e., they are the distribution of the values obtained at k = 1). However, each of these peaks is composed of multiple sub-peaks that arise from additional structural distinctions captured at k = 2, as shown in panel c. Analogously, these k = 2 sub-peaks further subdivide into even finer features reporting on the HB pattern at k = 3 (panel d). The value corresponding to ice Ih is also shown in each panel as a reference. The comparison clearly shows how the HB network of ambient water differs from the perfectly tetrahedral one of ice. In particular, the data for k = 1 show the competition between different local environments in ambient water that has been identified as the source of anomalies in liquid water. As a matter of fact, while the most pronounced peak is the same as Ice Ih (4 HBs, tetrahedral structure), a very relevant population of molecules with 3 HBs (distorted structure) is also present. The data for k = 2 and k = 3 show that this difference extends to longer distances: the peak of Ice Ih for k = 2,3 is only marginally populated in ambient water. This reflects the expected increase in hydrogen bond network distortion compared to the ordered structure of ice. These results also show that, with this approach, we can exactly quantify the higher degree of disorder in ambient water and its origin. In fact, panels c and d show that even water molecules involved in four hydrogen bonds feature a less structured second and third hydration shell. It is also worth highlighting that this information can be obtained with a single, quick calculation exploiting the high efficiency of graph-theory optimized algorithms. In contrast, information about the long range HB pattern of a molecule is not readily accessible with standard post-processing tools typically used to analyze MD simulations.
We then move to the investigation of aqueous NaCl solutions at different concentrations. In our previous works, we showed that the NTC is a useful order parameter to distinguish the two local structures of liquid water (ordered vs distorted). In that case, the lower NTC values observed in the low density (ordered) state of liquid water can be attributed to the lower connectivity of that state. Also for the NaCl solutions investigated here, the NTC shows a progressive decrease in the number of hydrogen bonds as the salt concentration increases, resulting in a lower connectivity in the graph (Fig. S6a in the SI). This trend becomes considerably more pronounced for the HB-NTC distribution (Fig. S6b in the SI), showing a greater sensitivity of the HB-based NTC in discriminating between solutions at different salt concentrations.
The same figure also shows that the HB-NTC distributions feature multiple peaks arising from the different HB configurations of the water molecules in the system. However, the interpretation of these peaks in terms of HB pattern is not straightforward, mainly because distinct hydrogen-bond configurations can produce the same NTC value. This ambiguity can be avoided by using the HB score to characterize the salt solutions. To characterize the concentration dependence of the hydrogen-bond pattern of water molecules surrounding the ions, we first analyze the behavior within the first solvation shell, whose extent is defined by the first minimum of the ion–oxygen radial distribution functions (Fig. S7 of the SI). For water molecules in the first shell, the connectivity at k = 3 decreases with increasing concentration. Panels (a) and (b) of Fig. 4 report the nHB/nHB0 ratio for sodium and chloride, respectively, where nHB0 is defined as the average number of HBs at a given k of pure water. A systematic difference between the two ions is observed: water molecules around chloride are always more connected than those around sodium, reflecting different local structuring induced by the two ions (vide infra). As k decreases, the nHB/nHB0 ratio becomes more independent of concentration for both ions.
In Fig. 4, panel c, we compare, at k = 1, the nHB of water molecules within the ionic solvation shells to that of water molecules outside the shells, using pure water as a reference (nHB0). The analysis shows that the effect is almost constant across concentrations and that the nHB values outside the solvation shells are indistinguishable from those of pure water, suggesting that the perturbation does not extend beyond the first solvation shell, in line with previous findings.24
To investigate more thoroughly the possibility that ions perturb the water network beyond the first solvation shell, we perform single-ion simulations and compute the average number of hydrogen bonds (nHB) at geodesic distances k = 1, k = 2, and k = 3 for water molecules in the first and second solvation shells of each ion, as well as for bulk water molecules. To disentangle the effects arising from the excluded volume of the ion from those associated with direct ion coordination, the same analysis was also performed on the “fictitious” ion configurations (see the Methods section). The results are reported in Fig. 5. For water molecules in the first solvation shell of ions, the comparison with the fictitious ion system reveals a clear difference between the two ions: for Na+ (panel c), the real ion produces a significantly lower nHB than the fictitious one, indicating a strong direct coordination effect that goes beyond a simple excluded-volume contribution; for Cl− (panel d), the real and fictitious curves are identical, showing that the small reduction in nHB observed in the first shell is entirely accounted for by the excluded volume of the ion. This result shows that Cl− integrates into the hydrogen-bond network in a manner that closely resembles water itself, consistent with its ability to adopt hydrogen-bond-like configurations with neighbouring water molecules. In the second solvation shell (panels e and f), real and fictitious ions yield indistinguishable nHB values for both Na+ and Cl− at all geodesic distances. These results demonstrate that the differences between bulk water and the solution for water molecules in the second solvation shell originate from the geometrical truncation of available network pathways due to the excluded volume of the ion, rather than from any propagation of the ion-induced perturbation beyond the first solvation shell.
We then investigate the structural origin of the different behavior of water molecules in the first solvation shell of the two ions. To determine the relative orientation of these water molecules and the ions, we compute the angle θ, defined as the angle between the ion–oxygen vector and the HOH angle bisector, as illustrated in Fig. 6, panels (a) and (b). The distribution of these angles was analyzed separately for molecules forming 1, 2, 3, or 4 hydrogen bonds.
In an ideal configuration, sodium prefers to coordinate with the oxygen atom facing the ion and the hydrogens pointing outward, corresponding to a theta value of ≈150°–180°. Panel (a) shows that, to form a larger number of hydrogen bonds, water molecules around sodium adopt increasingly distorted conformations to expose the oxygen to potential hydrogen-bond donors. In contrast, water molecules around chloride orient themselves with a hydrogen pointing toward the ion, in a hydrogen-bond-like fashion, yielding a theta value of ≈50°–60°, resembling the configuration of an HB, as widely reported in the literature.28,45 Panel (b) demonstrates that this orientation is largely preserved regardless of the number of hydrogen bonds in which the molecule participates. Panel (c) of Fig. 6 illustrates how water molecules around sodium adopt distorted orientations to accommodate more than two hydrogen bonds, in contrast to the more regular arrangement observed around chloride. From the HB distribution shown in panel d, it can be seen that, for both ions, the most frequent number of hydrogen bonds is three. However, relative to each other, water molecules around sodium more often feature one or two hydrogen bonds, while those around chloride more frequently engage in three or four. This reflects the fact that maintaining an additional hydrogen bond requires a partial reorientation for sodium. Fig. S8 of the SI, also shows that in order to engage in a higher number of HBs, water molecules in the first hydration shell of Na+ are found at a larger distance from the ions, partially losing the coordination with the ions.
Resolving the number of HBs for water molecules around the two ions in terms of broadcaster and receiver contributions (Fig. 7), the expected organization of water around NaCl can be observed. Fig. 7 shows that molecules around chloride and sodium display opposite behaviors in terms of broadcaster and receiver roles, consistent with the preferred orientation of water molecules, with the oxygen atom pointing toward Na+ and the hydrogen atoms toward Cl−.
When examining the hydrogen bond distribution for k = 2 (reported in Fig. S9 and S10 of the SI), we define n1 as the number of hydrogen bonds at k = 1. For n1 values less than or equal to two, the sodium and chloride distributions follow the same trend. Noticeable differences appear only when n1 is greater than two. This is because both sodium and chloride can engage in two HBs without relevant distortions. In Fig. 8, we show the distribution of the number of HBs for k = 2 for n1 = 3 and n1 = 4, respectively, it can be seen that for the same n1 value, chloride is able to reach a slightly higher connectivity (insets in Fig. 8).
Moving to k = 3, if we consider a fixed n1/n2 couple (i.e., a given number of hydrogen bonds at k = 2 for a given n1), no relevant difference between sodium and chloride emerges (see Fig. S11 in the SI for example). To understand this observation we explicitly inspected the ion–oxygen distances for molecules at k = 1, k = 2, and k = 3 geodesic distances from the molecules in the first solvation shell of ions, as shown in Fig. 9. For molecules at k = 1, the ion–oxygen distances fall squarely within the second solvation shell with a small shoulder in the first hydration shell, indicating that there's only a small percentage (1.9% for both Na+ and Cl−) of direct hydrogen bonds in the first hydration shell of ion distribution functions. The difference in this shoulder, however, increases in percentage when examining differences at k = 2 with 3.0% for sodium and 4.1% for chloride. This suggests a scenario in which some HB paths originating from the first hydration shell return to the same shell at k = 2 through an intermediate water molecule in the second solvation shell, which bridges two water molecules belonging to the first shell (Fig. 9). For sodium, this triangular-like configuration requires at least one of the two first-shell molecules to be distorted with respect to the ion, whereas the same configuration can be easily attained by chloride.
On the other hand, at k = 3, the percentages in the first shell become similar again (4.2% for Na+ and 4.3% for Cl−), as the hydrogen-bond pattern forms a square-like arrangement (Fig. 9), resulting in a less strained structure where water molecules around sodium can participate without adopting a distorted conformation.
This indicates that, for the NaCl solution, the examination of the HB pattern at k = 3 is not crucial. Therefore, the higher connectivity of water molecules around chloride for k = 2 and n1 = 3 and 4 originates from the same mechanism identified for k = 1: the formation of a hydrogen bond at k = 2 requires a distortion of the water molecule around sodium, but not around chloride.
The data supporting this article have been included as part of the supplementary information (SI). Supplementary information is available. See DOI: https://doi.org/10.1039/d6cp00965d.
| This journal is © the Owner Societies 2026 |