gds_viz.architecture¶
Generate a Mermaid flowchart from a GDSSpec.
Renders an architecture-level view with blocks grouped by role or tag, entity cylinders, and dependency wires.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spec
|
GDSSpec
|
The GDS specification to visualize. |
required |
group_by
|
str | None
|
Tag key to group blocks by. None groups by GDS role. |
None
|
show_entities
|
bool
|
If True, render entity cylinders with state variables. |
True
|
show_wires
|
bool
|
If True, render dependency edges from wirings. |
True
|
theme
|
MermaidTheme | None
|
Mermaid theme — one of 'default', 'neutral', 'dark', 'forest', 'base'. None uses the default ('neutral'). |
None
|
Returns:
| Type | Description |
|---|---|
str
|
Mermaid flowchart diagram as a string. |