adds new graph datatype