|
| 1 | +# Diagram Index |
| 2 | + |
| 3 | +Visual diagrams for every concept in the curriculum. Diagrams use Mermaid syntax, which renders automatically on GitHub and in the mkdocs documentation site. |
| 4 | + |
| 5 | +Each diagram page includes: an overview map, step-by-step execution flow, decision guides for choosing between related patterns, and comparison diagrams. |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## Beginner Concepts |
| 10 | + |
| 11 | +| Concept | Diagram Page | Diagram Types | |
| 12 | +|---------|-------------|---------------| |
| 13 | +| Variables | [Diagrams](../concepts/diagrams/what-is-a-variable.md) | Memory model, type conversion flow | |
| 14 | +| Loops | [Diagrams](../concepts/diagrams/how-loops-work.md) | For/while flowcharts, loop selection decision tree | |
| 15 | +| Types & Conversions | [Diagrams](../concepts/diagrams/types-and-conversions.md) | Type hierarchy, conversion paths | |
| 16 | +| Functions | [Diagrams](../concepts/diagrams/functions-explained.md) | Call stack, parameter flow | |
| 17 | +| Collections | [Diagrams](../concepts/diagrams/collections-explained.md) | Collection comparison, selection decision tree | |
| 18 | +| Files & Paths | [Diagrams](../concepts/diagrams/files-and-paths.md) | File I/O flow, path resolution | |
| 19 | +| Errors & Debugging | [Diagrams](../concepts/diagrams/errors-and-debugging.md) | Exception hierarchy, try/except flow | |
| 20 | +| Reading Error Messages | [Diagrams](../concepts/diagrams/reading-error-messages.md) | Traceback anatomy, error type decision tree | |
| 21 | + |
| 22 | +## Intermediate Concepts |
| 23 | + |
| 24 | +| Concept | Diagram Page | Diagram Types | |
| 25 | +|---------|-------------|---------------| |
| 26 | +| Imports | [Diagrams](../concepts/diagrams/how-imports-work.md) | Import resolution, package structure | |
| 27 | +| Classes & Objects | [Diagrams](../concepts/diagrams/classes-and-objects.md) | Class hierarchy, MRO, composition | |
| 28 | +| Decorators | [Diagrams](../concepts/diagrams/decorators-explained.md) | Decorator call chain, wrapper flow | |
| 29 | +| Virtual Environments | [Diagrams](../concepts/diagrams/virtual-environments.md) | Venv isolation, package resolution | |
| 30 | +| Comprehensions | [Diagrams](../concepts/diagrams/comprehensions-explained.md) | Data transformation flow | |
| 31 | +| Type Hints | [Diagrams](../concepts/diagrams/type-hints-explained.md) | Type annotation decision tree | |
| 32 | +| Dataclasses | [Diagrams](../concepts/diagrams/dataclasses-explained.md) | Dataclass vs dict vs namedtuple | |
| 33 | + |
| 34 | +## Advanced Concepts |
| 35 | + |
| 36 | +| Concept | Diagram Page | Diagram Types | |
| 37 | +|---------|-------------|---------------| |
| 38 | +| HTTP | [Diagrams](../concepts/diagrams/http-explained.md) | Request/response sequence, status code flow | |
| 39 | +| APIs | [Diagrams](../concepts/diagrams/api-basics.md) | REST flow, authentication sequence | |
| 40 | +| Async/Await | [Diagrams](../concepts/diagrams/async-explained.md) | Event loop, async state machine | |
| 41 | +| Generators | [Diagrams](../concepts/diagrams/generators-and-iterators.md) | Iterator protocol, yield flow | |
| 42 | +| Collections Deep Dive | [Diagrams](../concepts/diagrams/collections-deep-dive.md) | Specialized collection selection | |
| 43 | + |
| 44 | +--- |
| 45 | + |
| 46 | +## How to Read Mermaid Diagrams |
| 47 | + |
| 48 | +Mermaid diagrams render automatically on GitHub. If you are viewing these files locally in a text editor, you will see the raw Mermaid syntax. To render them: |
| 49 | + |
| 50 | +1. **GitHub:** Just open the file — diagrams render automatically |
| 51 | +2. **VS Code:** Install the "Mermaid Markdown Syntax Highlighting" extension |
| 52 | +3. **mkdocs site:** Visit the [documentation site](https://travisjneuman.github.io/learn.python) |
| 53 | +4. **Mermaid Live Editor:** Paste the code at [mermaid.live](https://mermaid.live) |
| 54 | + |
| 55 | +--- |
| 56 | + |
| 57 | +| [Home](../README.md) | |
| 58 | +|:---:| |
0 commit comments