I don't know if this is the right place to post this question/remark...
I think there is a bug when one of the variables contain a "." While it is expressely forbidden for indicator variables:
Erreur : The name 'x1.1' is illegal because it contains the '.' character
it is not checked for the latents variables, leading to potential errors when using graphVIz ( See modified example below).
Simple workaround would be to add "" to all variables names when exporting to graphViz, this is only a guess but probably using something like: "\"graph@latentVars[[i]]\""
manifests <- names(demoOneFactor)
latents <- c("G.FALSE")
factorModel <- mxModel("One Factor", type="RAM",
manifestVars = manifests,
latentVars = latents,