~/talk

Using Diagrams to Communicate Complex Ideas with Python

Talkat PyCon US 2024 · 2024-05-15..05-23· [design-collaboration]
slides:none on file

Claim: diagrams produced from code become documentation and clarify architecture, not decoration. Examples show grouping EC2 instances routed to RDS with the diagrams Python library (pip install diagrams), a Sankey energy flow built with plotly Sankey, and textual diagrams rendered then polished via mermaid + draw.io. The C4 model generates container→component→code views, pyflow visualizes code as nodes, and outputs are layouted automatically so arrows, spacing and color convey hierarchy, contrast and surprising simplicity rather than hand‑drawn clutter.

AI-written summary · about

  1. 0:00Diagrams with Python intro
  2. 2:51Diagrams in architecture history
  3. 3:54Apple’s campus diagrams
  4. 5:19Problems with technical diagrams
  5. 6:01Why diagrams matter
  6. 7:05Graphic fundamentals
  7. 11:33Python diagram tools
  8. 15:44Sanki diagrams with Plotly
  9. 17:10Python diagram tools demo
  10. 19:07C4 model for architecture
  11. 21:37Mermaid and draw.io
  12. 23:00Diagram design rules
  13. 24:23Principles for useful diagrams
  14. 25:30Call to action
  15. 26:54Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.