generated model code, and added gmfgraph