Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168729
Image: ubuntu2004
G = Graph({0:[1,2,9],1:[0,3,5,9],2:[0,5,9],3:[1,4,5],4:[3,5,6,8],5:[1,2,3,4,7,8,9], 6:[4,7,8],7:[5,6,8],8:[4,5,6,7],9:[0,1,2,5]}); G.set_pos({0:[244.03154925154652,54.93250713744686],1:[276.2182034253623,163.60915940469079], 2:[134.19011824198182,86.93519197839123],3:[246.67000724498305,259.1275562843691], 4:[160.09861475328069,309.1245639518171],5:[168.17605508072876,196.18354847664932], 6:[46.80859886794806,301.1363108624981],7:[54.55736138887456,187.30823017997528], 8:[107.07510710748677,247.9494760764882],9:[204.59528318526924,124.74588796532078]}); graph_editor(G);
vertices = G.get_pos() edges = G.edges(labels=False)
vertices
{0: [244.0315492515465, 54.9325071374469], 1: [276.218203425362, 163.6091594046908], 2: [134.1901182419818, 86.9351919783912], 3: [246.6700072449831, 259.127556284369], 4: [160.0986147532807, 309.124563951817], 5: [168.1760550807288, 196.1835484766493], 6: [46.8085988679481, 301.136310862498], 7: [54.5573613888746, 187.3082301799753], 8: [107.0751071074868, 247.949476076488], 9: [204.5952831852692, 124.7458879653208]}
edges
[(0, 1), (0, 2), (0, 9), (1, 3), (1, 5), (1, 9), (2, 5), (2, 9), (3, 4), (3, 5), (4, 5), (4, 6), (4, 8), (5, 7), (5, 8), (5, 9), (6, 7), (6, 8), (7, 8)]
vertices[0]
[244.0315492515465, 54.9325071374469]
vertices[1]
[276.218203425362, 163.6091594046908]