added contains node method to GVGraph