Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Assigning Coordinates to Graph embedding in Sage

How could I go about getting a set of coordinates corresponding to a particular (known) embedding of a Graph?

The framework (graph and embedding) I'm most interested in right now has vertices at only 4 radii and the vertices are evenly spaced at each radius, and any possible unit distance between two vertices is an edge. I know this could be done by hand, but could I get Sage to do it faster? I eventually want to be able to use indexed x and y coordinates (separately: x_1 with y_2, etc). (New to Sage)