By the way, I see this error message:
TypeError: Vertex labels are not comparable. You must specify an
ordering using parameter ``vertices``
Indeed, this works:
g.adjacency_matrix(vertices=['A', 1])
On Monday, June 26, 2023 at 11:32:56 AM UTC-7 John H Palmieri wrote:
> Please read
Please read the help message for adjaceny_matrix.
g = Graph([('A',1)])
g.adjacency_matrix?
prints, among other things:
* "vertices" -- list (default: "None"); the ordering of the
vertices defining how they should appear in the matrix. By
default, the ordering given by