Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
diagoram
command
Command diagoram analyzes Go source code and generates diagrams.
|
Command diagoram analyzes Go source code and generates diagrams. |
|
internal
|
|
|
cli
Package cli implements the diagoram command-line interface: flag parsing and top-level execution.
|
Package cli implements the diagoram command-line interface: flag parsing and top-level execution. |
|
diagram
Package diagram builds the intermediate representation (IR) that diagoram's renderers consume: a package tree of Entries (structs and interfaces) plus the Edges (dependencies and embeddings) between them.
|
Package diagram builds the intermediate representation (IR) that diagoram's renderers consume: a package tree of Entries (structs and interfaces) plus the Edges (dependencies and embeddings) between them. |
|
gocode
Package gocode analyzes Go source code using only the standard library's go/parser and go/ast packages (no go/types, no golang.org/x/tools) and turns it into a language model — the facts about packages, structs, interfaces, named types, and type references that later phases use to build diagrams.
|
Package gocode analyzes Go source code using only the standard library's go/parser and go/ast packages (no go/types, no golang.org/x/tools) and turns it into a language model — the facts about packages, structs, interfaces, named types, and type references that later phases use to build diagrams. |
|
portal
Package portal generates a self-contained, offline HTML portal from pre-rendered diagram/report/summary text.
|
Package portal generates a self-contained, offline HTML portal from pre-rendered diagram/report/summary text. |
|
render
Package render defines the Renderer interface that turns a diagram.Diagram into diagram text.
|
Package render defines the Renderer interface that turns a diagram.Diagram into diagram text. |
|
render/mermaid
Package mermaid renders a diagram.Diagram as Mermaid classDiagram text (https://mermaid.js.org/syntax/classDiagram.html).
|
Package mermaid renders a diagram.Diagram as Mermaid classDiagram text (https://mermaid.js.org/syntax/classDiagram.html). |
|
render/plantuml
Package plantuml renders a diagram.Diagram or diagram.PackageGraph as PlantUML script (https://plantuml.com/class-diagram, https://plantuml.com/deployment-diagram for the package-nesting syntax it borrows).
|
Package plantuml renders a diagram.Diagram or diagram.PackageGraph as PlantUML script (https://plantuml.com/class-diagram, https://plantuml.com/deployment-diagram for the package-nesting syntax it borrows). |
|
testutil
Package testutil provides shared test helpers used across diagoram's test suites, in particular golden-file comparison.
|
Package testutil provides shared test helpers used across diagoram's test suites, in particular golden-file comparison. |
Click to show internal directories.
Click to hide internal directories.