# HG changeset patch
# User Nathann Cohen <nathann.cohen@gmail.com>
# Date 1306776498 -7200
# Node ID 6686ea9937534e6bd9256436af485b60851e571a
# Parent 98b252c132d752f99c2fcac9711a644b25b10f16
trac 11399 -- Some other embeddings for graph generators
diff -r 98b252c132d7 -r 6686ea993753 sage/graphs/graph_generators.py
a
|
b
|
|
2009 | 2009 | sage: G.show() # long time |
2010 | 2010 | """ |
2011 | 2011 | return graph.Graph({0:[1,3,4], 1:[2,5], 2:[3,6], 3:[7], 4:[5,7],\ |
2012 | | 5:[6], 6:[7]}, name="Hexahedron") |
| 2012 | 5:[6], 6:[7]}, |
| 2013 | name="Hexahedron", |
| 2014 | pos = { |
| 2015 | 0 : (0,0), |
| 2016 | 1 : (1,0), |
| 2017 | 3 : (0,1), |
| 2018 | 2 : (1,1), |
| 2019 | 4 : (.5,.5), |
| 2020 | 5 : (1.5,.5), |
| 2021 | 7 : (.5,1.5), |
| 2022 | 6 : (1.5,1.5) |
| 2023 | }) |
2013 | 2024 | |
2014 | 2025 | def OctahedralGraph(self): |
2015 | 2026 | """ |