Graphical models and causality: an overview