LooT Manuals
Deutsch

Editing nodes

Create, rename, move, link, clone and delete nodes, and change their properties.

Basic rules#

Nodes form a tree of names, for example Brewery/Plant.Line1.Temperature. Every node can hold a value of its own (a time series) and have children at the same time. For names:

  • A name is unique among its siblings, ignoring case ("Shower" and "shower" are the same name).
  • It contains neither . (the separator in the path) nor / (which separates the tenant from the path) and is at most 200 characters long.
  • Every node has exactly one place in the tree. If it appears in several places, that happens through links (see below).

To edit you need the Manage permission on the node (to create, on the parent node; at the top level, on the tenant). Without it the menu entries stay visible but are greyed out, and the tooltip names the missing permission. More on permissions in Permissions.

Most commands are available from the context menu of an entry in the Explorer (right click, menu key, or the ⋮ button at the end of the row) or in the Object Browser; many have a key:

ActionMenuKey
Create a child nodeNew › Child node …Ins
RenameRenameF2
Cut, copy, pasteCut, Copy, PasteCtrl+X, Ctrl+C, Ctrl+V
Paste as linkPaste linkCtrl+Shift+V
DeleteDelete …Del

Creating a node#

  1. Open the context menu on the parent node (or on the tenant for a top-level node) and choose New › Child node …. In the editor a double click on empty canvas creates a top-level node, and a double click inside a box creates a child of that node.
  2. In the dialog give at least the name and choose the value type. The other fields have sensible defaults (see the next section).
  3. Create makes the node. If the name is taken, the dialog suggests a free one.

New also contains Link … (see below), From template … (see Templates) and, under a compound node, Field … (see Compound and stream nodes).

Node properties#

The same fields appear in the creation dialog and on the Properties tab of the Properties panel (rail, or Ctrl+Alt+B). In the panel, Save applies the changes and Reset discards them. Unsaved changes are kept when you switch to another node; the panel holds them as a draft to save or discard.

FieldMeaning
NameThe name in the tree, see the basic rules.
DescriptionFree text, shown in the header of the node page.
UnitThe unit of the values, such as °C or kW. Only numbers have a unit; the choice comes from the unit catalog.
Value typeWhat the node stores: Int, Long, Float, Double, Bool, String, Geo, Custom (files), Compound or Stream. "(no time series)" makes the node a pure grouping node.
DirectionIn, Out, In/Out or none (internal): whether the value takes in data, hands it out, or both. A parent node can restrict the direction of its children's values toward the outside, but not extend it.
Duplicate ruleWhat happens when two values have the same timestamp: First wins (First Serve) keeps the one stored first, Last wins (Last Serve) overwrites it.
Data volumeNormal or Very high volume (over 100,000 values per day); with very high volume LooT designs storage and display for large throughput.
Real-timeOnly for suitable nodes: values go to display and data flow immediately, before they are stored.
RetentionThe retention class that decides how long values are kept (default: unlimited). See Retention.
AliasesFurther names of the node, such as "GF" for "Ground floor". An alias counts as a path segment wherever paths are resolved (command line, links, text editor, ingest) and finds the node in search. It is unique within the tenant and must not equal a sibling or link name.
TagsFree keywords for classification. The Explorer filters with Filter by tag under the search bar to nodes carrying all chosen tags. While you type, LooT suggests tags of the nodes you can read.

Two fields can be changed only within limits:

  • Value type: only while the node has no values yet. Switching from or to Compound also requires no child nodes; switching from or to Stream requires no child nodes and no sessions.
  • Unit: without values you may pick any unit of the catalog, (none) or Other … (free text). With values only units of the same quantity are offered (°C to K, °F or °R); LooT then converts all existing values in the background. This is not possible if the value is not numeric or if the conversion would have to round Int or Long values (m to mm works, °C to °F does not). During the conversion, unit, value type and retention are locked, and the node's values cannot be queried; devices writing meanwhile receive rejections and must retry. If the node had no unit yet, existing values receive the new one only as a label.

Renaming#

Select the node and press F2; the name becomes editable in the row. Alternatively use Rename in the context menu. Enter accepts the name, Esc cancels. Values, permissions and connections are kept, because they hang on the node id, not on the name. Paths that contain the old name (in scripts or commands, for instance) you must adjust yourself. Links can be renamed the same way.

Renaming in the Explorer
The name of an entry is edited in its row

Moving#

  • Drag: drag the entry onto the new parent node. Possible targets are highlighted, forbidden ones are marked. Over a collapsed node, it expands after a short dwell.
  • Cut and paste: Ctrl+X on the node, Ctrl+V on the target.
  • Menu: Move … opens a target picker. If you drag with the right mouse button (on a touchpad with Alt), a menu appears on release with Move here, Copy here …, Create link here and Cancel.

The move happens at once; a note lets you undo it for a few seconds. You need Manage on the previous and the new parent node. Not allowed are the node's own subtree as a target, a link as a target and a target in another tenant. The tenant itself cannot be moved. Nothing can be dragged between Nodes and Templates.

A link is a named reference to another node of the same tenant. Through links a node can appear in several places of the tree without existing twice. A link grants no permissions: whoever opens it needs permissions on the target.

  • Create: New › Link … opens the picker Create link ("choose the node the link points to"). The link's name is optional; empty, it takes the name of the target. Faster: Ctrl+C on the target and Ctrl+Shift+V (Paste link), or Create link here when dragging with the right mouse button. You need Read on the target and Manage on the node that takes the link.
  • Jump: Go to target opens the link's target.
  • Move, rename, copy: these work as for nodes; a link keeps its id. Copying creates a further link to the same target, not a clone.
  • Delete: the link disappears, the target stays. Conversely, when the target is deleted, all links to it are removed too.

In the text editor you write a link as Name: @reference Tenant/Root.Child.

Cloning and copying#

A clone is an independent copy of a node with its subtree under a new name.

  1. Copy the node (Ctrl+C) and paste it onto the target (Ctrl+V). Alternatives: Copy to … in the context menu, or Ctrl + drag onto the target. The target is a node or the tenant.
  2. The dialog asks for the name of the copy (default: "Name (copy)") and shows the target. The checkbox Copy commands too takes along the command definitions, their visibility and the command connections inside the subtree; they then trigger on your behalf.
  3. Copy starts the clone.
The clone dialog
The dialog for name, target and commands of the copy

Copied are the subtree with names, descriptions, value types, directions, units, retention classes and exposed values, plus links and connections inside the subtree (redirected to the copies) and the position of the boxes in the editor. Links to the outside keep pointing at the same targets. Not copied are values, permission entries (the copy inherits from its new parent), file contents, connections to the outside, and aliases and tags.

You need Read on the original and Manage on the target. If the subtree contains nodes you may not read because of a deny entry, LooT refuses to clone. The target must be neither inside the node's own subtree nor in another tenant; if the name is already taken at the target, LooT reports an error. By default a clone may contain at most 10,000 nodes.

Cloning in the background#

LooT clones small subtrees (by default up to 2,000 nodes) at once. Larger ones run as a background job:

  • The root of the copy appears in the tree at once, in the Object Browser and on its node page, marked "being copied … 40 %". Until the end it is read-only with its content for everyone; a tooltip gives the reason. It cannot be cloned again.
  • A notice bar shows the progress ("… is being copied (from …): 1,200 of 5,000 elements (24 %)"). Cancel stops the job and removes the partial copy. At the end the tree reloads and the bar reports the result, including command connections that were not copied because you lack the Execute permission on the copy.
  • A failed step is repeated; after several failures in a row LooT gives up and removes the partial copy.
  • Changes to the original during cloning end up in the copy as long as that part was not yet copied; the copy is therefore not a snapshot.

You, the tenant admins and the system admins can see running jobs; finished ones remain retrievable for a few days. On the command line there are loot node clone and loot copy (see command line).

Deleting#

  1. Select the entry and press Del, or choose Delete …. If you have marked several entries, the command deletes them all at once.
  2. The dialog names the number of affected elements. If the node has children, LooT refuses to delete until you tick Delete with all content (recursive, including all time series values).
  3. Delete carries it out.

Deleted are the node, its subtree, all time series values and all links that point to deleted nodes. This cannot be undone. A link, by contrast, is deleted without counting and leaves its target untouched. The fields of a compound node belong to it and disappear with it; a single field that holds values cannot be deleted. With a multi-selection LooT deletes what is allowed and reports "x of y entries deleted; not deleted: …" with the reasons.

Deleting in the background#

The server deletes large subtrees in the background. The node vanishes from the view at once, and a notice bar shows the progress ("… is being deleted: 300 of 5,000 nodes, 40,000 values removed"). A multi-selection runs as one shared job. Closing the notice does not stop anything.

Changes as text#

In the text editor you change whole subtrees in one go: create nodes, set properties, assign aliases and tags, enter permissions, and rename nodes through @action (rename: New name) or delete them (remove: true, without confirmation). Open it with Open › Open as text or with the Text button of the node page. Save first checks the whole text and changes nothing while it contains errors; after that it runs in the order of the text. On a server error LooT stops at the affected line; what was created up to then stays. A missing entry resets nothing: to set a property back to its default, write the default explicitly. The help beside the text (F1) shows what is allowed at the cursor. Description and an example are on The node page.

Next steps#

A product of Rheinwert Datentechnik · rheinwert.deVersion: LooT 0.9.10