SMS: Advanced graph theory