implemented Graph class and Graph evoke