SMS dit: Convexity and graph theory