Element settings
Every element has a settings panel. Click a block on the canvas and the panel opens on the right. This page goes through it field by field.
Which fields an element has
The four kinds of element share most fields. A few belong to one kind only.
| Field | System | Container | Component | Code |
|---|---|---|---|---|
| Name, Description | ✓ | ✓ | ✓ | ✓ |
| Technology | ✓ | ✓ | ✓ | as Language |
| Links | ✓ | ✓ | ✓ | ✓ |
| Ownership | ✓ | ✓ | ✓ | |
| Domain | ✓ | ✓ | ||
| Design system | front ends | |||
| Design | UI elements | |||
| Code type, Code | ✓ | |||
| Tags, Group | ✓ | ✓ | ✓ | ✓ |
| Env tab | ✓ |
Endpoints, channels and database tables open panels of their own. See API endpoints, Message brokers and queues and Databases and ER schemas.
The panel step by step
1. Name
The name is the large field at the top of the panel. An empty one shows what it expects, for example Container name. Type the name the team uses for this element. A name is required: without it Save stays off.
2. Description
Description sits under the name, above the tabs. It is one short line shown on the block under the name, up to 120 characters; the counter under the field shows how many are used. Say what the element does, not how it is built: "Takes card payments and issues receipts".
If the AI assistant is available to you, the field offers Suggest a description. The suggestion appears under the field: Use it puts it in the field, Discard drops it. See The AI assistant & its allowance.
3. The tabs
Below the description the panel has tabs:
- Details: what the element is built with and how it relates to the rest. Steps 4 to 9.
- Tags & group: how it is labelled and grouped on the diagram. Steps 10 and 11.
- Env: where it is deployed. Containers only. Step 12.
4. Technology
Open Technology and pick from the list, or type to search it. The list holds technologies that suit the element's level. You can pick up to five; the counter under the field shows how many are chosen. The first one gives the block its icon, and the block lists the technology under its name. Remove one with the cross on its chip.
For a code element this field is called Language and sits next to Code type. The language also sets the syntax highlighting of the Code field.
5. Links
Links collects the places worth reaching from this element: the repository, runbooks, dashboards. The row shows the labels of the links, or "No links".
- Click the row. The Links dialog opens.
- Press Add link.
- Choose the Kind: Repository, Documentation, Observability or Web page.
- Fill in Label, the text shown on the row. It is required.
- Fill in URL, for example
https://git.example.com/shop/payments-api. Text that is not a link is refused. - Add more links the same way, then press Save in the dialog.
The cross at the end of the row removes all links at once.
6. Ownership
Ownership says whether your team owns the element: Internal or External. Choose External for systems and services run by somebody else, such as a payment provider or another team's service. External elements are drawn dimmed on the diagram.
7. Domain
Domain puts a system or a container in one of the project's domains. Pick a domain, or No domain to take it out. The field appears only when the project has domains at this level. Domains are created under Instruments → Domains in the bar at the top left, and the Domain map shows how they connect.
8. Design system (front-end containers)
A container that is a front end, by its technology or by the UI components inside it, gets a Design system field. Type the name of the design system it is built in, or pick one already used in the project. Everything inside the container inherits it. Two front ends in one project can use different design systems.
9. Design (UI components)
A component that is a UI element gets a Design row. It holds a reference to the design and the states that have to be built; the picture itself stays in your design tool. Click the row to open its editor. Until something is attached the row says "No design attached".
The design fields are offered to signed-in users only.
10. Tags
Open the Tags & group tab. In Tags, type a tag and press Enter, or pick one already used in the model. An element can have up to three tags of up to 32 characters. A new tag becomes available on every other element. Tags are how you filter the diagram from the Tags rail.
11. Group
Group takes one name. Elements on the same diagram with the same group name are drawn inside a shared boundary. Type a new name or pick an existing one; the cross clears it.
12. Env (containers only)
The Env tab lists where the container runs: each placement in a deployment environment with its path, for example Production / eu-central / k8s, and the number of replicas. Click a placement to open it. With no placements the tab says "Not placed in any environment yet."; placements are made in Instruments → Deployment (see Deployment).
13. Save or cancel
Save writes the changes to the model and closes the panel. It stays off until something has changed and the name is filled in. Enter also saves, except in the description and while a list is open. Cancel, Escape or the cross close the panel; if there are unsaved changes, Viaduct asks first.
The line above the buttons shows who last changed the element and when.
Code elements
A code element's Details tab holds three fields of its own:
- Code type: Class, Function, Interface, Variable or Other.
- Language: the language it is written in (step 4).
- Code: an editor for the code itself, highlighted for the chosen language.
Read-only access
If a project is shared with you for viewing, the panel opens with its fields locked and a Close button in place of Save. The tabs still switch, so you can read everything.