Hi all,

Is there an easy way to ask if two graphs are isomorphic, respecting some coloring or labeling of the vertices? I see the is_isomorphic function lets you respect edge labels, so I guess I could attach a new vertex to, say, all "blue" vertices, and label each of the edges to this new vertex as "blue", then ask for edge-preserving isomorphism checking. But it would be nice if there was a way to do this without modifying the graph, etc.

Thanks,

Jason

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to