visiblity graph working