A tool for analysing graphical data