This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)


constructs the graph whose vertices correspond to and edges between pairs of vertices and in for which the binary relation defined by the Boolean function is True.
  • can be set to Directed or Undirected and this tells whether to construct a directed or an undirected graph. The default setting is Directed.