func graph