# psygo/tecnicas_de_go architecture

> Architecture diagram of the GitHub repository psygo/tecnicas_de_go, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/psygo/tecnicas_de_go
- Repository: https://github.com/psygo/tecnicas_de_go

## Overview

Técnicas de Go is a Portuguese instructional book about Go tactics, organized around liberties and life-or-death patterns. The reader’s workflow is to study the book’s structured explanations and pattern references, including its problem diagrams; the repository also contains SGF examples and solutions and LaTeX support for Go-board diagrams. The README documents the book and custom diagram package, but no source excerpts establish how chapters, SGF files, and rendering components are connected, so those links are omitted.

Main entry points: [`src/diagrams/diagrams.sty`](https://github.com/psygo/tecnicas_de_go/blob/main/src/diagrams/diagrams.sty) (Diagram package), [`src`](https://github.com/psygo/tecnicas_de_go/tree/main/src) (Book manuscript), [`src/diagrams/problem_diagram.sty`](https://github.com/psygo/tecnicas_de_go/blob/main/src/diagrams/problem_diagram.sty) (Problem diagrams)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_book["Book content"]
  node_book_content["Book manuscript"]
  node_liberties["Liberties"]
  node_life_death["Life or death"]
  node_front_matter["Front matter<br/>[prefacio.tex]"]
  node_glossary["Glossary<br/>[glossario.tex]"]
end

subgraph group_patterns["Go patterns"]
  node_sgf_patterns["Pattern records"]
  node_liberty_examples["Liberty examples"]
  node_life_examples["Life examples"]
end

subgraph group_latex["Diagram tools"]
  node_diagram_package["Diagram package<br/>[diagrams.sty]"]
  node_problem_diagrams["Problem diagrams"]
  node_answer_diagrams["Answer diagrams"]
  node_goban["Go board tools<br/>[goban.sty]"]
  node_sgf_parser["SGF parser<br/>[parse_sgf.sty]"]
end

node_reader(("Reader"))

node_reader -->|"studies"| node_book_content
node_diagram_package -->|"draws diagrams"| node_problem_diagrams

click node_book_content "https://github.com/psygo/tecnicas_de_go/tree/main/src"
click node_liberties "https://github.com/psygo/tecnicas_de_go/tree/main/src/content/liberdades"
click node_life_death "https://github.com/psygo/tecnicas_de_go/tree/main/src/content/vida_ou_morte"
click node_front_matter "https://github.com/psygo/tecnicas_de_go/blob/main/src/content/prefacio.tex"
click node_glossary "https://github.com/psygo/tecnicas_de_go/blob/main/src/content/glossario.tex"
click node_sgf_patterns "https://github.com/psygo/tecnicas_de_go/tree/main/src/sgf"
click node_liberty_examples "https://github.com/psygo/tecnicas_de_go/tree/main/src/sgf/liberdades"
click node_life_examples "https://github.com/psygo/tecnicas_de_go/tree/main/src/sgf/vida_ou_morte"
click node_diagram_package "https://github.com/psygo/tecnicas_de_go/blob/main/src/diagrams/diagrams.sty"
click node_problem_diagrams "https://github.com/psygo/tecnicas_de_go/blob/main/src/diagrams/problem_diagram.sty"
click node_answer_diagrams "https://github.com/psygo/tecnicas_de_go/blob/main/src/diagrams/answer_diagrams.sty"
click node_goban "https://github.com/psygo/tecnicas_de_go/blob/main/src/goban/goban.sty"
click node_sgf_parser "https://github.com/psygo/tecnicas_de_go/blob/main/src/goban/parse_sgf.sty"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_book_content,node_liberties,node_life_death,node_front_matter,node_glossary toneBlue
class node_sgf_patterns,node_liberty_examples,node_life_examples toneAmber
class node_diagram_package,node_problem_diagrams,node_answer_diagrams,node_goban,node_sgf_parser toneMint
class node_reader toneIndigo
```

## Components

### Book content

- [Book manuscript](https://github.com/psygo/tecnicas_de_go/tree/main/src): `src`
- [Liberties](https://github.com/psygo/tecnicas_de_go/tree/main/src/content/liberdades): `src/content/liberdades`
- [Life or death](https://github.com/psygo/tecnicas_de_go/tree/main/src/content/vida_ou_morte): `src/content/vida_ou_morte`
- [Front matter](https://github.com/psygo/tecnicas_de_go/blob/main/src/content/prefacio.tex): `src/content/prefacio.tex`
- [Glossary](https://github.com/psygo/tecnicas_de_go/blob/main/src/content/glossario.tex): `src/content/glossario.tex`

### Go patterns

- [Pattern records](https://github.com/psygo/tecnicas_de_go/tree/main/src/sgf): `src/sgf`
- [Liberty examples](https://github.com/psygo/tecnicas_de_go/tree/main/src/sgf/liberdades): `src/sgf/liberdades`
- [Life examples](https://github.com/psygo/tecnicas_de_go/tree/main/src/sgf/vida_ou_morte): `src/sgf/vida_ou_morte`

### Diagram tools

- [Diagram package](https://github.com/psygo/tecnicas_de_go/blob/main/src/diagrams/diagrams.sty): `src/diagrams/diagrams.sty`
- [Problem diagrams](https://github.com/psygo/tecnicas_de_go/blob/main/src/diagrams/problem_diagram.sty): `src/diagrams/problem_diagram.sty`
- [Answer diagrams](https://github.com/psygo/tecnicas_de_go/blob/main/src/diagrams/answer_diagrams.sty): `src/diagrams/answer_diagrams.sty`
- [Go board tools](https://github.com/psygo/tecnicas_de_go/blob/main/src/goban/goban.sty): `src/goban/goban.sty`
- [SGF parser](https://github.com/psygo/tecnicas_de_go/blob/main/src/goban/parse_sgf.sty): `src/goban/parse_sgf.sty`

### Other components

- **Reader**

## Connections

- Reader → Book manuscript: studies (evidence: `README.md`)
- Diagram package → Problem diagrams: draws diagrams (evidence: `README.md`)
