only connected nodes' text should be displayed
only connected nodes' text should be displayed