Added graph calculation example