Graphical options
Overview
Brainboard graphical elements within the design area help you control the visual of some aspects of the interface or display useful information.
There are four groups of graphical options:
Options bar: It contains options that allow you to control the graphical options that are not related to a node, like the grid, the zoom, etc.
Templates button: It opens the templates catalog, where you can see the available cloud architecture templates and use them.
Nodes number: Shows either the number of nodes that are selected or present in the design area when no node is selected.
Groups: This button allows you to list & update all nodes' groups / Terraform files.
1. Options bar

Select/Grab Mode
Using this option you can switch between select and grab modes.
Select mode (arrow icon) allows you to select resources and interact with them
Grab mode (hand icon) allows you to move the canvas.
Zoom in
It zooms in on the design area using its center as the zoom point.
β You can also use the CTRL + mouse scroll to zoom in the canvas.
Fit content
It centralizes the resources present in the design area in the middle, where all nodes are visible.
Zoom out
It zooms out the design area using its center as the zoom point.
β You can also use the CTRL + mouse scroll to zoom out the canvas.
Undo
Reverses the changes.
Redo
Restores the changes.
Sync information
This button opens the window that shows you architectures that are synced with the currently opened architecture design.

Export architecture
A. Using this option, you can either download your diagram as
a PNG, SVG or PDF file.
You can also include the background grid in the download or set a transparent background.
B. Or, you can also export your file in Brainboard format(JSON).
β You can share the JSON file with someone else or restore it in a different organization, it will create the architecture exactly as it is with its Terraform code, variables, output and ReadMe file.
Version history
Show architecture versions. Refer to the versioning page for more details about how to list versions and how to restore a specific one.
Grid view options
Available options for grid view are: Dots, Lines, and Hide.
Node view options
You can configure the node design using the options available in this drop-down menu. You can enable/disable the following for the nodes in your design.
Show titles
Show connectors
Show connector labels
Animate connector line
Animate connector circles
β These settings apply to all the nodes of the currently opened architecture diagram.

Readme
This opens the README of the architecture, where you can update its content.
β This file will be included in the list of the files to push to git when you perform a pull request.

Universal Undo/Redo
Brainboard uses the backend as a store for undo and redo actions, which means, even if you reload your page, close & reopen the browser or even connect from a different computer, you can undo & redo your actions.
2. Templates button
It allows you to open the templates catalog window, where you can see the public and private templates.

Refer to the template catalog page for detailed information about how to use it.
3. Number of nodes
This button is located in the bottom-left corner of the architecture, and it shows the number of nodes in the architecture.

Selected nodes
When you select more than one node at a time, for example, when you select multiple nodes to group them, then the total number of currently selected nodes is displayed instead of all the nodes available in your architecture design.
For instance, two nodes are selected in the screenshot shared below.

4. Groups
You can group nodes, and they will also be moved to the same Terraform file.
The hamburger-icon button located in the bottom-right corner of the design area displays all the groups you have in the currently opened architecture design

Show resources: This will select and highlight all the nodes of the group in the design area. Then, you can apply bulk formatting to all the nodes of the selected group. For example, the two grouped nodes, the
even_handlerand theDead Letter Queuein the screenshot shared below have a green border of the same width.

Delete the group: Clicking this will delete the group and put all its resources in the main file (main.tf).
βThis action doesn't delete the resources.
By default, all the nodes are listed/grouped in the main Terraform file, and this file cannot be deleted.
How to group nodes?
To group any nodes, follow these simple steps:
Use the drag and select (box select) method, i.e., click and hold the left mouse button in an empty area near the first node, then drag a rectangle over the node(s) that you want to group with the first node.
Then, right-click over the selected nodes area, and click the
Move to fileoption in the context menu.On the
Edit terraform file namepopup modal, give a reasonable name to your group, and clickSave.

Once a group is created, it is listed among other groups in the file and can be accessed using the group button (the hamburger icon) available in the bottom right corner of your Brainboard canvas.
Last updated