ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 31 Oct 2019 09:03:46 +0100enter specific graphhttps://ask.sagemath.org/question/48541/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)Tue, 29 Oct 2019 08:34:53 +0100https://ask.sagemath.org/question/48541/enter-specific-graph/Comment by David Coudert for <p>Probably a very dumb question but I couldn't find the answer online...</p>
<p>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. </p>
<p>For instance I only found specific graphs (full graphs, path graphs etc)</p>
https://ask.sagemath.org/question/48541/enter-specific-graph/?comment=48565#post-id-48565You will find many examples in the [online documentation](http://doc.sagemath.org/html/en/reference/graphs/sage/graphs/generic_graph.html) and in the book [Computational Mathematics with SageMath](http://sagebook.gforge.inria.fr/english.html)Thu, 31 Oct 2019 09:03:46 +0100https://ask.sagemath.org/question/48541/enter-specific-graph/?comment=48565#post-id-48565