1 Introduction

Social and external factors strongly influence the behaviour of people and their decision making. For instance, the influence that comes from peers, as friends, co-workers and family, and also the influence that comes from political biases or exposure to the mass media [1,2,3,4]. In this context, many studies have investigated the role of social networks in collective dynamics as voting behaviour, for example [5,6,7]. In this scenario, the agreement is a relevant aspect of social dynamics since we frequently face situations requiring decision-making. Even simple ones as buying something or not, choose restaurant A or B for lunch; or until more complex decisions as to choose between candidate C or D for president. Of course, we know that consensus states are not observed in many real situations, such as political elections. However, basic models as the voter model can be helpful to investigate interacting particle systems a priori as a first attempt to explore complex factors that can affect such social spreading dynamics.

The simplest version of the voter model [8,9,10,11] starts with a population of N individuals, represented by nodes of a given network. Each node can be only in two states typified as a binary variable \(s = \pm 1\). At each time step, a given node copies the state (opinion) of a randomly chosen neighbour. The consensus is reached when all N nodes converge to the same state. The opinion dynamic studies using the voter model is already extensively explored in regular and complex networks from an analytical and numerical perspectives [11,12,13,14,15,16,17,18,19,20,21,22,23]. A widely investigated quantity in these works is how the mean consensus time T - the mean time need to arrive at a full consensus - changes with the network topology. The regime of time consensus depends on the number of agents N, and it was already investigated in regular lattices and generic uncorrelated heterogeneous graphs. The analytic solution for regular lattices is exact [12], but in uncorrelated heterogeneous networks, the solution is obtained through mean-field theory [15].

Despite its simplicity, the voter model and versions based on it can describe opinion dynamics in several situations. For example, the authors in Ref. [6] used the voter model as their basic dynamical system to investigate the collective dynamics of voting in US presidential elections. Vendeville et al. [7] based on the voter model with stubborn nodes to predict the result of elections. Another application of the model can be found in Ref. [24], where the authors used the voter model to analyse the language competition problem. However, in a more realistic context is necessary to add ingredients with social characteristics because community behaviour is affected by factors involving social, economic and cultural issues. For example, a social experiment proof that socioeconomic factors, like immigration, deindustrialization, demand for public services, among others, can interfere in the globalization of extremist ideologies [25].

In this context, we model this dynamical process on networks grown according to social characteristics that change their topology. We implemented the node’s fitness, the Euclidean distance and the homophily between nodes as social features presented in the network. The main point of this work is to show how topological properties of networks, that can represent social features, affect dynamical processes. The choice of a simple opinion model is reasonable in order to focus on the effects of several social features embedded in the different topologies. Our results show that these characteristics provide a more realistic description of real systems and impact on how the consensus is reached. However, unexpectedly the standard heterogeneous mean-field theory proposed by Sood and Redner [15] to investigate the voter model dynamics seems to be quite reasonable to predict the behaviour of the mean consensus time in function of the network size.

Furthermore, it has been shown that social networks differ from other types of networks as biological and technological ones [26, 27]. In this context, we compared our network models with real systems—social and non-social ones. As a result, we show that the synthetic networks with social features embedded in their topology are able to estimate the consensus time of the voter model dynamics in real social systems. This finding shows us that such networks with social attributes are robust for modelling dynamic processes in more realistic situations and that the characteristics of network models, such as fitness, homophily and Euclidean distance between nodes are able to represent real social features.

This manuscript is divided as follows: we first described the network models with social features and the voter model in the methodology section. Subsequently, we presented our results and discussions about social parameters’ influence on networks on the voter model dynamics, including comparisons with real systems. A detailed description of this set of real networks can be found in Appendix A. Finally, in the last section, we draw our conclusions.

2 Methodology

We used four preferential attachment network models to investigate the behaviour of the voter model. We aim to study the relation between the social features incorporated in the networks through these preferential connection mechanisms and the time needed for the dynamic to reach the consensus. Next, we briefly present such network models and contextualise the voter model’s main results already consolidated in the literature.

2.1 Network Models

In this work, we used well-known network models that are based on two properties: the growth of the network, which means the nodes are added to the substrate; and the preferential attachment rule, that governs how these newly added nodes will connect to the ones already present in the network. Thus, the algorithm of the network models consists essentially of three stages: (a) the system starts with \(m_0\) nodes connected to each other; (b) at each time step, a new node j enters on the network; (c) this new node chooses a node i, from all nodes already on the network, to connect. The general way to describe this last aspect is writing the probability \(\Pi (i\vert j)\) that a node j chooses a node i to connect, which is given by

$$\begin{aligned} \Pi (i \vert j) = \frac{1}{Z}\frac{\eta _i(1-A_{ij})}{r_{ij}^{\alpha _A}}k_i \, \end{aligned}$$
(1)

where,

  • \(k_ i\): is the degree of the i-th node;

  • \(\eta _i\): is the fitness of the i-th node. It is an intrinsic node property that gives its attractiveness, in the sense that as bigger it is, the more chance the node has to be chosen;

  • \(A_{ij} = \vert a_i - a_j \vert\): is a term that measures the similarity or affinity between the pair i and j, since \(a_i\) and \(a_j\) represent traits of the nodes i and j, respectively. The more similar they are, the smaller \(A_{ij}\) is, and, consequently, they are more likely to connect.

  • \(r_{ij}\): is the euclidean distance between the pair i and j;

  • \(\alpha _A\): is a parameter that controls the influence of the spatial distance in the connection between a pair of nodes;

  • Z: is the normalization term, obtained by \(\sum _{i} \Pi (i\vert j) = 1\).

Step (c) is repeated m times for each new node; that is, each new node j makes m connections when it is added to the network. That means the minimum degree of each node is m. The preferential attachment rule of the network models that we investigated can be reached as a particular case of the general formulation given by Eq. (1), as described below and summarized in Table (1).

For example, in the traditional Barabási-Albert (BA) model [28], new nodes preferably connected to other ones that already have more links. To represent this, we should consider \(\alpha _A = 0\) (space is not considered), \(A_{ij}=0\) for any pair of nodes (absence of affinities), and \(\eta _i =1\) for all i (everybody has the same attractiveness) in the general formulation. The application of this preferential attachment rule generates a network with a power-law degree distribution \(P(k) \sim k^{-\gamma }\), with \(\gamma =3\) in the thermodynamic limit.

Table 1 A schema illustrating the parameters that are consider (green) or not (red) in each network model

The Bianconi and Barabàsi [29] model is obtained from this general framework when \(\alpha _A = 0\) and \(A_{ij}=0\) for all pair of nodes. The probability that a new node j connect to a pre-existing node i dependent now on its degree (\(k_i\)) and its fitness (\(\eta _i\)). The choice of \(\eta _i \in [0,1]\) is usually given by a uniform distribution \(\rho (\eta _i)\) [29]. In short, the node’s fitness describing its ability to make links with other nodes. This quality can be associated with an individual’s social skills to make friends, the content of a scientific publication, or even how enjoyable a YouTuber can be. This algorithm also generates a network with a power-law degree distribution but with \(\gamma = 2.25\). A lower value of the \(\gamma\) exponent in comparison with BA network model is because the rich-gets-richer phenomenon happens combined with the fit-gets-richer phenomenon. It means that even recently added nodes can obtain many links if it has a significant fitness.

Another relevant model within the network group of preferential attachment is the one proposed by de Almeida et al. [30] that includes the homophilic term. This term is able to increase the contact between similar nodes. This characteristic is related, for example, to the fact that people make friends easier if they share common features (mathematically represented by \(A_{ij} =\vert a_i - a_j \vert\) in Eq. 1) such as musical taste, religion, soccer team, or professional environment. Then, the parameter \(a_i \in [0,1]\) represents an intrinsic property value of each node and it is given by a uniform distribution. It is reached from the general approach when \(\alpha _A = 0\) and \(\eta _i =1\) for all i. This recipe also generates a network with a power-law degree distribution with \(\gamma = 2.75\). This exponent value is smaller than the one of the BA model but higher than the one of the fitness model. It happens because the fit-gets-richer phenomenon is not as pronounced as in the fitness model since similar values of \(a_i\) and \(a_j\) are necessary so that nodes i and j are more likely to connect.

Finally, the geographical proximity between the nodes is taken into account as a preferential attachment rule, beyond the degree of each node, in the network model proposed by Soares et al. [31]. It came from the general approach when \(\eta _i =1\) and \(A_{ij}=0\) for all pair. The following rule generates the spatial structure of the nodes distribution. It starts with just one node located in an arbitrary origin in a \(2d-\)dimensional substrate. Then, the second node is included in the network, and it is automatically connected to the node \(i=1\), and its localization is randomly chosen at a distance r from the first node. This distance r is distributed according to:

$$\begin{aligned} P_G(r) \propto \frac{1}{r^{2+\alpha _G}}, \end{aligned}$$
(2)

where \(\alpha _G > 0\) characterizes the growth pattern of the network, therefore, sub-index G. The new centre of mass (origin) is calculated, considering that each node has mass \(\mu = 1\). A third node is including obeying the same spatial distribution, but it will be connected to node \(i = 1\) or \(i = 2\) according to the probability given by Eq. (1)—modified for this particular case—and so on.

The degree distribution for this type of network, independently of the values of \(\alpha _G\), is given by \(P(k) \propto e_q^{-k/\kappa }\), where \(e_q^{x} \equiv [1 + (1 - q)x]^{1/1-q}\) is the \(q-\)exponential function, where \(e_1^x = e^x\). This function naturally emerges within non-extensive statistical mechanics [32], and q is a function of \(\alpha _A\) and \(\kappa\). Here, \(\kappa >0\) can be interpreted as the characteristic number of links. In this model, the degree distribution changes depending on how the distance interferes in the connection (controlled by the parameter \(\alpha _A\)), as will be explored in Sect. 3. However, there is no change in the distribution of connectivity when we change the values of \(\alpha _G\), since this parameter does not interfere with the preferential attachment rule.

For a detailed explanation about all these network models, see a recent review in Ref. [33].

2.2 Voter Model Dynamics

Sood and Redner [15] evaluated analytically the consensus time for a generic uncorrelated heterogeneous graph using mean-field theory. Their analytical predictions for the voter model on complex networks show that the consensus time depends sublinearly on the network size N. They found that the time to reach consensus for uncorrelated degree networks with any degree distribution is a function of N given by

$$\begin{aligned} T(N) = -N\frac{\langle k \rangle ^2}{\langle k^2 \rangle }[(1-\omega )\ln (1-\omega ) + \omega \ln \omega ], \end{aligned}$$
(3)

where \(\langle k^n \rangle\) is the n-th moment of the degree distribution and \(\omega\) is the initial density of nodes with opinion \(+1\), that is \(\omega = \frac{1}{\langle k \rangle N} \sum _{i \vert s_i=+1} k_i\).

However, in this work, we will restrict the analysis using the initial configuration composed by half of the network with \(+1\) opinion and the other half \(-1\), which implies that the term in brackets in Eq. (3) is always equal to \(-\ln (2)\). The authors also compared the mean-field results with numerical simulations, showing that they agree even for correlated degree networks, indicating that their theory is robust. For heterogeneous networks with power-law degree distribution, the asymptotic behaviour of consensus times is [15, 17]

$$\begin{aligned} T(N) \sim \left\{ \begin{array}{cc} N, &{} \gamma > 3 \\ N/\ln N, &{} \gamma = 3 \\ N^{2(\gamma -2)/(\gamma -1)}, &{} 2< \gamma< 3\\ (\ln N)^2, &{} \gamma = 2 \\ \mathcal {O}(1), &{} \gamma < 2\\ \end{array}\right. \end{aligned}$$
(4)

For Barabási-Albert network, for example, the numerical value found in simulations is \(T(N) \sim N^{0.88}\) that agrees very well with this analytical forecast [21]. In the next section, we present the results for the voter model dynamics running on top of different network topologies as presented above: BA, Fitness (Bianconi-Baràbasi) and Homophilic networks, and the model with Euclidean distance. We also compare our simulation results with the mean-field theory proposed by Sood and Redner [15]. Interestingly, our results showed that this mean-field approach is robust to predict the consensus time behaviour even for heterogeneous networks with characteristics that generate degree social features and geographic properties (see Ref. [33] for more details about these network models).

Another way to implement the model consists of a link-update rule in which, instead of choosing a node and after, its neighbour, we randomly choose a link, and both nodes at the end of this link are randomly assigned to the same opinion if they are opposites [20]. Although these two approaches are equivalent in regular and homogeneous networks, they are different in heterogeneous scale-free networks. Both methods conserve the average magnetization in homogeneous graphs, but in heterogeneous networks this quantity is conserved only for the link-update rule. The node-update rule conserves the average magnetization weighted by the degree of the node [23].

3 Results

Our results are subdivided into three topics. First, we investigated the influence of the fitness and the homophilic between nodes in the behaviour of the mean consensus time of the voter model. Then, we compared these networks with the traditional BA network. After, we showed the influence of the Euclidean distance between the nodes in the voter model dynamics. At last, we compared our synthetic networks with real ones to investigate the behaviour of voter model in social systems.

3.1 The Influence of Fitness and Homophilic Parameters

The power-law degree exponent \(\gamma\) is, in some way, a measurement of the heterogeneity of the network. More specifically, networks with lower \(\gamma\) are more heterogeneous and, consequently, have more hubs, it means, more nodes that have a significantly larger number of links (neighbours) in comparison with most nodes in the network. Therefore, the time to reach the consensus is decreased as the power-law exponent is reduced [23] since the presence of many hubs favours order (the neighbours of hubs tend to copy their state (opinion)). This behaviour can be observed in Fig. 1a, where we show the mean consensus time as a function of the network size for BA, Homophilic and Fitness networks that have \(\gamma =3.0, 2.75\) and 2.25, respectivelyFootnote 1. In this first analysis, we are not considering the Euclidean distance between the nodes, this means that, for now, we are keeping \(\alpha _A=0\). The Fitness model has a lower \(\gamma\) exponent, which means that it has more hubs that favour order and, consequently, the time to reach consensus is shorter compared to other networks of the same size. In this figure, we also show that Eq. (3) fits our numerical results very well, revealing that the Sood and Redner theory [15] is actually quite reasonable to predict the behaviour of the mean consensus time for all these network models.

Fig. 1
figure 1

(a) Average consensus time against network size for BA, Fitness and Homophilic networks. We used \(\alpha _g =2\) and \(\alpha _A = 0\), which means we not consider the euclidean distance and just compare the homophily and fitness parameters. The time to reach the consensus decreases as the power-law exponent reduces. (b) The same data for the Homophilic model with Euclidean distance. The parameter \(\alpha _g =2\) is kept fixed, and the value of \(\alpha _A\) ranges between 0 and 5. For \(\alpha _A > 2\), the pattern of the consensus time in function of N is pretty much the same (see Fig. 2b for more data). In both figures, the dashed lines are the prediction of the mean-field theory proposed by Sood and Redner [15] according to Eq. (3). Both results—simulation and prediction of Eq. (3)—were obtained using 1000 realizations of the voter model in each kind of network and therefore are subject to stochastic fluctuations

3.2 The Relevance of Euclidean Distance

Recent studies [34,35,36,37,38,39] have been emphasized the importance to consider the euclidean distance among the nodes. For example, Goldenberg and Levy [34] investigated the role of geographic distance in Facebook’s network of friends. They analysed 100, 000 Facebook users and 1, 297 linked pairs with reported zip codes and concluded that the probability of a friendship link between two people decreases with distance, and most Facebook connections are between people within a geographical distance of up to 100 miles. Similar behaviour was also observed for electronic communications. The same authors asked subjects to report the locations of the receivers of their last 50 email messages and their city of residence, collecting data for 4,455 email messages. They showed that message exchanges also decrease with distance, and \(30\%\) of all messages were sent to colleagues who are at most 100 miles away.

Latané [40] also described how an individual can be influenced by another in a social group. The convincing power of individuals and the spatial proximity between them can influence personal relationships and also decision-making.

So, considering that physical proximity is an essential factor in social tie formation [41,42,43] even in virtual social networks, we can consider geographical proximity using the model proposed by Soares et al. [31]. Until now, we are verifying the influence of the Euclidean distance between nodes, so we are going to use just the BA network, without considering the fitness and homophily effects, this means, \(A_{ij} = 0\) for any pair of nodes and \(\eta _i = 1\) for all node i (see Table 1). As we mentioned before, the parameter \(\alpha _G\) does not affect the behaviour of the connectivity distribution P(k) of the network (for details see Ref. [33]). This parameter refers just to the distance distribution in relation to the centre of mass and does not impact the preferential attachment rules. Consequently, the behaviour of the voter model is not affected.

Fig. 2
figure 2

(a) Connectivity distribution to different values of \(\alpha _A\) with fixed \(\alpha _G = 2\) on a network of size \(N = 10^4\). As \(\alpha _A\) increases, the connectivity distribution changes from heterogeneous connectivity to an increasingly homogeneous topology. The graph is on the log-log scale. Results obtained with an average of 1000 samples. (b) Consensus time against network size for the voter model in the Euclidean Distance model. The value of \(\alpha _G = 2\) is fixed and the values of \(\alpha _A\) range from 0 to 5. The straight slope \(T(N) \sim N^{-\nu }\) changes with the variation of the parameter \(\alpha _A\). The dashed and dotted lines have \(\nu = 0.88\) and 0.98, respectively, and it serves as a guide the to eyes. The points are obtained over 1000 realizations. In the inset, we show the variation of the exponent \(\nu\) as a function of the parameter \(\alpha _A\). The dotted line enlightened the sharp change that occurs for \(\nu\) values near \(\alpha _A=2\)

On the other hand, as \(\alpha _A\) increases, the connectivity distribution changes (see Fig. 2a). A topological transition appears close to \(\alpha _A \approx 2\) when the network changes from heterogeneous connectivity to an increasingly homogeneous topology. In the original work about the Euclidean distance model, Soares et al. [31] showed numerically this topological phase transition using the q-exponential distribution to fit the degree distribution. Recently, Piva et al. [33] extended this demonstration using other complex network’s measures, such as degree correlation and shortest path length. Finally, Cinardi et al. [44] and collaborators generalised the model for asymptotically-scale-free geographical networks. In our work, we will focus on investigating how this topological phase transition affects the consensus time in the voter model dynamics.

Numerical simulation supports the power-law behaviour of the time of consensus in function of N, since \(T(N) \sim N^{-\nu }\), where \(\nu\) is the exponent that depends on the model and can be numerically determined. As the network becomes more homogeneous as \(\alpha _A\) increases, the time to reach the consensus also increases; consequently, the exponent \(\nu\) becomes more prominent, as we show in Fig. 2b. This exponent changes sharply when \(\alpha _A \approx 2\). For \(\alpha _A = 0\) and 1, we obtained \(\nu \approx 0.88(2)\), for \(\alpha _A = 2\), we measured \(\nu = 0.92(2)\), and, finally, for \(\alpha _A >2\) the exponent stabilized around 0.98(2). The numbers in parentheses indicate uncertainties in the last digit. The inset presented in Fig. 2b enlightened this crossover.

This transition can be understood as a consequence of the nodes interaction range that changes from a long-range regime (\(\alpha _A\) sufficiently small) to a short-range regime (\(\alpha _A\) sufficiently large). A naive calculus to support this idea can be done considering that \(P(r) \sim 1/r^{\alpha _A}\) is the probability of two nodes being connected based on the preferential rule related to geographic proximityFootnote 2. Then, the average distance \(\langle r \rangle\) between two nodes can be estimated by the integral

$$\begin{aligned} \langle r \rangle = \int _{0}^{\infty } r P(r)dr \sim r^{2-\alpha _A} \Big \vert _0^{\infty }. \end{aligned}$$
(5)

That is, \(\langle r \rangle \rightarrow \infty\) (long-range interaction regime) when \(\alpha _A \le 2\); and \(\langle r \rangle = \mathrm {cte}\) (short-range regime) when \(\alpha _A > 2\). This is one more evidence that occurs a topological phase transition around \(\alpha _A \approx 2\).

Fig. 3
figure 3

(a) Number of hubs as a function of the \(\alpha _A\) parameter. The data are obtained over 5 network samples. (b) Mean consensus time against the attachment parameter. The points are obtained over 1000 realizations of the voter model. In both, we fixed the network size \(N = 10^4\) and the parameter \(\alpha _g =2\). For \(\alpha _A \gtrsim 2\), the quantity of hubs decreases, a characteristic of homogeneous networks, and the mean consensus time tends to stabilize at a higher value

In order to show how this topological transition affects the dynamics of the voter model, we plot in Fig. 3a the number of hubs presented in the network as a function of the attachment parameter \(\alpha _A\). From \(\alpha _A \approx 2\), the number of hubs starts to decrease; that is, the network becomes less and less heterogeneous. It affects the consensus time, which increases with \(\alpha _A\) and becomes practically constant for \(\alpha _A > 2\), as shown in Fig. 3b. These scenarios show how the network topology, influenced by the preferential attachment according to the geographic distance between the nodes, impacts the dynamic process under discussion. As a criterion, we consider hubs all nodes with degree \(k > 50\) since in a network with a size \(N = 10^4\), the degree cutoff is around \(k_c \sim \sqrt{N} \approx 100\) [45]. However, our results do not change qualitatively as a function of the fixed threshold.

We can also add the Euclidean distance between nodes as another preferential attachment rule in the Fitness and Homophilic models. It makes the network even more similar to a real one. In Fig. 1b, we observe the evolution of the consensus time in function of the network size for the Homophilic model with this additional attachment rule. We also observe a change in the behaviour of T(N) versus N for \(\alpha _A\) greater than or less than 2. The same results can be obtained for the fitness model with Euclidean distance. These findings show that the distance between the nodes as a preferential attachment rule is a robust feature that affects the voter model dynamics. We also show that the forecast of the heterogeneous mean-field theory given by Eq. (3) works very well, showing that the Sood and Redner theory [15] is sufficient to predict the consensus time in different networks.

3.3 Voter Model in Real Networks

In order to investigate the impact of the social features that we presented in synthetic networks, we calculated the mean consensus time using the voter model dynamics running on top of real substrates. From now on, we compared the time needed to reach consensus in both synthetic and real networks with the same size and analysed if there is a correlation between these values. If there is a positive correlation, we can infer that the artificial networks with preferential attachment based on social features are feasible models to predict outcomes related to real dynamics.

We selected two sets of systems—social and non-social one—with size ranging from \(N \approx 100\) to \(N \approx 10000\). We investigated eight social networks and seven non-social ones. The classification of them was made based on the description of each network, as we showed in the Appendix A (Table 2) [46].

Fig. 4
figure 4

Predicted consensus time in: synthetic networks and real ones: (a) social and (b) non-social networks. In both panels, the synthetic networks models are represented by the same symbols, and the dashed line represents a line \(y = x\) that works as a guide to the eyes. In panel (a), we observed substantial linearity between data, mainly for Barabási-Albert and Homophilic models. The correlation coefficient between predicted and real data is around 0.99 for scenario (a) and –0.34 for scenario (b). For social networks, we also found angular coefficient \(a = 1.18\) for Barabási-Albert model, \(a = 1.08\) for Homophilic model, and \(a = 0.61\) for the Fitness Model. While for non-social networks, there is no linear relation between the data. Here, the Euclidean distance between nodes was included as a preferential attachment rule in all models. We used \(\alpha _A = \alpha _G = 2.\)

In Fig. 4, we showed the behaviour of the mean consensus time—obtained using the voter model dynamic—for real networks in comparison with the Barabási-Albert, Fitness and Homophilic synthetic networks, all of them also including euclidean distance (\(\alpha _A = 2\) and \(\alpha _g = 2\)). In the panel (a), we plotted the results of the predicted consensus time given for synthetic networks versus the value of consensus time for real social networks of the same size. We observed a high correlation between them (R = 0.99); however, the same plot for non-social systems presented a distinct scenario, and there is no correlation between the data (R = –0.34).

To elucidate this scenario, we calculated and compared essential metrics for synthetic networks and both types of real networks, such as connectivity distribution, shortest path length, cluster coefficient, Pearson coefficient, the average degree of network nodes, the density of connections on the network, etc. [47]. No similarity and/or significant difference was found between synthetic networks and both types of real networks concerning these characteristics. However, our finding related to the dynamic of the voter model shows that the network models we investigated help describe social systems since there is significant evidence that the fitness, homophily and Euclidean distance between nodes, included in the models through the preferential attachment rules, can capture essential features that seem to emerge spontaneously in the real social networks.

4 Concluding Remarks

In this work, we have investigated how social features can affect the evolution of the voter model dynamics on networks. We introduced network models that contemplate essential characteristics of social systems such as fitness, homophily and the concern about geographic distance between their elements. Our results illustrated that euclidean distance, fitness and homophily proved to be pertinent characteristics to highlight the difference between social and nonsocial systems. The fitness represents the capability of somebody to convince someone to change or not his/her opinion; the spatial proximity is related to personal relationships; and the homophily represents the cultural, political or religious affinity among people, for example. All these elements represent the influence of social groups in individual attitudes [40].

Within the assumptions and limitations of our model, it is essential to highlight that our results show that these social features change the topological structure of the network and consequently affect the voter model’s consensus time. Therefore, we consider the choice of a simple opinion model to explore the effects of different substrates is quite reasonable. Maybe, a more complex dynamical model could mask the main findings related to the structure of the network models. However, now that we have taken a step forward in understanding a dynamical process running on top of these kinds of substrate, some model extensions could be considered to improve its feasibility and become more plausible to describe empirical voting data. Interestingly, even with such topological changes in the network, due to the different preferential attachment rules, the heterogeneous mean-field theory [15] was able to describe the voter model dynamics well.

Going beyond this context and showing reasonably practical applications of these types of networks, we can cite the work of Paiva et al. [48]. They strongly suggest that real networks originating from the interaction of termites have preferential attachment features responsible for generating specific movement patterns in these social insects. Although more detailed studies are needed, this research shows that our findings are plausible, in order to that our results suggest that the characteristics of synthetic networks placed by the preferential attachment rules—homophily, fitness and Euclidean distance between the elements of the network—can generate the social interactions between the individuals of the system.

Finally, despite individual opinions being influenced by many social and psychological factors, taking all of them into account besides being impracticable, it is not necessary to understand the large-scale behaviour of the system. As a result, this study represents a step toward providing a background for understanding more realistic dynamics on more complex topologies. We hope that our analysis can be applied to any dynamic model running on top of a network, so our work could be helpful as a template for future works.