
should be bundled. They also use constraints on the 
bundled edges, in particular an angle threshold and 
compatibility constraints. 
In this paper, we take quantitative criteria based 
on  aesthetic  rules  into  consideration  and  solve  the 
optimisation problem using a genetic algorithm. For 
this,  we  adopt  the  control  points  approach  used  in 
FDEB and the criteria from (Sakamoto et al., 2019; 
Saga, 2016; Saga, 2018). As a result, we are able to 
overcome  the  overcome  the  shortcomings  of  
Ferreira’s model. 
The  main  contributions  of  this  paper  are  the 
following: 
▪  It  is  the  first  approach  of  a  genetic  algorithm-
based edge bundling algorithm optimising control 
points  with  regards  to  an  aesthetic  evaluation 
index. 
▪  We  show  that  edge  bundling  using  a 
computational  intelligence  approach  to 
optimisation yields a feasible method. 
▪  We  discuss  the  extensibility  of  our  proposed 
method and its application in future work 
2  GA-BASED EDGE BUNDLING 
2.1  Genetic Algorithm 
Genetic  algorithms,  which  belong  to  the  family  of 
evolutionary algorithms, simulate Darwin's theory of 
evolution  (Goldberg,  1989).  GAs  are  employed  to 
solve difficult, often NP-hard, optimisation problems. 
The  genetic  representation  and  fitness  function 
depend on the problem and domain to solve. After 
these are defined, a GA proceeds iteratively through 
stages  of  selection,  crossover,  and  mutation  to 
improve  a  population  of  individuals  that  expresses 
candidate solutions to the problem.  
2.2  Genetic Representation 
In our approach, the genetic representation we choose 
is based on control-based approaches differently from 
Ferreira’s. The approach employed in FDEB divides 
an edge uniformly by c control points. By moving 
these control points the edges can be controlled for 
edge bundling. In our algorithm, edges in the input 
graph are also divided based on c uniformly spaced 
points as shown in Figure 1. For each control point, 
we then store a displacement vector  v (as (x,y)-co-
ordinates) whose distance we limit. Thus, for n edges 
and using c control points per edge, we encode 2*n*c 
parameters. 
 
Figure 1: Genetic representation. 
2.3  Fitness Function 
An appropriate fitness function is key to a successful 
GA. Some investigations of graph layout using GA 
for visualisation design the fitness function based on 
aesthetics  rules  (Eloranta  et  al.  2001,  Wang  et  al. 
2005,).  In  graph  drawing,  the  following  rules  are 
generally accepted: 
(1)  Uniform spatial distribution of vertices; 
(2)  Minimise  the  total  edge  length  on  the  pre-
condition  that  the  distance  between  any  two 
vertices is no less than the given minimum value; 
(3)  Uniform edge length; 
(4)  Maximise  the  smallest  angle  between  edges 
incident on the same vertex; 
(5)  The angles between edges incident on the same 
vertex should be as uniform as possible; 
(6)  Minimise the number of edge crossings; 
(7)  Exhibit any existing symmetric feature. 
For  our  problem  at  hand,  it  is  necessary  to 
quantify  such  aesthetics  rules  for  edge  bundling. 
Here, there are also some general accepted aesthetic 
rules  like  for  the  general  graph  drawing  problem 
which  have  been  introduced  in  the  literature 
(Sakamoto  et  al.,  2019).  The  data-ink  ratio  (Tufte 
2001) is one of the most widely used ones to evaluate 
visualisation  results  quantitatively  in  all  of 
visualization problems. It is based on the ink amount 
required  for  drawing  a  visualised  figure.  The  path 
quality, proposed by Cui in GBEB, is also useful to 
evaluate  the  degree  of  zig-zag  in  edge  bundling. 
Furthermore,  Saga  (2016,  2018)  proposed  three 
quantitative criteria to evaluate edge bundling which 
are  formulated  from  the  difference  of  edge  length, 
area illustrated by edges (which is similar to data-ink 
ratio), and density of edges. 
In  our  approach,  we  adopt  these  three  criteria 
together with the path quality by Cui. 
2.3.1  Mean Edge Length Difference 
Mean Edge Length Difference (MELD) is a criterion 
to express the difference from the original edges after 
IVAPP 2020 - 11th International Conference on Information Visualization Theory and Applications
218