FromAdjacencyMatrix

FromAdjacencyMatrix[m]
constructs a graph from a given adjacency matrix , using a circular embedding.


uses as the embedding for the resulting graph. An option that takes on the values Directed or Undirected can be used to affect the type of graph produced. The default value of is Undirected.

FromAdjacencyMatrix[m, EdgeWeight]
interprets the entries in as edge weights, with infinity representing missing edges, and from this constructs a weighted graph using a circular embedding.

FromAdjacencyMatrix[m, v, EdgeWeight]
uses as the embedding for the resulting graph. The option can be used along with the EdgeWeight tag.

更多信息更多信息

New to Mathematica? Find your learning path »
Have a question? Ask support »