SMS: Graph algorithms and applications 2