Presentation of graph algorithms