reworked graphic type representation