Pointer event classification and filtering graph