To work with the graph persistence in GroIMP you can use the automatic code enhancement.
The script look for //enh: comments in your code and automatically process the following commands.
To execute the code enhancement the following maven command is used:
mvn de.grogra:build:enhance-src