add GraphEventType

still some bugs