graph connects