by analysing connectivity relationships of elements of the pattern