Settings¶
File › Settings… holds what you set for yourself, kept on this machine. What the installation sets, in its deployment configuration file, is shown and not offered for change.
The dialog¶
File › Settings… (modules, defaults) opens Settings: Kept on this machine, and applied at once. What the deployment sets is shown, not offered for change. It has a tab for each part:
| Tab | Shown |
|---|---|
| Metamodels | always |
| Validation | always |
| You | always |
| Git storage | while Git storage is on |
| Modules | when there is a module to switch |
Apply applies every tab at once; Cancel, or Esc, changes nothing. Up and Down move
through the tabs. A field with a problem opens its tab, marked, and Apply waits until it is put right.
Metamodels › Choose which to show… opens the dialog at its Metamodels tab, and the Validation tab's
Advice… and … shapes switched off at its Validation tab. The settings are kept in
this browser's localStorage (in the desktop app, on the computer), not in the model.
- Choose File › Settings….
- Click Git storage, change a field, and choose Apply.
Metamodels tab¶
Which metamodels the Metamodels menu offers. The tab has a checkbox for each catalogue entry, grouped as the menu groups them, Core, Modelling languages, Frameworks and Extensions, each group with All and None. At first, ticked are the fourteen la-gram offers — ArchiMate 4.0 and 3.2, C4 Model, EDGY 23, UML 2.5.1, ADMIT, ATAM, DoDAF 2.02, EA on a Page, TOGAF, UAF 1.2, Architecture Decisions, Architecture Processes and Reference Architecture — or those the installation offers (configuration). Ticked, an entry is in the menu; unticked, it is left out: a metamodel that is loaded is listed there anyway, and Load by IRI… reaches any. What is kept is what you changed — the entries you added and those you took away — so an entry you left as it was follows the installation's choice, and one the catalogue gains later is hidden until you tick it.
- Choose Metamodels › Choose which to show….
- Under Modelling languages, tick BPMN 2.0.2, and Apply. The menu offers BPMN.
- Under Extensions, choose None, and Apply. The menu has no Extensions section, and Choose which to show… says how many are hidden.
Validation tab¶
The advice validation gives — the shapes that report Warnings or Infos — by document. The tab lists each loaded shapes document that gives advice, by its title, with All and None, and under it its shapes, one to a row:
| In a row | Shows |
|---|---|
| the checkbox | the shape's name and severity: Single Point of Failure (Info) |
| under it | what it checks, its definition, when it has one |
| in quotes | what its findings say, their values left as …: “Service … is provided by only one technology element (…).” |
| the link | its IRI, which opens its page in the metamodel's documentation |
Every one is ticked at first. Unticked, a shape is left out of validation, and the Validation tab says how many are: 1 shape switched off. None leaves out its document whole, and so the advice it gains later. A finding's Switch off… opens the tab at its shape's row, scrolled to and marked.
Filter by name, message or IRI, over the list, keeps the shapes that hold every word typed — in their name, what they check, what their findings say or their IRI — and the documents they are in: single point leaves Single Point of Failure (Info). All and None then act on the shapes shown. Enter in it filters, and does not apply.
A shape that reports Violations is a rule, such as a relationship the tables forbid, and is not listed: rules always run. What is left out is kept in this browser: la-gram-git, another browser and other tools check everything.
- Choose File › Settings…, then Validation, or Advice… in the Validation tab.
- Type single point in the filter: Single Point of Failure (Info), and what its findings say. Untick it, and Apply.
You tab¶
Recorded with your edits, in the model you save — who changed a concept, and when — and as the author of your commits and checkpoints. Kept on this machine. Without a name, your Git account's is recorded, else your collaboration name in a shared room. What la-gram records is in Last changed.
| Field | Value | Default |
|---|---|---|
| Name | as others should see it, written into the model as the user's schema:name, and the author of your commits and checkpoints: Ada Lovelace |
empty: your Git account's name, else your collaboration name in a shared room, else nobody but la-gram |
optional, written into the model with the name (schema:email) and the author's address of your commits; one address is one user, whatever its case |
empty | |
| Git account | read-only, to copy: the account your token acts for on the open model's Git host, its username and page, ada · https://gitlab.com/ada; la-gram reads it from GitLab or GitHub when you open or save a model there with a token (Git storage). Model settings shows it too, beside the model's address in Git |
None yet |
| Record my Git account with my edits | the account's page and username written into the model with your name: one person is then one user in every model, on every machine | ticked |
A change applies to the next edit after the model is opened or saved. An email that is not an address is refused: The email address is not one.
- Choose File › Settings…, and You.
- Type
Ada Lovelacein Name, and choose Apply. - Rename an element: its Last changed says by Ada Lovelace.
Modules tab¶
Parts of la-gram that can be switched off. Off, a module shows nothing, loads nothing and talks to no one. Each module has its checkbox:
| Checkbox | Default | Does |
|---|---|---|
| Git storage — open a model from a GitHub or GitLab repository, and save it there as a commit | on, or what the deployment says | switches Git storage on or off, at once and at the next start |
| Suggested properties — “Suggested for ‹type›” under the Properties tab: what the type declares and what others of its type have, not filled in yet | off, or what the deployment says | shows or hides Suggested for ‹type›; off, nothing is suggested when a concept is selected |
A deployment can set a module on or off (until you switch it here) or unavailable (not offered).
?git=off or ?suggestions=off in the address switches that module off for the session only, and a build can
leave Git storage out.
- Choose File › Settings…, and Modules.
- Untick the Git storage box, and choose Apply. la-gram says "Git storage is off.", and the File menu has no Git entries.
https://app.linked.archi/la-gram/?git=off
Git storage tab¶
Defaults for new files, regular remote checks and tokens. Empty: the default the hint names. Each field's hint says what an empty one means.
| Field | Values | Empty means |
|---|---|---|
| Git hosts allowed | read only, shown when the deployment lists hosts: each with its kind | — |
| Default repository | an https:// link to a repository |
the deployment's, else the last one used |
| Default branch | a branch name | the deployment's, else the repository's default |
| Folder for new files | a folder in the repository, models or arch/models; . for its top |
the deployment's, else models |
| Commit message | a template: {action} (Add, Update), {model}, {path}, {branch} |
{action} {model} |
| New branch names start with | text | la-gram/ |
| Check for remote changes | Off, Every 1 minute, Every 2 minutes, Every 5 minutes, Every 10 minutes | Off; for example, Every 2 minutes checks the bound file while the app is visible and online |
| Pull automatically when unchanged locally | Off, On | Off; with regular checks enabled, incorporates incoming versions only while there are no local Git changes |
| Destination | read only: the model IRI, host, repository, branch and file for auto-commit | open or save a model from Git first |
| Auto-commit | Off, After idle, At interval | Off for each model and destination; for example, After idle saves after you stop editing |
| Idle time | 1 minute, 2 minutes, 5 minutes, 10 minutes | 2 minutes; applies to After idle |
| Commit interval | 5 minutes, 10 minutes, 15 minutes, 30 minutes | 10 minutes; applies to At interval, and skips unchanged content |
| Remember tokens | read only, when the deployment says never: Never: a token is kept for the session only |
— |
| Offer to remember a new token, ticked | a checkbox: whether the access token dialog's Remember starts ticked | off in the web app, on in the desktop app |
| Forget the token for a host | a checkbox for each host with a token kept: ticked, Apply forgets it, in memory and remembered | — |
| Forget the host kinds learned | a checkbox, with the hosts la-gram has learned to be GitHub or GitLab: ticked, Apply forgets them | — |
Apply checks the fields first, and a problem opens the tab: a repository link it cannot read (or on a
host the deployment does not allow), a branch name Git would refuse, a folder that starts with / or has
. or .. in it, and a prefix a branch name cannot start with (New branch names cannot start with
“…”.).
- Choose File › Settings…, and Git storage.
- In Default branch, type
main; in Folder for new files,architecture/models; and in Commit message,{action} {model} on {branch}. - Choose Apply. The next Save to Git… proposes
architecture/models/acme-online-shop.trig, and the message "Add Acme online shop on main".
The synchronization options apply to the open bound model, outside shared rooms. Checks and automatic pull never commit; Auto-commit needs a separate opt-in for the named destination. The Git tab shows results and pause reasons; its Git settings… button opens this settings tab. See Git status and regular checks for timing, multiple tabs and private access, and Optional auto-commit for examples and persistent pause/resume behaviour.
What a deployment sets shows here as it is. With this deployment configuration, Git hosts allowed
lists the two hosts, Remember tokens says Never, and Folder for new files is architecture/models
when empty:
{
"git": {
"hosts": [
{ "host": "github.com", "kind": "github" },
{ "host": "git.example.com", "kind": "gitlab" }
],
"rememberTokens": "never",
"defaults": { "folder": "architecture/models" }
}
}