load graphic type from json