The solution, getting the id from url parameter:
$related = new WP_Query( array(
'connected_type' => ''YOUR_CONNECTION_TYPE'',
'connected_items' => $_GET['id'],
'nopaging' => true,
) );
while ( $related->have_posts() ) : $related->the_post();
// display the content
endwhile;