implemented Graph objects