customizing graph_types data_structures