Documentation
¶
Overview ¶
Package adapters contains implementations of port interfaces.
Adapters are the concrete implementations that interact with external systems or provide specific algorithms. They implement the port interfaces defined in the usecases package.
Structure:
- config/ : Configuration file parsers (YAML, JSON, etc.)
- layout/ : Layout algorithms (FlowSquare, TopoSort, etc.)
- pathfinding/: Pathfinding algorithms (Dijkstra, A*, etc.)
- rendering/ : Output renderers (SVG, PNG, etc.)
Each adapter is independent and can be tested in isolation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToLayoutConfig ¶
ToLayoutConfig converts a domain diagram to a layout config. This is used by multiple adapters to ensure consistent type mapping.
func ToLayoutConfigWithFullPaths ¶ added in v0.0.16
ToLayoutConfigWithFullPaths is like ToLayoutConfigWithPath but includes pathfinding algorithm settings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.