refactor: enums carried out in modelapi.h
new graphics plot applied