Applications of graph theory algorithms