Unfortunately, yEd does not provide any filtering support.
However, it is possible to remove all edges that are not connected to selected nodes. To do so use "Tools -> Select Elements", choose "Select Inverse" and "Clear Selection First" on tab "General", make sure the "Use These Criteria" is only selected for edges and choose "Selected Nodes" as edge selection criterion. Then remove the newly selected edges.