I would like to draw a few graphical models in latex. Is there a package that does that well?
I found the following package:
but the .tex file does not compile for me, it gives me errors such as:
! Package PGF Math Error: The function `add' already exists. See the PGF Math package documentation for explanation. Type H <return> for immediate help. ... l.23 } ?
I was also hoping for something in which I can draw more "fancy" graphical models (perhaps with shading of the variables or the plates). If this package worked though, it would be a good start.