ignore null vertex nodes when connecting vertices