Add Graph implementation