Graph definition example