Table of Contents

Class SvgWorkspaceRenderer

Namespace
C4.Net.Renderer
Assembly
C4.Net.Renderer.dll

Renders the views in a workspace as standalone SVG documents.

public sealed class SvgWorkspaceRenderer
Inheritance
SvgWorkspaceRenderer
Inherited Members

Methods

Render(Workspace)

Renders each supported view in a workspace as a standalone SVG document.

public IReadOnlyDictionary<string, string> Render(Workspace workspace)

Parameters

workspace Workspace

The workspace whose views should be rendered.

Returns

IReadOnlyDictionary<string, string>

A dictionary of SVG documents keyed by view key.

Render(Workspace, Workspace)

Copies reusable layout from a predecessor workspace into the updated workspace, then renders its views as standalone SVG documents.

public IReadOnlyDictionary<string, string> Render(Workspace workspace, Workspace predecessor)

Parameters

workspace Workspace

The updated workspace to render and mutate with matching predecessor layout.

predecessor Workspace

The read-only workspace that supplies saved layout information.

Returns

IReadOnlyDictionary<string, string>

A dictionary of SVG documents keyed by view key.