graph prototype