if (FALSE) {
# In a package providing models of class "myModel":
registerSemPlotImporter("myModel", function(object, ...){
# ... build and return a semPlotModel object ...
})
# Afterwards this works directly:
# semPaths(myModelObject)
}
Run the code above in your browser using DataLab