EdgeQ[g, e] yields True if e is an edge in the graph g and False otherwise.
Test whether undirected edges are part of a graph:
Test directed edges:
UndirectedEdge DirectedEdge EdgeList EdgeCount EdgeIndex Graph VertexQ GraphQ
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »