SMS dit: Diagrammatic representation and inference :