Tag diagram

Description

The tag diagram is designed to 'burrow down' into components to reveal elements with specific tags. Our usage usually use tags to represent different 'disciplines' in a system, e.g. software, mechanical, electronics. We find this helpful for getting a low-level view of a system relevant for small teams.

Definition

A tag diagram shows the context of the specified element, with respect to a particular scope element.

The view contains:

  1. Main elements of interest
  2. Relevant associated elements.

Main elements of interest

The main elements of interest are the 'oldest' descendents of the scoping element that have the specified tag. Or, if the scoping element has no children, the scoping element itself.

Relevant associated elements

A relevant associated element is one that is associated to one of the main elements of interest, where either:

  • Its got any tag and hasn't got a tagged ancestor
  • It has no children, and hasn't got a tagged ancestor

Example: entire system

The simplest 'context' is one with the scope of the entire system. All the 'top level' elements have been added (children of the world scope!).

arch cluster_0xc0004c6450 sound-system cluster_0xc0004c68a0 amplifier cluster_0xc0004c6510 speaker 0xc0004c69c0 electronic ac-dc converter 0xc0004c6ae0 electronic mechanical power button 0xc0004c6ae0->0xc0004c69c0 0xc0004c6600 connector 0xc0004c65d0 electronic mechanical driver 0xc0004c6600->0xc0004c65d0 0xc0004c6570 mechanical enclosure 0xc0004c65d0->0xc0004c6570 0xc0004c6420 user 0xc0004c65d0->0xc0004c6420 sound 0xc0004c6420->0xc0004c6ae0 press

Example: sub-item

If we change the scope to a sub-item, in this case sound-system, we see that it is opened up and it's two children, amplifier and speaker are revealed.

The only connections that are shown are those that connect directly to these children.

arch cluster_0xc0004fc8a0 sound-system cluster_0xc0004fc0f0 amplifier 0xc0004fc210 electronic ac-dc converter 0xc0004fc330 electronic mechanical power button 0xc0004fc330->0xc0004fc210 0xc0004fc870 user 0xc0004fc870->0xc0004fc330 press