I have a tree structure where the same point shows up on different levels, but I want to treat these as distinct points on the graph. Currently the only workaround is to add an integer to each of the points to distinguish them. Is there a way to change the label on the vertex but keep the points differentiated in the dictionary?
We know an alternate way to construct a directed graph is to call DiGraph on an adjacency matrix, but as it stands I only see a way to label vertices when we feed the function a dictionary. I am wondering if it is possible to label the rows of the adjacency matrix (which represent one vertex each) so that DiGraph outputs a graph with vertices labelled something other than 0, ..., n. I think this would fix the issue, since I'd be able to give different rows the same label. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/8adaafe4-36d1-46e7-8c43-93bdf71c7e9f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
