added Enum GraphType