Use the Subset by hopcount function (on the popup menu) for a valid resource to limit the displayed resources to those within a certain number of "hops" from the selected resources. This function opens the Subset by Hopcount dialog.