dot

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package dot renders a sas.Architecture, filtered through a sas.View, as Graphviz DOT source. Render is a pure function: the same (architecture, view) input always produces the same output string.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(arch *sas.Architecture, view sas.View) (string, error)

Render produces DOT source for view's selection over arch, suitable for Graphviz's automatic layout on large graphs. Nodes are grouped into a "cluster_"-prefixed subgraph — the prefix Graphviz requires to draw a visible boundary around it — when view.GroupBy names a boundary kind. Every identifier is quoted: SAS IDs are commonly kebab-case, and unquoted DOT identifiers cannot contain hyphens.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL