Ask Your Question

Revision history [back]

enter specific graph

Probably a very dumb question but I couldn't find the answer online...

How do I enter a specific graph in sage? I want to say how many vertices I have and then add the edges (0,2) for an edge that goes from vertice 0 to vertice 2.

For instance I only found specific graphs (full graphs, path graphs etc)