Table of Contents

Interface LayoutMergeStrategy

Namespace
C4.Net
Assembly
C4.Net.Core.dll

A pluggable strategy that can be used to copy layout information from one version of a view to another.

public interface LayoutMergeStrategy

Methods

CopyLayoutInformation(View, View)

Attempts to copy the visual layout information (e.g. x,y coordinates) of elements and relationships from the specified source view into the specified destination view.

void CopyLayoutInformation(View viewWithLayoutInformation, View viewWithoutLayoutInformation)

Parameters

viewWithLayoutInformation View

the source view (e.g. the version stored by the Structurizr service)

viewWithoutLayoutInformation View

the destination View (e.g. the new version, created locally with code)