SMS: Graphical models