Visualisation of graph algorithms