User guide¶
The workbench, part by part. This page is the tour: the layout, the toolbar, la-gram's own menu and its messages. The pages after it each take one part.
Panels¶
| Where | What | Page |
|---|---|---|
| Top | the toolbar: la-gram's menu, the model's name, File, Metamodels, undo and redo, back and forward, the view, its viewpoint and presentation, the panel toggles, Share | this one |
| Left | the model tree, with About ‹type› under it | Model tree, Palette and About ‹type› |
| Middle | the open view: a diagram with the canvas toolbar above it, or a catalog or matrix | Canvas, Catalog and matrix |
| Right | the palette; the RDF panel when it is open | Palette, RDF panel |
| Bottom | the tabs: Properties, Validation, SPARQL Query, Graph, History | below |
Three toggles at the right of the toolbar show and hide the side panels:
| Toggle | Panel | At the start |
|---|---|---|
| ☰ Model | the model tree, on the left | shown |
| ▦ Palette | the palette, on the right | shown |
| { } RDF | the RDF panel, on the right | hidden (shown with ?rdf=1) |
Each toggle is pressed while its panel shows. Whether a panel is shown is not remembered: la-gram starts as in the table.
- Click { } RDF in the toolbar: the RDF panel opens beside the palette.
- Click ▦ Palette: the palette hides, and the canvas takes its room.
- Click both again to put them back as they were.
Bottom tabs¶
Under the canvas, five tabs: Properties, Validation (with the number of violations on it), SPARQL Query, Graph and History. A module adds its own: Git storage adds Conflicts while a merge has any left to choose. The tab open last is open again next time.
- Select an element on the canvas.
- Click Graph: its relationships are drawn around it.
- Click Properties to go back to its properties.
Resizing¶
Every panel resizes by its inner edge: the model tree by its right edge, the palette and the RDF panel by their left edge, the bottom panel by its top edge, and About ‹type› by its top edge, under the tree. The canvas always keeps at least 240 × 160 px. Sizes are remembered in this browser.
- Point at the edge between the model tree and the canvas; the pointer changes.
- Drag it right to widen the tree.
Folding and maximizing¶
| To | Do |
|---|---|
| fold the bottom panel to its tabs | click the open tab, or the ▾ at the right of the tabs (Fold the panel) |
| unfold it | click any tab |
| maximize it over the workspace | ⤢, or double-click the empty part of the tab strip |
| restore it | ⤡, Esc, or double-click the tab strip again |
The RDF panel maximizes and restores from its own header the same way. Folding is remembered; a maximized panel is not.
- Click Properties while it is open: the panel folds to its tabs.
- Click it again: it unfolds.
- Double-click the empty part of the tab strip: the panel fills the workspace. Press Esc to restore it.
The la-gram menu¶
The icon and name at the top left, la-gram ▾, open la-gram's menu. Its pages open in a new tab (in the desktop app, in your web browser).
| Part | Entries |
|---|---|
| la-gram | About la-gram, Keyboard shortcuts |
| Guides | la-gram documentation, Linked.Archi documentation, Quick start, Modelling guide, ArchiMate 4.0 primer, Names, labels and pictures per audience, Metamodel catalogue |
| la-gram's pages | Download the desktop app… (a dialog), la-gram: what it does (README), Source code, Report a problem or an idea (the issue tracker; reporting needs a GitHub account) |
la-gram documentation opens these pages, as published on app.linked.archi, wherever la-gram runs — another installation, the desktop app or your own machine: https://app.linked.archi/la-gram/docs/, and from the alpha (https://app.linked.archi/la-gram-alpha/) the alpha's, https://app.linked.archi/la-gram-alpha/docs/. So does the link at the end of Keyboard shortcuts. The other guides are Linked.Archi's, on meta.linked.archi: how to model, and the languages.
Download the desktop app… opens a dialog with a link to each platform's app of the latest release, those for this computer first (on a Mac, For this computer: macOS (Apple silicon), macOS (Intel)), then The first time — how to open an app that is not signed — and links to Opening it, in the documentation, SHA-256 checksums and Every release, on GitHub (Desktop app).
- Click la-gram ▾ at the top left.
- Choose Quick start: Linked.Archi's quick start opens in a new tab.
- Choose Download the desktop app…, then your platform's: the app downloads.
About la-gram¶
About la-gram shows the version (Development build for a build from a checkout), where it runs (Web — Chrome 156, say, or Desktop app — Electron and its version), the metamodels loaded, the snapshot of the bundled metamodels, the licence and the open-source components it is built with. Third-party licences opens the licences of every package built into la-gram, with their texts: in the web app, the copy beside it; in the desktop app, the published web app's, in your browser. Copy version info copies one line of it for a problem report.
- Choose la-gram › About la-gram.
- Choose Copy version info, and paste the line into your report:
la-gram 0.1.0 · Web — Chrome 156 · metamodels: ArchiMate 4.0 Metamodel · bundled metamodels: e4882df07d49
In the desktop app, the menu bar has an About panel of the system's too (Desktop app).
Keyboard shortcuts¶
Keyboard shortcuts lists the keys and mouse gestures by where they work, with ⌘, ⌥ and ⇧ on a Mac and Ctrl, Alt and Shift elsewhere. Every key is in Keyboard and mouse, which the dialog's last line, Keyboard and mouse, in the documentation, opens.
| Keys | Does |
|---|---|
| Ctrl+Z | undo |
| Ctrl+Y or Ctrl+Shift+Z | redo |
| F2 or double-click | rename the selected element or relationship |
| Alt+Left / Alt+Right | the view before, the view after |
| Ctrl+Enter | run the SPARQL query |
| Keys | Does |
|---|---|
| Cmd+Z | undo |
| Cmd+Y or Shift+Cmd+Z | redo |
| F2 or double-click | rename the selected element or relationship |
| Option+Left / Option+Right | the view before, the view after |
| Cmd+Enter | run the SPARQL query |
- Choose la-gram › Keyboard shortcuts.
- Press Esc to close it.
Narrow windows¶
In a narrow window la-gram cuts nothing off: what has no room goes where you can still reach it.
The toolbar¶
The toolbar holds everything from 1100 px wide. As it narrows, it makes room in steps:
| Toolbar width | The toolbar |
|---|---|
| 1680 px or less | the View, Viewpoint and Presentation selectors narrow |
| 1500 px or less | the selectors lose their names (View, Viewpoint, Presentation) |
| 1340 px or less | the panel toggles lose their words: ☰, ▦ and { } alone |
| 1150 px or less | the selectors narrow again |
Narrower still, it takes the next step whenever what it shows does not fit. At what width depends on the model's name, the room's, and whether the loaded metamodels have presentations:
| Step | The toolbar |
|---|---|
| 1 | la-gram's menu shows its icon alone, and Share its dot — with who is in the room |
| 2 | Presentation moves into ⋯ |
| 3 | Viewpoint moves into ⋯ |
| 4 | the panel toggles move into ⋯ |
| 5 | ← and →, + (New view) and the split button move into ⋯ |
| 6 | Metamodels moves into ⋯ |
| 7 | the model's name goes; its ● for unsaved changes stays |
la-gram's menu, File, undo and redo, the View selector, ⋯ and Share always stay, and after the last step the View selector narrows to what is left. Widening gives each step back. Each control says what it is when you point at it.
⋯ (More), at the toolbar's right end, lists what the toolbar has no room for, in the toolbar's order: Back to ‹view› and Forward to ‹view›; Metamodels, New view, Split, Viewpoint and Presentation, each a section that opens under its entry, ✓ by the split, the viewpoint and the presentation in force; then Model tree, Palette and RDF panel, ✓ while shown. → or Enter opens a section, ← or Esc closes it, and Esc closes ⋯. A menu opened near the window's right edge opens leftwards, inside the window.
On a laptop screen
At 1280 px wide, the toolbar shows ☰, ▦ and { } without Model, Palette and RDF, and the selectors without their names. Pointing at { } says Show the model as RDF (Turtle) on the right. At 900 px, with ArchiMate 4.0 loaded, Presentation and Viewpoint are in ⋯: choose ⋯, then Viewpoint, then a viewpoint.
Side panels¶
Narrower than 1100 px, the model tree, the palette and the RDF panel lie over the canvas, each against its own edge, instead of beside it, and the canvas keeps the window's width. Narrowing the window to that closes them; ☰, ▦ and { }, or their entries in ⋯, open them over the canvas and close them. Widening the window again shows the panels that were shown before. A panel over the canvas is resized by its inner edge, up to the window's width less 48 px.
- Make the window 1000 px wide: the model tree and the palette close, and the canvas takes the whole width.
- Click ☰: the model tree opens over the canvas's left edge.
- Make the window wide again: the tree and the palette are beside the canvas, as before.
Canvas toolbar and bottom tabs¶
The canvas toolbar keeps to one row, moving the buttons it has no room for into ▾ beside Arrange view… (When it is narrow). The bottom panel's tabs stay on one line each and scroll sideways when they do not fit, ⤢ and ▾ staying at its right end.
Window title¶
The browser tab and the window are titled by the open model: Acme online shop — la-gram, with a • in
front while it has unsaved changes (• Acme online shop — la-gram). Before the app has started, the
title is la-gram — Semantic Modeller for Enterprise and IT Architecture.
Messages¶
What la-gram did, or could not do, it says in a short message at the bottom of the window: an info, warning or error. Info and warning messages go after 4 seconds, errors after 8. Nothing needs to be dismissed.
| Level | For example |
|---|---|
| info | Checkpoint saved, IRI copied, Loaded ArchiMate 3.2 |
| warning | Open a diagram view to export it. |
| error | a deployment configuration that failed its check, with Git storage is off until it is fixed. |
- Right-click an element on the canvas and choose Copy IRI.
- The message IRI copied shows, and goes.