SMS: Graphs and digraphs