You can specify a layout for the architecture view in gravis and
use this layout when inspecting the architecture check results.
Note
If you model the architecture in gravis, use an architecture project instead
(see Architecture Projects). It stores the
layout of the architecture view in the project directory under version control and
installs it when the project is opened, so the steps below are not needed.
Run your architecture_check once, for example, by running the analysis in CI.
While the analysis is running, define a directory where the layouts will
be stored. This directory should be distributed to all developers who need
to open the architecture check results or work on the architecture
model. For example, choose a subdirectory of the project
configuration and store it in the VCS.
Define a method for all developers to set the config option
/Tools/Gravis/layout_directory to this directory:
Configure this directory in each developer’s User Profile in
$HOME/.bauhaus,
or configure this directory in a configuration layer, either
in the project configuration or in a company- or department-wide
configuration layer.
Download the resulting RFG from the WebUI. Please note that the filename of
this RFG is used to identify the layout directory. If the filename is
changed, the layout lookup will fail.
Open gravis with the layout_directory option configured to the
specified directory and load the RFG.
Open the Architecture view.
If available, load a layout file that was stored when the initial
layout was created (right-click on the background, choose Layoutstorage → Importlayout...). Alternatively, expand and rearrange the nodes
to define the desired standard layout.
Right-click on the background to open the context menu, then choose
Layoutstorage → Createnewlayout... to store the layout in the defined folder.
Check in and update the layout in your VCS.
Once the RFG is downloaded and the layout_directory is correctly set, the
Architecture view will be displayed with this layout. If you run the
architecture check from gravis, the result view will also be
displayed with this layout.