Package com.structurizr.view
Interface LayoutMergeStrategy
- All Known Implementing Classes:
DefaultLayoutMergeStrategy
public interface LayoutMergeStrategy
A pluggable strategy that can be used to copy layout information from one version of a view to another.
-
Method Summary
Modifier and Type Method Description void
copyLayoutInformation(View sourceView, View destinationView)
Attempts to copy the visual layout information (e.g.
-
Method Details
-
copyLayoutInformation
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.- Parameters:
sourceView
- the source view (e.g. the version stored by the Structurizr service)destinationView
- the destination View (e.g. the new version, created locally with code)
-