On 04.02.2015 21:37, malwanain wrote:
Sorry, If I found what you have written is clear why I should ask then. The documentation seems written for advance people like you not for the typical users. If you provide some simple examples specifically for graph isomorphic, then every thing will be clear.
Forgive my coarseness, but from your questions it is hard to understand what is the nature of the difficulties you have. It is not a good idea just to ask "how do I do X?" in the mailing list if "X" is covered in the documentation. If you didn't understand the documentation, you should make your questions more specific. A good approach is to show a short tentative example code, around which you can frame your question. Regarding your actual problem, if you want to print the vertex mapping you do simply: ret, isomap = isomorphism(g1, g2, isomap=True) for v in g1.vertices(): print(isomap[v])
PS: as it is a public tool, you should expect lots of questions from different levels of programming skills not just for advance people or you should write JUST FOR ADVANCE LEVEL PROGRAMMERS.
That is fair enough, but if you need help (advanced or not) you should also be prepared to explain your problem in detail. Asking one-line questions about how to do this or that, specially when the task in question is documented, is not going to elicit detailed responses. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>