# Class JsonDashboardRenderer

JSON dashboard renderer for programmatic consumption.

#### Implements

- IDashboardRenderer

- Defined in packages/nexus-agents/src/observability/dashboard-renderer.ts:250

##### Index

### Constructors

constructor

### Methods

render
renderHealth
renderAgents
renderGraph
renderActivity
renderBottlenecks
renderClusters

## Constructors

### constructor

- new JsonDashboardRenderer(): JsonDashboardRenderer

  #### Returns JsonDashboardRenderer

## Methods

### render

- render(snapshot: DashboardSnapshot): string

  Render the dashboard snapshot to the configured format.

  #### Parameters

  - snapshot: DashboardSnapshot

  #### Returns string

  Implementation of IDashboardRenderer.render

  - Defined in packages/nexus-agents/src/observability/dashboard-renderer.ts:251

### renderHealth

- renderHealth(health: SwarmHealthMetrics): string

  Render just the health section.

  #### Parameters

  - health: SwarmHealthMetrics

  #### Returns string

  Implementation of IDashboardRenderer.renderHealth

  - Defined in packages/nexus-agents/src/observability/dashboard-renderer.ts:255

### renderAgents

- renderAgents(agents: AgentStatus[]): string

  Render the agent status table.

  #### Parameters

  - agents: AgentStatus[]

  #### Returns string

  Implementation of IDashboardRenderer.renderAgents

  - Defined in packages/nexus-agents/src/observability/dashboard-renderer.ts:259

### renderGraph

- renderGraph(graph: GraphSummary): string

  Render the interaction graph.

  #### Parameters

  - graph: GraphSummary

  #### Returns string

  Implementation of IDashboardRenderer.renderGraph

  - Defined in packages/nexus-agents/src/observability/dashboard-renderer.ts:263

### renderActivity

- renderActivity(activity: ActivityItem[]): string

  Render the activity feed.

  #### Parameters

  - activity: ActivityItem[]

  #### Returns string

  Implementation of IDashboardRenderer.renderActivity

  - Defined in packages/nexus-agents/src/observability/dashboard-renderer.ts:267

### renderBottlenecks

- renderBottlenecks(bottlenecks: BottleneckInfo[]): string

  Render bottleneck warnings.

  #### Parameters

  - bottlenecks: BottleneckInfo[]

  #### Returns string

  Implementation of IDashboardRenderer.renderBottlenecks

  - Defined in packages/nexus-agents/src/observability/dashboard-renderer.ts:271

### renderClusters

- renderClusters(clusters: AgentCluster[]): string

  Render cluster analysis.

  #### Parameters

  - clusters: AgentCluster[]

  #### Returns string

  Implementation of IDashboardRenderer.renderClusters

  - Defined in packages/nexus-agents/src/observability/dashboard-renderer.ts:275