Constructing Classic Graphs in Graph Theory Using Python and Generative AI: A Case Study in Computational Visualization and Prompt Engineering

α
Dr. Shanzhen Gao
Dr. Shanzhen Gao
σ
Dr. Weizheng Gao
Dr. Weizheng Gao
ρ
Dr. Julian D. Allagan
Dr. Julian D. Allagan
Ѡ
Dr. Jianning Su
Dr. Jianning Su
¥
Dr. Ephrem Eyob
Dr. Ephrem Eyob
§
Dr. Hank B. Strevel
Dr. Hank B. Strevel
α Virginia State University Virginia State University

Send Message

To: Author

Constructing Classic Graphs in Graph Theory Using Python and Generative AI: A Case Study in Computational Visualization and Prompt Engineering

Article Fingerprint

ReserarchID

CSTGV6C4XV

Constructing Classic Graphs in Graph Theory Using Python and Generative AI: A Case Study in Computational Visualization and Prompt Engineering Banner

AI TAKEAWAY

Connecting with the Eternal Ground
  • English
  • Afrikaans
  • Albanian
  • Amharic
  • Arabic
  • Armenian
  • Azerbaijani
  • Basque
  • Belarusian
  • Bengali
  • Bosnian
  • Bulgarian
  • Catalan
  • Cebuano
  • Chichewa
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Corsican
  • Croatian
  • Czech
  • Danish
  • Dutch
  • Esperanto
  • Estonian
  • Filipino
  • Finnish
  • French
  • Frisian
  • Galician
  • Georgian
  • German
  • Greek
  • Gujarati
  • Haitian Creole
  • Hausa
  • Hawaiian
  • Hebrew
  • Hindi
  • Hmong
  • Hungarian
  • Icelandic
  • Igbo
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Javanese
  • Kannada
  • Kazakh
  • Khmer
  • Korean
  • Kurdish (Kurmanji)
  • Kyrgyz
  • Lao
  • Latin
  • Latvian
  • Lithuanian
  • Luxembourgish
  • Macedonian
  • Malagasy
  • Malay
  • Malayalam
  • Maltese
  • Maori
  • Marathi
  • Mongolian
  • Myanmar (Burmese)
  • Nepali
  • Norwegian
  • Pashto
  • Persian
  • Polish
  • Portuguese
  • Punjabi
  • Romanian
  • Russian
  • Samoan
  • Scots Gaelic
  • Serbian
  • Sesotho
  • Shona
  • Sindhi
  • Sinhala
  • Slovak
  • Slovenian
  • Somali
  • Spanish
  • Sundanese
  • Swahili
  • Swedish
  • Tajik
  • Tamil
  • Telugu
  • Thai
  • Turkish
  • Ukrainian
  • Urdu
  • Uzbek
  • Vietnamese
  • Welsh
  • Xhosa
  • Yiddish
  • Yoruba
  • Zulu

Abstract

This study explores the construction of several classic graphs in graph theory through Python programming, offering a hands-on computational approach to understanding their mathematical properties. The selected graphs-including the Wagner, Desargues, Herschel, Möbius-Kantor, Franklin, truncated icosahedral, and triangular grid graphs-are chosen for their historical significance and structural complexity. Using Python’s turtle graphics module, each graph is visualized through trigonometric and geometric logic, illustrating core concepts such as regularity, symmetry, Hamiltonicity, and planarity. In addition to manual code development, the study integrates generative AI, specifically ChatGPT, to reproduce graph constructions via prompt engineering.

Generating HTML Viewer...

References

33 Cites in Article
  1. K Ananiadou,M Claro (2009). 21st century skills and competences for new millennium learners in OECD countries.
  2. M Byrka,A Sushchenko,V Luchko,G Perun,V Luchko (2024). Algorithmic thinking in higher education: Determining observable measurable content.
  3. J Bondy,U Murty (2007). Graph Theory with Applications.
  4. Roderic Page (2024). Google Knowledge Graph using data from BBC and Wikipedia.
  5. A Soifer (2008). The mathematical coloring book.
  6. Dmitry Jakobson,Igor Rivin (1999). On some extremal problems in graph theory.
  7. Hans Bodlaender (1998). A partial k-arboretum of graphs with bounded treewidth.
  8. Hans Bodlaender,Dimitrios Thilikos (1999). Graphs with Branchwidth at Most Three.
  9. K Wagner (1970). Graphentheorie (B.J. Hoch schul taschenbücher.
  10. László Lovász (2006). Graph minor theory.
  11. (2024). Desargues graph.
  12. A Balaban,D Fǎrcaşiu,R Bǎnicǎ (1966). Graphs of multiple 1, 2-shifts in carbonium ions and related systems.
  13. Kurt Mislow (1970). Role of pseudorotation in the stereochemistry of nucleophilic displacement reactions.
  14. Andries Brouwer,Arjeh Cohen,Arnold Neumaier (1989). Q-polynomial Distance-Regular Graphs.
  15. Herschel Graph (2025). In Wikipedia, the Free Encyclopedia.
  16. C Lawson-Perfect (2013). An enneahedron for Herschel.
  17. J Bondy,R Häggkvist (1981). Edge-disjoint Hamilton cycles in 4-regular planar graphs.
  18. Meir Russ (2024). Knowledge Management for Sustainable Development in the Era of Continuously Accelerating Technological Revolutions: A Framework and Models.
  19. H Coxeter (1950). Self-dual configurations and regular graphs.
  20. Roderic Page (2022). Google Knowledge Graph using data from BBC and Wikipedia.
  21. Philip Franklin (1934). A Six Color Problem.
  22. (2024). Truncated icosahedron.
  23. E Weisstein (2025). Truncated icosahedral graph. From MathWorld-A Wolfram Web Resource.
  24. D West (2000). Introduction to graph theory.
  25. E Weisstein (2025). Triangular grid graph. MathWorld-A Wolfram Web Resource.
  26. S Gao,W Gao,J Allagan,J Su (2025). Innovative teaching in business analytics: Bridging theory, practice, and student engagement.
  27. Shanzhen Gao,Weizheng Gao,Olumide Malomo,Julian Allagan,Ephrem Eyob,Chandrasheker Challa,Jianning Su (2024). Exploring the interplay between AI and human logic in mathematical problem-solving.
  28. Shanzhen Gao,Weizheng Gao (2026). Enhancing Business Education With the Knowledge Management Mesosystem Model: A Framework for Active Learning, AI Integration, and Knowledge Sharing.
  29. Meir Russ (2021). Knowledge Management for Sustainable Development in the Era of Continuously Accelerating Technological Revolutions: A Framework and Models.
  30. Ashish Garg,Ramkumar Rajendran (2024). The Impact of Structured Prompt-Driven Generative AI on Learning Data Analysis in Engineering Students.
  31. J Hernández,J Conde,B Querol,G Martínez,P Reviriego (2024). ChatGPT: Learning prompt engineering with 100+ examples.
  32. Shanzhen Gao,Weizheng Gao,Julian Allagan,Jianning Su (2025). Integrating Python and Generative AI for Graph Theory Visualization and Problem-Solving.
  33. May Gao,Aurelia Donald (2024). Blending Computational Thinking and Creativity: Algorithmic Art with Python.

Funding

No external funding was declared for this work.

Conflict of Interest

The authors declare no conflict of interest.

Ethical Approval

No ethics committee approval was required for this article type.

Data Availability

Not applicable for this article.

How to Cite This Article

Dr. Shanzhen Gao. 2026. \u201cConstructing Classic Graphs in Graph Theory Using Python and Generative AI: A Case Study in Computational Visualization and Prompt Engineering\u201d. Global Journal of Computer Science and Technology - F: Graphics & Vision GJCST-F Volume 25 (GJCST Volume 25 Issue F1): .

Download Citation

Journal Specifications

Crossref Journal DOI 10.17406/gjcst

Print ISSN 0975-4350

e-ISSN 0975-4172

Keywords
Version of record

v1.2

Issue date

September 18, 2025

Language
en
Experiance in AR

Explore published articles in an immersive Augmented Reality environment. Our platform converts research papers into interactive 3D books, allowing readers to view and interact with content using AR and VR compatible devices.

Read in 3D

Your published article is automatically converted into a realistic 3D book. Flip through pages and read research papers in a more engaging and interactive format.

Article Matrices
Total Views: 275
Total Downloads: 58
2026 Trends
Related Research

Published Article

This study explores the construction of several classic graphs in graph theory through Python programming, offering a hands-on computational approach to understanding their mathematical properties. The selected graphs-including the Wagner, Desargues, Herschel, Möbius-Kantor, Franklin, truncated icosahedral, and triangular grid graphs-are chosen for their historical significance and structural complexity. Using Python’s turtle graphics module, each graph is visualized through trigonometric and geometric logic, illustrating core concepts such as regularity, symmetry, Hamiltonicity, and planarity. In addition to manual code development, the study integrates generative AI, specifically ChatGPT, to reproduce graph constructions via prompt engineering.

Our website is actively being updated, and changes may occur frequently. Please clear your browser cache if needed. For feedback or error reporting, please email [email protected]

Request Access

Please fill out the form below to request access to this research paper. Your request will be reviewed by the editorial or author team.
X

Quote and Order Details

Contact Person

Invoice Address

Notes or Comments

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

High-quality academic research articles on global topics and journals.

Constructing Classic Graphs in Graph Theory Using Python and Generative AI: A Case Study in Computational Visualization and Prompt Engineering

Dr. Shanzhen Gao
Dr. Shanzhen Gao Virginia State University
Dr. Weizheng Gao
Dr. Weizheng Gao
Dr. Julian D. Allagan
Dr. Julian D. Allagan
Dr. Jianning Su
Dr. Jianning Su
Dr. Ephrem Eyob
Dr. Ephrem Eyob
Dr. Hank B. Strevel
Dr. Hank B. Strevel

Research Journals