Graph type functionaltiy