/

Labels

Overview

DfConnectionLabel adds textual or templated annotations to connections. A label is defined by the content that can be a string, template or component and an optional context passed to it.

Creation scenarios

  • Connection level – specify the label property for a particular item in the connections array of the data model.
  • Connector level – provide connectionLabel to a connector (for example, df-output ) so every created connection inherits it.
  • Node level – define data.connectionLabel for a node to apply the same label to all of its output connectors.

Example