Wolfram Language & System 10.3 (2015)|Legacy Documentation
gives a list of vertices adjacent to vertex v.
gives a list of vertices adjacent to vertices that match the pattern patt.
gives a list of vertices that are at distance at most d.
uses rules to specify the graph g.