basic structure for detection of graphoelements