graph nodes connection