The number of elements that are displayed in the neighborhood and the other context views is limited to 50 nodes and 100 edges initially. However, you can raise those limits using "File" -> "Preferences", tab "Display", settings "Maximum Number of Nodes" and "Maximum Number of Edges". Please note, that lots of elements in the context views may significantly slow down yEd.