graph definition for kst2