FromAdjacencyMatrix

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

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

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

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

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

更多信息更多信息

Translate this page: