sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.33k stars 453 forks source link

I've got code to add to sage #37937

Open steveschluchter opened 4 months ago

steveschluchter commented 4 months ago

Problem Description

I've got a list of excluded minors of the projective plane, and I'd like to add it to sage. I'm not a regular in this community, and I'd like to know how this community handles a new file altogether.

Proposed Solution

from sage.all import Graph

G1 = Graph({ 1:[2,3,4,5],
4 2:[1,3,4,5],
5 3:[1,2,4,5],
6 4:[1,2,3,5],
7 5:[1,2,3,4],
8 6:[7,8,9,10],
9 7:[6,8,9,10],
10 8:[6,7,9,10],
11 9:[6,7,8,10],
12 10:[6,7,8,9]
13 })

the file goes on ...

Alternatives Considered

I don't think that there is anything similar in the existing sage or networkx codebases.

Additional Information

Can someone active in this community help me get this into sage?

Is there an existing issue for this?

mkoeppe commented 4 months ago

See https://doc.sagemath.org/html/en/developer/coding_basics.html

I'd also recommend to make the title of this Issue more specific